<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-949662979658988031</id><updated>2011-12-18T05:01:34.937+08:00</updated><title type='text'>wilson@IHPC</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Wilson</name><uri>http://www.blogger.com/profile/05829210707886612355</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-7835731194112115856</id><published>2009-02-25T10:08:00.014+08:00</published><updated>2009-02-28T16:58:51.625+08:00</updated><title type='text'>Final Week</title><content type='html'>&lt;span style="font-size:130%;"&gt;23 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I updated the OS for the MacBook Pro which I'm using while working on the presentation slides with the rest on Leonard's iMac. We practically spent the day working on the presentation slides and testing of the applications to work on the MacBook Pro which You Hock is using.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;24 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Didn't go to IHPC today because we have our Major Project presentation. For me, I had to do 2 presentation for my projects - 1 for Lightdraw &amp;amp; 1 for my own project, FlexCam.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;25 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the morning, only Leonard and I were here because Ryan and You Hock were having a presentation in school. So when we arrived, Ming Hong showed us the new lasers he bought. The new lasers are stronger than the older ones, which means that Lightdraw would have a better chance to work on the 3 x 2 tile display. After we tested the new lasers, we modified the presentation slides that we used yesterday so that we could use it to do the presentation to Terence and Kevin.&lt;br /&gt;&lt;br /&gt;After lunch, Ryan and You Hock returned to IHPC and together, we did a presentation for Terrence and Kevin. Besides both of them, there were other IHPC staff who came in and listened to our presentation. We presented to them on what we have worked on for the past 4 months. They gave us their feedback on the applications which we developed and were also pleased with our work. We told Kevin about our plan to test the 3 x 2 tile display after the presentation and he agreed.&lt;br /&gt;&lt;br /&gt;While we were setting up Lighdraw at the 3 x 2 tile display, we were informed that there was a demo going on. So we kept the equipments and returned to our lab. Kevin then asked me to try reformatting the MacBook Pro which I'm using to Mac OS X Leopard. He managed to get a disc image from one of the staff and I researched on how to reformat from external hard disk. Managed to find a &lt;a href="http://forums.macrumors.com/showthread.php?t=608926"&gt;tutorial&lt;/a&gt; and these are the steps that I did:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Restart MacBook Pro&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Hold onto the alt/option key at the grey screen&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;This steps is actually to bring the MacBook Pro to its 'BIOS' mode, so that we could specify the boot device. However, when I did that, it prompted me to input a password. Kevin and I were unsure of the password and tried to find another way on how we could reformat the MacBook Pro.&lt;br /&gt;&lt;br /&gt;Kevin then found another article online, and we tried it. These are the steps that we did according to the article:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Find Disk Utility&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select on the external hard disk and click on the Restore tab&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Drag the Mac OS X installer imager to the source Textbox&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Drag the mounted external hard disk onto the Destination texbox&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Click Restore and wait for the files to be copied&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Go to System Preference and select Startup Disk&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select your external hard disk and click on restart&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;When we restarted the MacBook Pro, everything seemed fine. However, the installation failed after I select the installation language. An error message which popped up displayed this message, "Mac OSX cannot be installed on this computer". Perhaps its because of the MacBook Pro's chipset?&lt;br /&gt;&lt;br /&gt;Kevin was there when we tried to reformat, he asked me to do more research on how to install the OS X Leopard onto the MacBook Pro. So I spent the rest of the day researching on how to install the OS X Leopard onto the MacBook Pro.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;26 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I researched on how to reformat the MacBook Pro and found others with the same problem. Here's a &lt;a href="http://discussions.apple.com/thread.jspa?threadID=1449887%20"&gt;link &lt;/a&gt;on how this person manage to solve this problem. However, the solution isn't really feasible as the person simply purchased a new CD from the store. So I decided to take a break from the research and help out with the testing to make Lightdraw work with the 3x2 tile display.&lt;br /&gt;&lt;br /&gt;We had some problems calibrating as Lightdraw crashes when it tried to calibrate. So we seek help from Ming Hong. He managed to fix the problem and we got it to work. After calibration, we tested the screen with the new lasers which Ming Hong bought and we found new problems with the screen. The surface of the screen is not entirely flat. It is a little slanted on the top and bottom part on the screen. Nonetheless, we still managed to make Lightdraw work on the 3x2 tile display to a certain extend with the new lasers.&lt;br /&gt;&lt;br /&gt;We gave Ming Hong a treat for lunch because he had helped us a lot during our time here as interns. We were not able to treat the rest for lunch because they were busy.&lt;br /&gt;&lt;br /&gt;When done with lunch, we discussed about the poster design for PSRP and Leonard volunteered to design the poster. We had a photo-shoot with the rest of the team for the article we wrote a few weeks back. Once the photo-shoot was done, we had a 1 to 1 feedback session with Kevin and Ming Hong where they asked us for feedback and gave us some advice on how we could improve ourselves.&lt;br /&gt;&lt;br /&gt;After the feedback session, we sent Daryl from Corporate Comms some pictures to be used for the article. We also planned out the new video we want to do for Lightboard, which is to be used for our presentation at the PSRP award. Once the plan had been finalized, I went to look for Cheng Teng to get help with the video shoot for both the 3D visualizer application and LightBoard. However, he was busy and we were unsure on how we should film the 3D visualizer application. So I went to look for Kevin to inform him about the situation. He then told me how the 3D visualizer application is to be video-ed and I went to inform the rest. However, the 3D visualizer application needs to be able to load 3 models for the video. So You Hock worked on getting the 3D visualizer application to load 3 models while the rest of us worked on the PSRP presentation slides.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;27 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the morning, we were trying to do the video shoot for the 3D visualizer application, however, we faced some problems and the video shoot had to be delayed until after lunch.&lt;br /&gt;&lt;br /&gt;For lunch, Kevin gave us a nice treat at a French restaurant where the "seniors' interns" had their last lunch. So it's sort of like a customary thing between Kevin and the interns that worked on Lightdraw. During lunch, we had a great talk about what are our plans after finishing our attachment and other stuff.&lt;br /&gt;&lt;br /&gt;After lunch, Leonard and I did the video shoot for the 3D visualizer application while Ryan helped You Hock to reformat the MacBook Pro. After the video, we wanted to do the video shoot for the Lightboard. However, when we wanted to do the video, we realized that Lightdraw couldn't work on You Hock's "fresh" MacBook Pro as there were some stuff we had to install to get it running. Here are some pictures we took when we were doing the video shoot for the 3D visualizer application:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/Saj8nDQPXbI/AAAAAAAABEw/sR_BOO7Pwgw/s1600-h/n617656172_1578169_2956540.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/Saj8nDQPXbI/AAAAAAAABEw/sR_BOO7Pwgw/s320/n617656172_1578169_2956540.jpg" alt="" id="BLOGGER_PHOTO_ID_5307769908674649522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/Saj8nJk61ZI/AAAAAAAABEo/4tH8sofL5pc/s1600-h/n617656172_1578168_2509531.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/Saj8nJk61ZI/AAAAAAAABEo/4tH8sofL5pc/s320/n617656172_1578168_2509531.jpg" alt="" id="BLOGGER_PHOTO_ID_5307769910371997074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;We also handed in our time sheet for the month of February and returned our Fusionopolis temp pass. In a blink of an eye, 4 months have passed and this marks the end of my internship stint at IHPC. During this short span of 4 months, we had learn loads of stuff, be it technical or interpersonal. I truly enjoyed working here at IHPC for my internship.&lt;br /&gt;&lt;br /&gt;And before I left the building, I received a farewell gift from JTC:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/Saj5ZIkT2OI/AAAAAAAABEg/XFFGgyRpkyc/s1600-h/iPhone+Pictures+001.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/Saj5ZIkT2OI/AAAAAAAABEg/XFFGgyRpkyc/s320/iPhone+Pictures+001.jpg" alt="" id="BLOGGER_PHOTO_ID_5307766371047954658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;How nice of them. =P&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's kind of like a joyful, yet reluctant feeling on our last day of work. Joyful, because our internship is ending and we are going to graduate in a few months time. Reluctant, because we know we would miss the times we had working together at IHPC. Nonetheless, we know that we are different from the first time we stepped into IHPC. All of us had grown wiser and more knowledgeable. We also do understand about our strengths and weakness through the feedback session with Kevin and Ming Hong.&lt;br /&gt;&lt;br /&gt;Thanks to these people, we had truly enjoyed our time here at IHPC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-7835731194112115856?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/7835731194112115856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=7835731194112115856' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/7835731194112115856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/7835731194112115856'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2009/02/final-week.html' title='Final Week'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_c-QPdDtb340/Saj8nDQPXbI/AAAAAAAABEw/sR_BOO7Pwgw/s72-c/n617656172_1578169_2956540.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-8289998368527226315</id><published>2009-02-19T11:07:00.014+08:00</published><updated>2009-02-23T15:22:43.540+08:00</updated><title type='text'>PSRP Week</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;16 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I got to work, I found out that there were some problems with the 3D application - missing linkage between patches. So I went to correct the problems before having a discussion with Kevin on the powerpoint slides for PSRP(Polytechnic Student Research Program). So we worked on the powerpoint slide for then entire day before going over to school to get Dr Eng's views on what we are going to present.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;17 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Told Kevin about Dr Eng's approach to the PSRP presentation, however Kevin feels that we did not do a good job conveying the message properly. So we edit the slides with Kevin's help and we continued to work on our presentation with Kevin's help for the entire day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;18 February 2009&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Didn't go to work today as we had a photo-shoot for our Project Show and presentation for PSRP.&lt;br /&gt;&lt;br /&gt;The presentation didn't really go very well because I felt that we did not do a good job conveying the message clearly. However, Dr Eng said that we might still have a chance of winning because out of the 10 engineering projects, only 2 projects were standing out. So now it has to depends on the judges if our project would be able to win.&lt;br /&gt;&lt;br /&gt;Nonetheless, it was a good experience doing a presentation because of the research element. Normally in school, our presentation were just based on a format. However, in this presentation, we had to describe about our thinking process and how our application could help solve a problem. The toughest part of the presentation was to try to use the simplest term to explain to the judges as they might not have any IT background.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;19 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We went down to Marketplace to get some food while the lab was being vacuumed. After returning to the lab, we did a presentation to Kevin on what we presented at the PSRP. The way we presented was worse than how we presented yesterday. I think I offended Kevin a little by interrupting his conversation with Ming Hong with my random thoughts. After the presentation, I sent him my SIP report for review and apologized to him about my mistake and rudeness before lunch.&lt;br /&gt;&lt;br /&gt;After lunch, I worked on modifying the codes for 'Rotation' because since we are using laser, the 'trackmouse' properties of the patch cannot be used. I wanted to do the rotation like how I did the 'Scaling' function. However, Ming Hong explained to me that rotation and scaling works differently. So did some research on how to do rotation and came across &lt;a href="http://www.geocities.com/SiliconValley/2151/math3d.html"&gt;this website&lt;/a&gt; which teaches me how to calculate the maths for 3D.&lt;br /&gt;&lt;br /&gt;While researching, we received news that our project got selected for the PSRP award. It was a surprise for us as we felt that we did not do very well in terms of presentation. It was a total mood changer. So we broke the news to Kevin and he was happy for us. We'll definitely have to work harder on our presentation skills.&lt;br /&gt;&lt;br /&gt;After breaking the news, I went to look for Ming Hong and asked him whether we could apply the formula to our application. He said that it was unnecessary for the formula because we are just computing the value for x and y rotation. So he explained how he intend to make the model rotate. Helped out with the testing of the application while he was working to compute the new formula. At the end of the day, we managed to make the model rotate. However, the rotation wasn't working as what Ming Hong expected. I guess we could finish the prototype for the 3D application by tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;20 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Leonard and I started working on our presentation for Lightdraw next week. While working on the presentation, I also help out with the testing of the rotate function for the '3D Visualization' application. We went to NUS for lunch because Ryan and You Hock needed to submit their documents for their university application.&lt;br /&gt;&lt;br /&gt;After lunch, we spent the day reformating our computers while You Hock and Ming Hong worked on the '3D Visualization' application. I continued helping them to do testing while waiting for the MacBook Pro to be reformatted. Initially, I had problems trying to reformat because I wasn't able to use the disc provided by Kevin. I asked Kevin about it and he explained to us about the difference in the chipset - 32bit and 64bit.&lt;br /&gt;&lt;br /&gt;It turned out that the MacBook Pro I was using is an older MacBook Pro which runs on a 32bit chipset. So Kevin passed me another disc. This time, it worked. However, after finishing the reformatting process, I found out that I had installed the Tiger OS instead of the Leopard OS because the look of the desktop is different. Here's how my desktop look like after the installation.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_c-QPdDtb340/SaIBpdoqhII/AAAAAAAABEY/ccDJcwFpLt4/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: undefinedpx; height: undefinedpx;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SaIBpdoqhII/AAAAAAAABEY/ccDJcwFpLt4/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5305805122837316738" /&gt;&lt;/a&gt;&lt;br /&gt;I tried to install the Leopard OS with other disc that Kevin passed me. However, the installation failed because there's a problem with the disc. Kevin told me not to worry and he'll try to find me the CD and pass it to me on Monday.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It had been a roller-coaster week for me here at IHPC - rushing to complete applications and presentations. Thankfully, I'm glad that our hardwork had paid off as our project was selected to represent Temasek Polytechnic for the PSRP(Polytechnic Student Research Programme) in 2 years running. We really got to thank Dr. Eng and Kevin for their help.&lt;br /&gt;&lt;br /&gt;Although we had won, we didn't feel really elated because we felt that we did not do well enough during our presentation. As Harold mentioned, "You don't want to just win, you want to win with style.".&lt;br /&gt;&lt;br /&gt;That's the mentality that we all should have - "If we are going to do something, we are going to do our best. If not, I rather we not do it.".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-8289998368527226315?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/8289998368527226315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=8289998368527226315' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/8289998368527226315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/8289998368527226315'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2009/02/psrp-week.html' title='PSRP Week'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_c-QPdDtb340/SaIBpdoqhII/AAAAAAAABEY/ccDJcwFpLt4/s72-c/Picture+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-2009685729826124348</id><published>2009-02-13T00:16:00.009+08:00</published><updated>2009-02-19T09:56:23.817+08:00</updated><title type='text'>Integration of 3D Application</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;9 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I worked on integrating with Leonard's menu patch. Managed to integrate successfully with his part before lunch. However, there were some enhancement to be done. Here are some picture of the integrated 3D application:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SZRL3fu_ioI/AAAAAAAABDI/OdfDgmEj5Qc/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 270px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SZRL3fu_ioI/AAAAAAAABDI/OdfDgmEj5Qc/s320/Picture+2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5301946078105406082" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SZRL3hQEy5I/AAAAAAAABDQ/_p0vDPtx32Q/s1600-h/Picture+3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 270px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SZRL3hQEy5I/AAAAAAAABDQ/_p0vDPtx32Q/s320/Picture+3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5301946078512597906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SZRL3j9eKgI/AAAAAAAABDY/wGST12hkCXg/s1600-h/Picture+4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 271px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SZRL3j9eKgI/AAAAAAAABDY/wGST12hkCXg/s320/Picture+4.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5301946079239875074" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SZRL3--vPHI/AAAAAAAABDg/o5p_l9NOb9U/s1600-h/Picture+5.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 268px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SZRL3--vPHI/AAAAAAAABDg/o5p_l9NOb9U/s320/Picture+5.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5301946086492945522" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, I changed my desktop's wallpaper. &lt;a href="http://www.desktopnexus.com/"&gt;Here's the website&lt;/a&gt; I got my wallpaper from. It checks the computer's resolution and generates the wallpaper image accordingly. Here's how my desktop looks now:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SZRL3axBwoI/AAAAAAAABDA/ZAJ0KP7BtNU/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SZRL3axBwoI/AAAAAAAABDA/ZAJ0KP7BtNU/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5301946076771762818" /&gt;&lt;/a&gt;&lt;br /&gt;Done with customizing my desktop, I modified the codes for 'Moving' function and passed my part to Ryan for integration. While integrating, I continued working on enhancing the 'Functions' Menu'. Bernard then brought a few guys to upgrade the projector. Before the 5.30pm, I managed to finish my enhancement and passed ryan the latest patches for integration. I also tried to help Leonard with his function with You Hock.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;10 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I worked on the 'Clear All' function of 'Whiteboard' application with You Hock. We completed the function before heading down to Marketplace to grab a bite as we skipped breakfast to work on our application. We resumed work and tried implementing a new function for the 'Whiteboard' application - creating a new marker when a laser is shone on the screen. Before going for lunch, I showed Kevin my progress for the 3D application.&lt;br /&gt;&lt;br /&gt;During lunch, we discussed on what are our next plans. I was tasked to work on the interaction with more than 1 models. Kevin also gave us advice on what we should do when applying for university.&lt;br /&gt;&lt;br /&gt;When we were back at the office, I worked on the interaction with more than 1 models while the You Hock and Ming Hong worked on 'Whiteboard' application's new function. Before the end of the day, I allowed the scaling and rotating on the second model. I also helped out with the testing of the 'Whiteboard' application.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;11 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I got to work, I tried to improve the rotation function by disallowing the auto-rotation of the models. Managed to finish the rotation before we discussed on how we should we present to Mr Yeak tomorrow when he arrives. After the discussion, I added a new function to the 'Function Menu' - make the menu button unable to be selected while a model is moving/scaling/rotating. I managed to finish disallowing the moving and scaling button to be selected before lunch.&lt;br /&gt;&lt;br /&gt;After lunch, we practiced for how we should present our work to Mr Yeak when he arrive for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;12 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I did the write-up for TP IT project show with leonard in the morning till about 9.30am before going through a dry run on what we are going to present to Mr Yeak later. After going through 1 round of dry run, we went back to do our tasks. Leonard and I managed to finish the write-up before lunch and emailed it to Kevin.&lt;br /&gt;&lt;br /&gt;After lunch, we cleaned up the lap in preparation for Mr Yeak's visit. Kevin then came in to gave us feed back on how we could improve the project write-up. We did another round of dry run before Mr Yeak came. Kevin started by introducing him to what Lightdraw is about and what we had been doing here at IHPC. We showed him the 4PP, Puzzle application, the 3x2 tile display, the Whiteboard application and what we are currently doing.&lt;br /&gt;&lt;br /&gt;After the demonstration, Mr Yeak went to the meeting room with Kevin and Ming Hong while we continued doing our work. I edited the project write up and after finishing, I continued working on the 3D application. At the end of the day, I managed to finish the interaction with 2 separate models with the mouse. Here's some picture of the application:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SZoQXfcPPgI/AAAAAAAABDw/NLm4Uc_kMRI/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 245px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SZoQXfcPPgI/AAAAAAAABDw/NLm4Uc_kMRI/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5303569506945154562" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SZoQXuZeYNI/AAAAAAAABD4/SQHA154G-j4/s1600-h/Picture+20.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 245px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SZoQXuZeYNI/AAAAAAAABD4/SQHA154G-j4/s320/Picture+20.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5303569510960095442" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SZoQX1HswSI/AAAAAAAABEA/ype7Do2--Pc/s1600-h/Picture+3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 246px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SZoQX1HswSI/AAAAAAAABEA/ype7Do2--Pc/s320/Picture+3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5303569512764588322" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SZoQYGlNZ7I/AAAAAAAABEI/sLx2Q-eaDws/s1600-h/Picture+4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 246px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SZoQYGlNZ7I/AAAAAAAABEI/sLx2Q-eaDws/s320/Picture+4.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5303569517451765682" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;13 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We had a discussion on how long we have to complete our tasks before we end our attachment. So I was task to work on the 3D Model application while Kevin helped us with the IT Project Show write-up. So before lunch, I managed to set the initial position when 2 models are loaded. Kevin also passed me his version of the IT Project Show write-up.&lt;br /&gt;&lt;br /&gt;During lunch, Kevin told us how different is being at work and at school. In school, we usually have the group mentality while at work, it is important to make decision by not getting affected by others. He also told us a few of his experiences at work.&lt;br /&gt;&lt;br /&gt;After lunch, I went back to the lab and continued working on the 3D Model application. I managed to solve the rotation problem with Ming Hong's help before passing my part over to Ryan for integration. I read through Kevin's version of the IT Project Show write-up and made some changes before sending it to Kevin for the final review. However, he was busy filming the video for our applications. So he asked me to submit the write-up without the images. After submitting the write-up, I went to help Ryan with the integration. We managed to integrate successfully and I continued working on enhancing the 3D Model application - resetting the models to the initial positions when loading. I managed to finish that feature by the end of the day with Ming Hong's help.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It has been a busy week for me at IHPC, rushing the 3D Model application while doing TP IT Project show's write-up. What I had left an impression in my mind this week is not the technical skills, but the conversations we had during lunch. Especially the one about the differences between school and work life.&lt;br /&gt;&lt;br /&gt;In school, we often hang around our friends and make decisions to follow our friends even though we may not feel like it. The reason why we do that is to fit in. And it is a mistake to bring this mentality to the work environment. This is so because at work, even though we have teams/groups, we are still individuals with our own way of thinking and doing things.&lt;br /&gt;&lt;br /&gt;As Kevin said, I too find it important to have our own stand. So the things I've learnt his week would be very useful, for both in school and at work in the future.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-2009685729826124348?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/2009685729826124348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=2009685729826124348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/2009685729826124348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/2009685729826124348'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2009/02/9-february-2009-i-worked-on-integrating.html' title='Integration of 3D Application'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_c-QPdDtb340/SZRL3fu_ioI/AAAAAAAABDI/OdfDgmEj5Qc/s72-c/Picture+2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-3764061791603185146</id><published>2009-02-06T10:02:00.010+08:00</published><updated>2009-02-09T13:54:42.521+08:00</updated><title type='text'>Development of 3D Model App</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: large;"&gt;2 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We discussed about using different macro patches instead of array in Javascript. After much debate, we decided to continue working with the Javascript. So we worked on the matching algorithm till lunch.&lt;br /&gt;&lt;br /&gt;After lunch, we got help from Cheng Teng. After awhile, he went over to help Ryan and Leonard because they had problems loading the models provided from him. So we went to compare the codes we did in the application with Lightdraw's. We then realized that we missed out one line of code. Added that line of code in and it was working. We finally made progress after so many days of trying.&lt;br /&gt;&lt;br /&gt;The application now allows multi-user support. However, if there were 2 pens on the screen and the first pen got idled/removed, only the second laser is able to select the remaining pen. So we discussed on how to solve the problem and concluded to check the 'moving' patch.&lt;br /&gt;&lt;br /&gt;Not long after, Kevin came in and told me that I'll start working with Ryan and Leonard on the 3D model application until You Hock and Ming Hong finished the multi-user function before I return to work on the 'Toggle' and 'Idle' function. We continued to work on the multi-user function for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;3 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After the usual breakfast routine, I installed Kineme 3D plugin with the help of Leonard. After the installation, a pop-up appeared informing me that the trial period would only last for 1 more day as Leonard had installed the plugin before.&lt;br /&gt;&lt;br /&gt;I then started to explore what functions could the plugin do and tried to load a model. The Kineme 3D object loader could support different model formats such as .FBX, .DAE, .MD2, DXF, .OBJ, 3DS. However, I was unable to load. Ryan then advice me to restart the computer because he had faced the same problem before. I restarted the computer and the model is then able to load. Here's the model I loaded:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SYunXiVi6CI/AAAAAAAABAM/b1r5EB0Bqiw/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 270px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SYunXiVi6CI/AAAAAAAABAM/b1r5EB0Bqiw/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5299513409327523874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I managed to make the model rotate before lunch. After lunch, I tried making the model move. However, I need to know the model's initial size. So I went to look for Kevin to inform him to inform him about the plugin trial deadline and his suggestion on how to move the model before his meting. He said he would discuss with Ming Hong about the plugin and he asked me to find out if I could set the model's size to 'Fit to Screen'.&lt;br /&gt;&lt;br /&gt;I went to help You Hock with the testing of the 'Whiteboard' application before researching on how to fit the 3D model to screen.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SY-GXOtSbAI/AAAAAAAABBE/jnqesq52IGU/s1600-h/SNC00008.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SY-GXOtSbAI/AAAAAAAABBE/jnqesq52IGU/s320/SNC00008.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5300603020081523714" /&gt;&lt;/a&gt;&lt;br /&gt;After much research, I found out that in Kineme 3D object loader, there's a Normalize function which would set the model's size to fit the screen's size. I then continued working on trying to move the model for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;4 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I continued working on getting the model to move. I decided to implement an easier way of moving the model - moving the model to where the mouse is clicked. I then asked Ming Hong about what Z-axis rotation is about because I need to change the rotation axis of the model once it is moved. He explained it to me and then I went on to complete the 'Move' function.&lt;br /&gt;&lt;br /&gt;Kevin then came in and we showed him our progress. After showing him, I found a cool function in Mac which works like using the remote computer in Windows before heading for lunch. Here's a screenshot:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SYunX3uonjI/AAAAAAAABAU/ZHT8FXg-Abk/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SYunX3uonjI/AAAAAAAABAU/ZHT8FXg-Abk/s320/Picture+2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5299513415069900338" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, I tried to load the Rolls Royce model. However, it wasn't able to load because my version of Kineme has expired. So I tried using the iMac to load. The iMac's version also expired while trying to load the model. So we went to look for Kevin and informed him about our situation. He went to discussed with Ming Hong and bought the Kineme 3D plugin. We then registered with the serial key provided.&lt;br /&gt;&lt;br /&gt;After registering, Kevin taught me a Mac shortcut - apple+tab+q to quit applications because I was attempting to close several applications. After registering, I tried loading the Rolls Royce model again. This time, it took more than 10 minutes and  not yet done. So I decided move on and revert my model back to the skateboard to work on the scale function.&lt;br /&gt;&lt;br /&gt;Before we left, we saw a very pretty sight of a rainbow from Kevin's desk. Here's a picture of the rainbow:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SY-GWE3TkvI/AAAAAAAABAk/7xT4vPotSNI/s1600-h/SNC00001.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SY-GWE3TkvI/AAAAAAAABAk/7xT4vPotSNI/s320/SNC00001.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5300603000259318514" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;5 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I tested the loading of 2 models on the same application after breakfast because Kevin mentioned about getting the 3D application to work with more than 1 models at 1 time. Quartz Composer is able to load more than one as one of the examples that came with Kineme3D could load 3 models. Here's a screenshot of the Quartz Composition:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SYunXzDpcRI/AAAAAAAABAc/HIygRSmT6Hs/s1600-h/Picture+3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 291px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SYunXzDpcRI/AAAAAAAABAc/HIygRSmT6Hs/s320/Picture+3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5299513413815857426" /&gt;&lt;/a&gt;&lt;br /&gt;This means that I have to modify the codes for the 'Moving' function. I guess I'll modify it after I'm done with the 'Scaling' function. After finishing the 'Scaling' function, we left for NUS because we had to attend a talk there. At NUS, we saw Cheng Teng's project.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;6 February 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I continued working on the 'Scaling'  function when I reached the office. Not long, Leonard requested the 'objLoader' plugin as he wanted to test how fast could a ".obj" format model load on it. Before lunch, I managed to scale the model. What's left is only to compute how much to scale down.&lt;br /&gt;&lt;br /&gt;Bernard invited us for lunch at level 5 because it's IHPC Chinese New Year Celebration. Here are some pictures I took during lunch:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SY-GWHfMQzI/AAAAAAAABAs/QsZO18eq2MI/s1600-h/SNC00003.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SY-GWHfMQzI/AAAAAAAABAs/QsZO18eq2MI/s320/SNC00003.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5300603000963482418" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SY-GWtdRbwI/AAAAAAAABA8/4ZHu7PaTQmU/s1600-h/SNC00005.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SY-GWtdRbwI/AAAAAAAABA8/4ZHu7PaTQmU/s320/SNC00005.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5300603011155980034" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SY-GWYI2ViI/AAAAAAAABA0/5bmX73J8B1Q/s1600-h/SNC00004.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SY-GWYI2ViI/AAAAAAAABA0/5bmX73J8B1Q/s320/SNC00004.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5300603005433173538" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, Kevin informed us that we were not suppose to be at the lunch as we were interns and we do not have the same benefit as IHPC's staff. We sent an email to him to apologize and will consult him if we before we do anything.&lt;br /&gt;&lt;br /&gt;After apologizing, I asked Ming Hong on how to compute the scaling. He taught me how and I implemented the formula. Once again, this situation showed me how important mathematics is. I managed to finish the 'Scaling' function at the end of the day. I'll integrate my part with Leonard's on Monday.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In a blink of an eye, it's the final month of my attachment here at IHPC. I've truly learnt a lot for the past few months. This week is no exception. I've learnt more about 3D modeling by working on an application to manipulate the model. Normally, to manipulate a model based on pure coding itself is tough. Luckily, we are working on Quartz Composer which provided us an easier platform to manipulate a 3D model.&lt;br /&gt;&lt;br /&gt;I've also discovered a few other interesting functions on the Mac with the help of Kevin and listening to some podcasts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-3764061791603185146?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/3764061791603185146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=3764061791603185146' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/3764061791603185146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/3764061791603185146'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2009/02/development-of-3d-model-app.html' title='Development of 3D Model App'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_c-QPdDtb340/SYunXiVi6CI/AAAAAAAABAM/b1r5EB0Bqiw/s72-c/Picture+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-3639104115320268590</id><published>2009-01-30T14:11:00.006+08:00</published><updated>2009-02-09T13:42:12.249+08:00</updated><title type='text'>Chinese 'Niu' Year Week</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: large;"&gt;26 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;No work today as it is the first day of Chinese New Year.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;27 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;No work today as it is the second day of Chinese New Year.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;28 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I arrived, Ryan informed me that I'm working with You Hock on the 'Whiteboard' application and that I'm using the MacBook Pro instead of the iMac in the other room. So I brought myself over to the other room and started customizing the MacBook Pro. Here's how the MacBook Pro looks like:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SYKbB8O91CI/AAAAAAAAA_M/MnfqAK24wyk/s1600-h/Picture+1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SYKbB8O91CI/AAAAAAAAA_M/MnfqAK24wyk/s320/Picture+1.png" alt="" id="BLOGGER_PHOTO_ID_5296966569392198690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SYXZbZ2LbGI/AAAAAAAAA_U/C4KwU_7-ezY/s1600-h/IMAGE_091.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SYXZbZ2LbGI/AAAAAAAAA_U/C4KwU_7-ezY/s320/IMAGE_091.jpg" alt="" id="BLOGGER_PHOTO_ID_5297879601489079394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Not long after, Kevin came in and brief us on what we are to do - an individual article and to listen to a few podcasts from iTunes. I took some reference from Ryan and You Hock and started working on the article.&lt;br /&gt;&lt;br /&gt;Kevin then help me printed my article and all four of us read out our articles to Kevin and Cheng Teng. They gave us comments and decided how we should write an article for the IHPC's newsletter. We decided to use Leonard's article format and add in our individual experiences. Leonard and I would work on the article together. However, Leonard also had to work on the 3D application with Ryan. So we decided that Leonard would work with Ryan, and if I had any questions about the article, I would go ask him.&lt;br /&gt;&lt;br /&gt;At the end of the day, I managed to finish editing Leonard's article by re-phrasing his sentences. I'll add the individual experiences tomorrow when I get back.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;29 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When we got to the lab, we had a discussion with Kevin, Cheng Teng and Ming Hong about our project plans. We first discussed about the progress of the article. I told them that I'm done with editing Leonard's article, and what's left was just to add our individual experiences. We then discussed about what podcasts we had listened to and we found how useful the podcasts were. Finally, we then discussed about our applications. The decision was to have You Hock and I work on the 'Whiteboard' application with Ming Hong, while the rest work on the 3D application with Cheng Teng. As soon as You Hock and I finish the application, we'll join the rest to work on the 3D application.&lt;br /&gt;&lt;br /&gt;After the discussion, I continued to work on the article. At lunchtime, we went to buy plants to add some color to the lab. Here's how our lab's plants look like:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SYXZbgzTDcI/AAAAAAAAA_c/zIFV5fXmnjs/s1600-h/IMAGE_092.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SYXZbgzTDcI/AAAAAAAAA_c/zIFV5fXmnjs/s320/IMAGE_092.jpg" alt="" id="BLOGGER_PHOTO_ID_5297879603356044738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So after decorating the lab with the new plants, I continued working on the article. I managed to finish around 4pm and emailed kevin. Then, I joined Ming Hong and You Hock to work on the 'Whiteboard' application's matching function.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;30 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We continued working on the matching algorithm and managed to do it for the single user. So we tested an realized that the image for the white marker is not displaying when selected. When debugged, I found out that one line of code was missing. By noon, we manage to fix it.&lt;br /&gt;&lt;br /&gt;I didn't join the rest for lunch today as I need to fix my LG monitor. After lunch, when the rest came back from lunch, we tried to get the 'Whiteboard' application to go multi-user. Did some testing and it wasn't working as well as we expected. So we spent the day working on the matching algorithm for multi-user.&lt;br /&gt;&lt;br /&gt;While working on the matching algorithm, we found out about &lt;a href="http://www.quartzcompositions.com/phpBB2/mediawiki/index.php/JavaScript#Persistent_Memory"&gt;Quartz Composer persistent memory&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Though it has been a short week at IHPC, I still managed to learn something new - podcast. I found how how useful it is to keep me updated about the latest global news. Besides being updated on the latest global issues, I'm also able to learn new things by listening/watching the podcasts. Few of the things that I've learnt from listening/watching the podcasts are new words and functions on the Mac.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-3639104115320268590?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/3639104115320268590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=3639104115320268590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/3639104115320268590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/3639104115320268590'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2009/01/chinese-niu-year-week.html' title='Chinese &apos;Niu&apos; Year Week'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_c-QPdDtb340/SYKbB8O91CI/AAAAAAAAA_M/MnfqAK24wyk/s72-c/Picture+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-5699033540333534959</id><published>2009-01-21T10:25:00.007+08:00</published><updated>2009-01-28T16:01:27.170+08:00</updated><title type='text'>Article Writing Week</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: large;"&gt;19 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We brainstormed on how to write the article as soon as we reached. There were 2 type of styles we were discussing about - an interview style and from a third-party view style. After much discussing, we decided on using the interview style. Once decided, You Hock and I went to do a "photo shoot" for Kevin's Lightdraw paper while Ryan and Leonard start working on the article. Here are some of the pictures we took:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SXaQ3AwfEHI/AAAAAAAAA-g/AgO-vs7ukBU/s1600-h/IMG_7906.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SXaQ3AwfEHI/AAAAAAAAA-g/AgO-vs7ukBU/s320/IMG_7906.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5293577686791164018" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SXaQ21KJ09I/AAAAAAAAA-Y/4BeE7fOCvDE/s1600-h/IMG_7918.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SXaQ21KJ09I/AAAAAAAAA-Y/4BeE7fOCvDE/s320/IMG_7918.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5293577683677598674" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SXaQ2q1E5yI/AAAAAAAAA-Q/XRB0O6pLoz4/s1600-h/IMG_7913.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SXaQ2q1E5yI/AAAAAAAAA-Q/XRB0O6pLoz4/s320/IMG_7913.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5293577680904840994" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SXaQ15w1YII/AAAAAAAAA-I/_xHOUWyEUkE/s1600-h/IMG_7922.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SXaQ15w1YII/AAAAAAAAA-I/_xHOUWyEUkE/s320/IMG_7922.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5293577667733708930" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SXaQ1eP2ToI/AAAAAAAAA-A/Y1ykIMo95sQ/s1600-h/IMG_7948.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SXaQ1eP2ToI/AAAAAAAAA-A/Y1ykIMo95sQ/s320/IMG_7948.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5293577660347600514" /&gt;&lt;/a&gt;&lt;br /&gt;After we were done with the "photo shoot", You Hock went to work on the "Drawing Board" application's multi-user function while I joined Ryan and Leonard to work on the article. We used Pages, a word processor and page layout application developed by Apple Inc., to do the article.&lt;br /&gt;&lt;br /&gt;As we were unsure if we could use the interview style for the article, we wanted to ask Daryl from Corporate Comms. However, he wasn't at his desk when we went. After lunch, we went to Daryl's desk to try our luck, but he's still not back. So we went to ask Kevin instead. He said we could try and just show him the draft when we were done. We also borrowed the MacSpeech Dictate CD from Kevin as we wanted it.&lt;br /&gt;&lt;br /&gt;MacSpeech Dictate, a speech recognition software for Apple Macintosh computers, was fun at first, but it grew to be quite troublesome as the computer might not generate the word that was spoken due to pronunciation. So we went back to the old-school way of typing the article for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;20 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We continued to work on the article when we reached. We then discussed and decided to try doing a third-party view style instead. So we took what we have done yesterday and converted it. Before lunch, Daryl came in and passed us some rice crackers and mandarines.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SXaRof-8EaI/AAAAAAAAA-o/Fi1kibipXgA/s1600-h/IMAGE_083.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SXaRof-8EaI/AAAAAAAAA-o/Fi1kibipXgA/s320/IMAGE_083.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5293578536986874274" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, we continued working on the article. We managed to finish it and passed it around to see if there's anything we need to add on before sending it to Kevin. As Leonard was busy helping Kevin, I went over to help You Hock with the multi-user function.&lt;br /&gt;&lt;br /&gt;Not long after, Leonard read the article and said that it was fine. We then sent the article to Kevin for review before the end of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;21 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;During breakfast, we were discussing about creating animated gif pictures in Adobe Flash. However, Bernard taught us a neat trick which is easier and faster. By using video editing softwares, we can achieve the same result. I've never thought of such a way.&lt;br /&gt;&lt;br /&gt;After breakfast, I continued working on the multi-user function with You Hock. Ming Hong also helped us with this function. In the javascript, we use the "parse" function to try convert string to number. After much research, we found out that only a "+" sign was needed to convert a string to a number.&lt;br /&gt;&lt;br /&gt;When we were done making the changes, Terence came in and we showed him our progress of the "Whiteboard" application. After demo-ing, Kevin told Terence about the plans for our new project - 3D model application.&lt;br /&gt;&lt;br /&gt;At lunch, You Hock and I left as we were required to head back to school for a feedback session with the school's Director.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;22 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I tested the overlay function in Cocoa with the newer version of the "Whiteboard" application. Everything was working fine except for the same problem; the application is unable to toggle off. After testing, You Hock continued to work while I went to pack my area for Chinese New Year.&lt;br /&gt;&lt;br /&gt;After lunch, we spent the rest of the day working on the multi-user function.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;23 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Did not come to work as I had my National Service Medical Check-up.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This week was mainly spent on writing the article and working on the multi-user function.&lt;br /&gt;&lt;br /&gt;Writing an article is totally different from the reports I'm used to doing in school. Especially writing an article based on personal experiences. Initially, we thought it would be simple as we are blogging regularly about what we have been doing here at IHPC and how we feel. However, it is not as simple as it seems. Nonetheless, it is still something new I've experienced here at IHPC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-5699033540333534959?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/5699033540333534959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=5699033540333534959' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/5699033540333534959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/5699033540333534959'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2009/01/article-writing-week.html' title='Article Writing Week'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_c-QPdDtb340/SXaQ3AwfEHI/AAAAAAAAA-g/AgO-vs7ukBU/s72-c/IMG_7906.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-4852393671803277634</id><published>2009-01-14T16:59:00.019+08:00</published><updated>2009-01-19T14:11:15.262+08:00</updated><title type='text'>Quartz Composer Whiteboard Application</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: large;"&gt;12 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As soon as we reached the office, Leonard showed us a very neat Mac trick. And no, I'm not going to reveal the trick here. On the way out to have breakfast, we were approached by Daryl from Corporate Comms to write an article for IHPC Newsletter: "Powering Discoveries!". We were asked to write about our experiences here in IHPC and the project which we are working on. We need to submit a first draft by the 22 January 2009. I guess we'll have to start drafting the article soon.&lt;br /&gt;&lt;br /&gt;After lunch, I helped Leonard and You Hock with their testing before heading back to fixing the Cocoa application's toggle function. However, the result was still fruitless at the end of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;13 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Helped out with the testings of Ryan's, Leonard's and You Hock's features: "Drag and draw" &amp;amp; "Creating new pen". We found some problems when tested. The drawing for the pen did not follow the laser and the pen was unable to drag out of the palette after it is being created. We managed to fix the drawing part before lunch with the help of Ming Hong.&lt;br /&gt;&lt;br /&gt;After lunch, we managed to fix the dragging out of palette function before showing Kevin our progress. Here's how our application currently looks like:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SW7xGHqVLzI/AAAAAAAAA8w/C5UoibPEZyM/s1600-h/n617656172_1384846_2372.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SW7xGHqVLzI/AAAAAAAAA8w/C5UoibPEZyM/s320/n617656172_1384846_2372.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5291431699645017906" /&gt;&lt;/a&gt;&lt;br /&gt;Kevin gave us comments on how we could improve the application and what are the plans after that. I've also told him about my problem with the Cocoa and he said that Ming Hong would help me on that. After the discussion, You Hock went for his video shoot as he missed the video shoot last week.&lt;br /&gt;&lt;br /&gt;Once You Hock was done with with his video shoot, we continued working on the application. Ryan and You Hock worked on touching up the version we showed Kevin to create a working demo-able version while Leonard and I designed the new pens, eraser and palette in Photoshop Elements.&lt;br /&gt;&lt;br /&gt;I managed to finish designing the eraser by the end of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;14 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I discussed with Leonard on how we should design the new pens when we reached the office. We then agreed to switch the design of the pens and eraser. So I used the design I completed yesterday and used it as the pen while Leonard designed the new eraser. We managed to finish designing the pens before lunch and exported them to ".gif" format. However the images are distorted.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SW73Hn39T_I/AAAAAAAAA9I/UaGXl1-aKkk/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 172px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SW73Hn39T_I/AAAAAAAAA9I/UaGXl1-aKkk/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5291438322541744114" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, I edited the pen images with Leonard's help. Here's a before and after picture of the pens:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SW73HpHLo_I/AAAAAAAAA9A/h0bEZz5xBSY/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 187px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SW73HpHLo_I/AAAAAAAAA9A/h0bEZz5xBSY/s320/Picture+2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5291438322874033138" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SW73Hbxr5tI/AAAAAAAAA84/sb77QCCEWFY/s1600-h/Picture+3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 187px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SW73Hbxr5tI/AAAAAAAAA84/sb77QCCEWFY/s320/Picture+3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5291438319294211794" /&gt;&lt;/a&gt;&lt;br /&gt;As soon as we were done, we showed the images to Kevin and Ming Hong on the large display.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SXAiUK-m22I/AAAAAAAAA9Q/5FIAMVk3jTU/s1600-h/IMAGE_079.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SXAiUK-m22I/AAAAAAAAA9Q/5FIAMVk3jTU/s320/IMAGE_079.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5291767292100008802" /&gt;&lt;/a&gt;&lt;br /&gt;Ming Hong commented that we should smoothen the edges of the images. I guess we'll smoothen the edges of the image tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;15 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After the usual breakfast routine with Bernard, I helped Ryan with making the new palette slide in when the application is toggled while Leonard and You Hock worked on their task. Ryan and I managed to complete the patches for making the palette slide in before lunch. Here's how our patches to make the palette slide in looks like:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SXAnsvY1hHI/AAAAAAAAA9Y/-3y3wh_g6a0/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 266px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SXAnsvY1hHI/AAAAAAAAA9Y/-3y3wh_g6a0/s320/Picture+2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5291773211748697202" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, we first tested the sliding palette with the mouse and it was successful. We then moved on to test the sliding palette with the laser, but the result was not as expected. Ryan and I seek help from Kevin and Ming Hong and we managed to solve the problem.&lt;br /&gt;&lt;br /&gt;Ming Hong also commented that the image for the palette is too big and Leonard went to crop the palette image. After Leonard crop the image, we went to re-position the palette. After the re-positioning the palette, I helped You Hock check the positioning of the trash bin, eraser, colors and brush size and testing for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;16 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As soon as we got to the office You Hock and I discussed on what we had to do while Leonard starts on writing the article. You Hock and I decided that we should finish up the smaller features before making the major ones. We managed to change the image of the pen when dragged to the palette, disable the toggle function when a pen is being dragged or is drawing and disallowing the pen from changing size, color and mode when it is drawing before lunch.&lt;br /&gt;&lt;br /&gt;We wanted to change the codes for the "Drag and Draw" function but were unsure on how to go about doing it as Ryan went for his NS medical check up. Luckily, he came back by noon and was able to help us on that.&lt;br /&gt;&lt;br /&gt;Since Ryan is back, I went over to help Leonard with the article. We decided that we should refer to past articles on the newsletter so that we could get a brief idea on how we should go about writing it. Hence, we went the the receptionist to ask for the past newsletter issues. Here's a picture of the issues we received for reference:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SXBHT_wI5cI/AAAAAAAAA9g/Pc3vOPRoTCQ/s1600-h/IMAGE_082.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SXBHT_wI5cI/AAAAAAAAA9g/Pc3vOPRoTCQ/s320/IMAGE_082.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5291807971016762818" /&gt;&lt;/a&gt;&lt;br /&gt;After reading a few articles, we realized that what we had written was totally of a different caliber. So we spent the rest of the day researching on how to write an article.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This week have been spent on making enhancement and changes to the "Whiteboard" application in Quartz Composer. In the process of enhancing the application, I realized that by improving the application's visuals, it would make others want to try the application - like how the desktop for Microsoft Windows 7 looks like a Mac.  I would definitely keep this lesson in mind for my applications in the future.&lt;br /&gt;&lt;br /&gt;On a side note, I found out a really cool "hidden" feature in Safari. In Safari, you could do this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SXQZH9wem6I/AAAAAAAAA9o/Rz8bSd9YneM/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 269px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SXQZH9wem6I/AAAAAAAAA9o/Rz8bSd9YneM/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5292883086694849442" /&gt;&lt;/a&gt;&lt;br /&gt;Cool huh? =P&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-4852393671803277634?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/4852393671803277634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=4852393671803277634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4852393671803277634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4852393671803277634'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2009/01/quartz-composer-whiteboard-application.html' title='Quartz Composer Whiteboard Application'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_c-QPdDtb340/SW7xGHqVLzI/AAAAAAAAA8w/C5UoibPEZyM/s72-c/n617656172_1384846_2372.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-4653034602809226088</id><published>2009-01-07T09:55:00.023+08:00</published><updated>2009-01-12T12:17:54.878+08:00</updated><title type='text'>Video Shooting Week</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;5 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Helped Leonard and You Hock with their testing after having breakfast. Once their testing was done and their functions was working fine, we started integrating our parts together. We only managed to finish integration a few hours after lunch. Tested the integrated application and found some problems because we forgot to copy a few patches while integrating. We tested it again to make sure it was working fine. Here's a picture of our testing:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SWQgbLbWW-I/AAAAAAAAA6k/jApSJpaYs6M/s1600-h/n617656172_1348577_1032.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SWQgbLbWW-I/AAAAAAAAA6k/jApSJpaYs6M/s320/n617656172_1348577_1032.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5288387513735863266" /&gt;&lt;/a&gt;&lt;br /&gt;After making sure the integrated version was working, we showed the application to Kevin. He seemed please with our progress. We then went to see what Ming Hong was working on. He used iGlasses, which adjusts and manipulate the webcam's video settings, to make Lightdraw work with iSight. I guess the setting up for Lightdraw is just going to get easier.&lt;br /&gt;&lt;br /&gt;We then made plans for the next phase of the "Drawing Board" application. Here's the plan:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Drag and draw within the pen(Ryan)&lt;/li&gt;&lt;li&gt;Transparency of the images(Leonard)&lt;/li&gt;&lt;li&gt;Dragging a pen out of the palette(You Hock)&lt;/li&gt;&lt;li&gt;Getting the Quartz Composition to work in Cocoa(Myself)&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;As Leonard and my part for this phase seemed to be the easiest, we would be helping the others once we are done with our parts.&lt;br /&gt;&lt;br /&gt;On a side note, Kevin agreed to let my build my DIY PC in the lab tomorrow. Will be heading down to Sim Lim Square tomorrow to purchase the stuff needed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;6 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I tried to run the integrated Quartz Composition in Cocoa, but it is still unable to compile and run. This was the same problem which I faced last week when I tried to run the Quartz Composition of the 'Toggle' function. Tried to get it working before lunch, but it was fruitless.&lt;br /&gt;&lt;br /&gt;At lunch time, we headed down to Sim Lim Square to purchase the parts to build my PC. And the rest of the day was spent on building the PC. These are the stuff we bought:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SWTjz5sW1mI/AAAAAAAAA60/y2A4Jf3RHLo/s1600-h/n617656172_1356527_4146.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 240px; height: 320px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SWTjz5sW1mI/AAAAAAAAA60/y2A4Jf3RHLo/s320/n617656172_1356527_4146.jpg" alt="" id="BLOGGER_PHOTO_ID_5288602343239505506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;When we got back to the office, we started fitting all the parts together. Here's a before and after picture:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SWWWHOcCzzI/AAAAAAAAA7Q/TUzWsqJykic/s1600-h/Empty.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 294px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SWWWHOcCzzI/AAAAAAAAA7Q/TUzWsqJykic/s320/Empty.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5288798388295487282" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SWWWG2QVNDI/AAAAAAAAA7I/6aCsBaUWL5c/s1600-h/Installed.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 281px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SWWWG2QVNDI/AAAAAAAAA7I/6aCsBaUWL5c/s320/Installed.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5288798381803910194" /&gt;&lt;/a&gt;&lt;br /&gt;And the finished product:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SWWWGlKPjyI/AAAAAAAAA7A/QKYik3JNHv4/s1600-h/cm690-1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 231px; height: 320px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SWWWGlKPjyI/AAAAAAAAA7A/QKYik3JNHv4/s320/cm690-1.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5288798377214971682" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SWTjB5IMFfI/AAAAAAAAA6s/MFIfb9um3QY/s1600-h/desktop.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SWTjB5IMFfI/AAAAAAAAA6s/MFIfb9um3QY/s320/desktop.JPG" alt="" id="BLOGGER_PHOTO_ID_5288601484094346738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Kevin almost jumped when he found out that we only installed Windows XP on it. However, it was a good experience as I never really got so close to the hardwares in my life until today.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;To Kevin:&lt;br /&gt;Don't worry Kevin, I'll install Linux and stuff once I'm done installing the required hardware drivers and softwares. As for the Mac, I'll get one before I get into university. =)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;7 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We tried to find out what new products was introduced at Macworld 2009 and this is what Leonard found:&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/9BnLbv6QYcA&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/9BnLbv6QYcA&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Initially, we thought it was true and was commenting how it was easier to use a keyboard to type instead until Bernard told us that this video was a hoax. It turns out that the video was made by The Onion is an American "fake news" organization, which publishes satirical articles reporting on international, national, and local news through an entertainment newspaper and website.&lt;br /&gt;&lt;br /&gt;After watching a few more videos made by The Onion, I continued with what I left of yesterday. Leonard came over to help me as his part was done and we managed to get the Cocoa application to build and run. The coordinates for the Quartz Composition in Cocoa was off and tried to fix it by changing the initial window position of the cocoa application.&lt;br /&gt;&lt;br /&gt;With the help of You Hock, we managed to set the initial window position of the cocoa application. Here's the code we used in the Cocoa application:&lt;br /&gt;&lt;br /&gt;NSRect screenRect = [[NSScreen mainScreen] frame];&lt;br /&gt;screenRect.size.width = 1400;&lt;br /&gt;screenRect.origin.x = 1680;&lt;br /&gt;screenRect.origin.y = 0;&lt;br /&gt;&lt;br /&gt;We continued to test and found out that there was a problem. The integrated application was able to toggle on, but not off. I guess we'll have to find out the problem tomorrow as we had to go to the pantry for our big boss, Terence's birthday celebration. At the celebration, You Hock was asked to sing. Here's a video of him singing:&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/p4tdWMWmlZw&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/p4tdWMWmlZw&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;After the celebration, we went to take a video for Lightdraw. For today, we shot the clip for the ease of setting up Lightdraw and Ming Hong's "White Board" application. Here's a sneak peak of our behind the scenes:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SWXDGW7ggFI/AAAAAAAAA7o/dcqA1t_AkRI/s1600-h/n617656172_1358572_2278.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SWXDGW7ggFI/AAAAAAAAA7o/dcqA1t_AkRI/s320/n617656172_1358572_2278.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5288847851418320978" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SWXDGde-UmI/AAAAAAAAA7g/nTGp9qeIWqI/s1600-h/n617656172_1358573_2626.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SWXDGde-UmI/AAAAAAAAA7g/nTGp9qeIWqI/s320/n617656172_1358573_2626.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5288847853177688674" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;8 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I changed the wallpaper of my iMac(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;I guess I've caught the Chinese New Year bug&lt;/span&gt;) when I reached the office. Here's how my iMac looks:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SWXCkpskS3I/AAAAAAAAA7Y/IT2mcUHNf7o/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SWXCkpskS3I/AAAAAAAAA7Y/IT2mcUHNf7o/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5288847272340376434" /&gt;&lt;/a&gt;&lt;br /&gt;Once my wallpaper had been changed, Ming Hong came in and gave us a quick mathematics lesson on matrix and how it is applicable in application development. I never thought these maths formula could be applicable in real life situation when I took my mathematics lesson in school. Nonetheless, I've still learnt something new today. =)&lt;br /&gt;&lt;br /&gt;After the quick mathematics lesson, I continued the checking for the Cocoa application. The toggling value changed, but the image of the pen and palette is still there. I discussed with Leonard and You Hock on how to solve the problem. They suggested that I ask Kevin on how to solve the problem. I guess that's what I would do when we get back on Monday as Kevin and Ming Hong have a meeting tomorrow.&lt;br /&gt;&lt;br /&gt;Helped Leonard and You Hock with the testing of their parts before heading out for lunch. After lunch, we integrated our parts together. Around 3pm, we continued our video shoot with Cheng Teng on the applications which worked with Lightdraw - Cooliris, Puzzle game and 4 Player Pong. When we were done with the video shoot, we asked Cheng Teng to send us the footage as we wanted to create a behind the scenes video(it should be fun and amusing).&lt;br /&gt;&lt;br /&gt;After the video shoot, we continued with integration before calling it a day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;9 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I arrived at the office, Kevin asked us to pack the room as it was messy after the video shoot before heading for his meeting. So we packed the table and did the checking for the new palette position. During lunchtime, Kevin came in and told us about a power shutdown later in the day and we were given the day off.&lt;br /&gt;&lt;br /&gt;We decided to head down to Temasek Polytechnic Open House because it has been awhile since we have been back to school. At the open house, my final year project we being used. Here's a picture of my project's booth:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SWqtZnRwdSI/AAAAAAAAA8o/l5l5WbqStF0/s1600-h/n617656172_1369239_990.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SWqtZnRwdSI/AAAAAAAAA8o/l5l5WbqStF0/s320/n617656172_1369239_990.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5290231367851865378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This week at IHPC has been a very fruitful week for me. I've learnt stuff such as building a PC and more about Cocoa. I've also experienced the feeling of being in a video shoot as it was my first time taking a video.&lt;br /&gt;&lt;br /&gt;On building my own PC, it feels like I'm back in school for my Computer Architecture lesson when we "operated" on the school's computer. However, it was just a minor "operation" compared to the one here at IHPC where I went to the shop and get the individual computer parts and putting the parts together.  It was also my first time installing the Windows OS onto a computer. It was really a great experience and would definitely help me to cherish my computer more. However, I still feel that I have to read up more on the different hardwares in the market and how it affects the performance of the computer(as mentioned in last week's post).&lt;br /&gt;&lt;br /&gt;Video shooting-wise, it was my first time taking a video and having a "cameraman" and a "director" instructing us on how we should position ourselves and what we should do in front of the camera. I'm sure that this experience is not what any other IT interns would get to experience and am truly grateful to have my internship here at IHPC doing Lightdraw.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-4653034602809226088?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/4653034602809226088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=4653034602809226088' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4653034602809226088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4653034602809226088'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2009/01/video-shooting-week.html' title='Video Shooting Week'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_c-QPdDtb340/SWQgbLbWW-I/AAAAAAAAA6k/jApSJpaYs6M/s72-c/n617656172_1348577_1032.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-4617321927834710318</id><published>2008-12-31T11:35:00.009+08:00</published><updated>2009-01-05T11:05:32.883+08:00</updated><title type='text'>Bye 2008, Hi 2009</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;29 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I tested the toggle feature(mouse version) in Cocoa as soon as I reached the office. However it does not work as the Cocoa application doesn't read the mouse position from the Quartz Composition. Ming Hong said that perhaps mouse events are needed to be passed over to the Cocoa application. After much consideration, I decided to just work with the OSC version because the last time when I tested the 4PP(OSC version) on Cocoa, it was working.&lt;br /&gt;&lt;br /&gt;After lunch, I ran the Cocoa application on the Mac Pro. However, the Cocoa application was unable to build. So I wasn't able to test it. I then decided to move on to the next feature, idle and remove. I used the stop watch patch as the timer. The idea for this function is when the laser is off the object, it will be in an idling state. After 30 seconds, the object will be removed from the screen.&lt;br /&gt;&lt;br /&gt;I worked on this function and managed to finish it at the end of the day. I guess I'll do the testing tomorrow when I get back to the office.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;30 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As soon as I got to the office, I integrated the idle/remove function with Ryan for testing. The integration took up most of the morning and when I finally tested, the function was working well. However, it interfered with Ryan's trashing/removing function.&lt;br /&gt;&lt;br /&gt;After lunch, I went through the patches with Ryan and we managed to solve the problem. After a second round of testing, we found another problem. The thrashing/removing function only hides the object from view, not removing it. So the rest of the day was spent googling on how to remove the object.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;31 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's a half day today as it is the last day of 2008. I spent the day researching on how to remove the object. However, I wasn't able to find any helpful information. I guess I got to think of another idea on how to prevent the object from getting selected after it is removed from the screen.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;1 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;HAPPY NEW YEAR!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;2 January 2009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First day back at work for the year 2009! Kevin and Bernard is also back from their leave.&lt;br /&gt;&lt;br /&gt;We updated Kevin with our progress then headed back to do our own stuff. I brainstormed on how to prevent the object from being selected after it is removed from the screen before going for lunch.&lt;br /&gt;&lt;br /&gt;After lunch, I started to implement my idea on how to prevent the object from being selected after removal from screen and tested it. It was working fine. We then stop our work for a moment to discuss about how we were going to do the integration. However, Leonard's and You Hock's feature only near completion. So Ryan and I went to help Leonard and You Hock on their feature for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Moving onto a new year, the things I've done here at IHPC is still the same. However, the things I've learnt here at IHPC is just priceless. For example on the last day of 2008, besides the research done, I've also learnt about hardware interfaces and how it affects the performance of the computer.&lt;br /&gt;&lt;br /&gt;Quoted from Harold, "What differentiates good programmers and programmers is their knowledge of hardware." This sentence made an impact on me as my knowledge for hardware isn't strong. I guess I'll start reading up about the different types of hardware and their functions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-4617321927834710318?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/4617321927834710318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=4617321927834710318' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4617321927834710318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4617321927834710318'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/12/bye-2008-hi-2009.html' title='Bye 2008, Hi 2009'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-6297366560458869672</id><published>2008-12-23T09:27:00.006+08:00</published><updated>2008-12-29T09:43:56.158+08:00</updated><title type='text'>Christmas Week</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: large;"&gt;22 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's either the Monday blues or it's the holiday season that made me feel rather lazy when I reached the 'working space'. Still, I managed to kick-start my engine and started working on the feature which I am assigned to - to toggle the application on/off.&lt;br /&gt;&lt;br /&gt;I needed to get some help from Ming Hong as his 'Drawing Board' application is similar to ours. However, I found out that Ming Hong wouldn't be back till tomorrow. I guess I'll try to figure it out how he manages to toggle his application and ask him tomorrow.&lt;br /&gt;&lt;br /&gt;I fiddled with Lightdraw and Ming Hong's application, I realized that Lightdraw was actually using X11 and when the application launches it uses OSC. I tried to figure out how he manages to change Lightdraw's mode to OSC when his application launches. You Hock then told me that one method was to use the application to set Lightdraw's mode to X11 first before launching.&lt;br /&gt;&lt;br /&gt;After lunch, I went to help Ryan on his feature for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;23 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I asked Ming Hong about how his toggling logic work and he told me that his application was built on Lightdraw, using its memory. Therefore, there wasn't any mode switching. After asking, I went on to work on toggling the overlay. In the process of doing, I've also taught the rest how to store a variable by using the Maths patch as Quartz Composer itself was running on a while loop, which makes it almost impossible to store a variable.&lt;br /&gt;&lt;br /&gt;Not too long after, I managed to complete my toggling feature and Ming Hong came in and taught us a little about 3D graphics before going for lunch.&lt;br /&gt;&lt;br /&gt;After lunch, I tested my feature on the big screen with X11, which was working fine. I tried testing it with OSC and found out that the OSC receiver patch wasn't working as well as the coordinates for the laser could not be read. After debugging with Ryan, we realized that we forgot to copy 1 patch. Before we finished our day, we tested our applications and are pleased to say that it was working fine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;24 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's Christmas eve and we are here for half a day. I tried to integrate my application in Cocoa, but it could not be loaded. So I re-did the Cocoa application for the overlay which took up the rest of the half day. I guess I'll test the Cocoa application on Monday when we get back. At around 11.15am, we went to the pantry for a mini-celebration before leaving. It's going to be a long weekend!(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;Yay&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;25 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;M&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;e&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;r&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;r&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;y&lt;/span&gt; &lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;C&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;h&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;r&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;i&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;s&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;t&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;m&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 0);"&gt;a&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;s&lt;/span&gt;!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;26 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We were given a day off by Kevin!(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;Woots&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It has been a very short week for me. Luckily, I managed to finish the toggling feature(I will feel bad if I didn't). I had also learnt a little about 3D graphics, which is pretty interesting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-6297366560458869672?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/6297366560458869672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=6297366560458869672' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/6297366560458869672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/6297366560458869672'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/12/christmas-week.html' title='Christmas Week'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-7774890710435462446</id><published>2008-12-18T09:40:00.010+08:00</published><updated>2008-12-22T10:28:27.372+08:00</updated><title type='text'>Overlay in QC/Cocoa</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: large;"&gt;15 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We did our dry runs when we got to the office. Kevin arrived at 11.30am and we discussed about the "Drawing Board" application before we presented to him. Kevin gave us comments on our presentations and a few more tips before going for lunch.&lt;br /&gt;&lt;br /&gt;After lunch, we collected the stuff from SIGGRAPH Asia 2008 from Kevin's desk and brought it back to our "working space". After bringing back the stuff, I studied the Overlay example to see how the overlaying is done in Quartz Composer for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;16 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's a rainy day today, which made most of us pretty sleepy. We started the day by having breakfast in the pantry, where we met Kevin and his parents. After breakfast, we went back to our "working space" to continue researching on the overlay. Before lunch, we had a short discussion with Kevin regarding what we would be doing on Friday. It was decided that Ryan, Leonard and You Hock would be presenting to the kids while I toggle between the applications.&lt;br /&gt;&lt;br /&gt;After lunch, Ming Hong got a call that the Lightdraw at Fusionworld had some problems. So we went there to get it fixed. After troubleshooting, we realized that the projector's setting was changed. Ming Hong adjusted the projector's setting and the application was working fine.&lt;br /&gt;&lt;br /&gt;Went back to our "working space" to continue researching on the overlay. After much research, the overlay is actually done by making the application's window transparent. At the end of the day, I managed to find the codes to make the window look transparent in Cocoa. Shall implement the codes tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;17 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Reached the office as usual and continued with the overlay. We managed to make the application's window background to be semi-transparent and set it to full screen upon running before lunch. This was done with the help of &lt;a href="http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html#//apple_ref/doc/uid/20000013"&gt;this website&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;After lunch, I tested the application to see if I could load a OSC-based Quartz Composer application in Cocoa with my 'CaterpillarOSC' application. However, it isn't working as expected. So I did some research and found out that I may require an OSC framework plugin to be added to the Cocoa application. Found the plugin from &lt;a href="http://www-ccrma.stanford.edu/~woony/software/wsosc/"&gt;this website&lt;/a&gt; and downloaded it.&lt;br /&gt;&lt;br /&gt;I tested the application again by loading another OSC-based Quartz Composer application, '4 Player Pong', in Cocoa to test it. This time it worked. However, the positioning of the application is off. So I guess we have to revise the positioning of the application.&lt;br /&gt;&lt;br /&gt;At the end of the day, we were able to make the 'Overlay' application to be on top of all the applications by specify the window’s level to NSScreenSaverWindowLevel. We were also able to set the position for the Quartz Composer application in Cocoa by setting some properties in Cocoa.&lt;br /&gt;&lt;br /&gt;On a side note, I've changed my wallpaper and the dock's position. Here's a picture of my new wallpaper and the overlay running on it:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SUtIm6j6yPI/AAAAAAAAA3s/U4SWM_g4B4s/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SUtIm6j6yPI/AAAAAAAAA3s/U4SWM_g4B4s/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5281394821414177010" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SUtIpXN4zgI/AAAAAAAAA30/O9FbyjmLFoY/s1600-h/Picture+5.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SUtIpXN4zgI/AAAAAAAAA30/O9FbyjmLFoY/s320/Picture+5.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5281394863466139138" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;18 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We planned for the 'Whiteboard' application when we arrived and here are our assigned tasks - Leonard is in-charge of the palette design, Ryan is in-charge of dragging the image, thrashing, idling and removing of image, You Hock is in-charge of integrating the application with OSC, the drawing and erasing while I am in-charge of toggling the application/overlay on and off. However, Leonard and I would help both Ryan and You Hock once we are done with our parts.&lt;br /&gt;&lt;br /&gt;After the planning, we went ahead to do with our individual task(s). I brainstormed for ways for toggling the application and managed to come up with 2 ways before lunch. First way is by using Apple's hot spots, but we have to toggle 'Lightdraw' to X11 mode in order to make use of the hot spots. The second way is to assign a small space in the corner of the screen to just toggle the overlay. I guess I'll have to wait for Ming Hong to be back so that I could get a brief idea on how he toggle his 'Drawing' application.&lt;br /&gt;&lt;br /&gt;After lunch, we experimented with out of body experience. However, we did not get the expected result. So we googled for some experiments and learnt more about the out of body experiences. Here's a video on one of the experiments:&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/4PQAc_Z2OfQ&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/4PQAc_Z2OfQ&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;A short while later, Kevin came in and informed us that all of us needed to present tomorrow instead of the initial 3 person. So we spent the rest of the day doing dry runs of the presentation and set up the applications needed for the demo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;19 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's Friday and IHPC has a Project Reachout 'Back-To-School Celebration' with Beyond Social Services. Kevin came in early to pass us our name tags and taught us how we should present to them. We also received the schedule for the day, the first demo is starting at 10.15am. This timing was earlier than expected because the past demo are mostly after lunch. Luckily we did our dry runs for the presentation yesterday.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SU7w68C3GEI/AAAAAAAAA5c/Hxw942EDa1A/s1600-h/n617656172_1273092_9679.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SU7w68C3GEI/AAAAAAAAA5c/Hxw942EDa1A/s320/n617656172_1273092_9679.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5282424308293376066" /&gt;&lt;/a&gt;&lt;br /&gt;The kids reached around 10am and were seated in the Visualization Chamber Hall.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SU7v-u-r7RI/AAAAAAAAA5U/IZjyLRm3rkY/s1600-h/n617656172_1273095_554.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SU7v-u-r7RI/AAAAAAAAA5U/IZjyLRm3rkY/s320/n617656172_1273095_554.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5282423273994054930" /&gt;&lt;/a&gt;&lt;br /&gt;We demo-ed from 10.15am to 12.15pm(Kevin did most of the talking) and helped the kids with their crossword puzzle before going to the pantry for lunch. IHPC ordered McDonalds and it was delivered in a huge box. It's my first time seeing McDonald's Delivery delivering in boxes.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SU7v-cRkloI/AAAAAAAAA5M/RvITqMLHQes/s1600-h/n617656172_1273094_279.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SU7v-cRkloI/AAAAAAAAA5M/RvITqMLHQes/s320/n617656172_1273094_279.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5282423268972992130" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SU7v-GONW1I/AAAAAAAAA5E/BOZKTINNaxo/s1600-h/n617656172_1273093_9984.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SU7v-GONW1I/AAAAAAAAA5E/BOZKTINNaxo/s320/n617656172_1273093_9984.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5282423263053306706" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SU7v9zVo6VI/AAAAAAAAA48/XhzRDLMFM_Q/s1600-h/n617656172_1273096_838.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SU7v9zVo6VI/AAAAAAAAA48/XhzRDLMFM_Q/s320/n617656172_1273096_838.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5282423257984198994" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, we helped to transport the gifts for the kids down to the seminar room in level 15 and arranged them. We ushered the kids to the seminar room and the staff began distributing the gifts to the kids before watching the movie 'Surf's Up'.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SU7v9t4u8RI/AAAAAAAAA40/hlp_F69QJes/s1600-h/n617656172_1273097_1127.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SU7v9t4u8RI/AAAAAAAAA40/hlp_F69QJes/s320/n617656172_1273097_1127.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5282423256520782098" /&gt;&lt;/a&gt;&lt;br /&gt;We headed back to our lab because we wanted to rest. After the movie, the kids came back down to the Visualization Chamber Hall to take a group photo before heading to the pantry for tea-break. And this was how we spent the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This week has been a rather fruitful week for me. I've learnt how to adjust the windows properties in Cocoa and even did an overlay in Quartz Composer. However, what left a better impression on me was what we did on Friday. &lt;br /&gt;&lt;br /&gt;Unlike in secondary school, which community service was a compulsory thing, we hardly get to do community service work in Polytechnic. Luckily for me, I've done some community work through my 3 years in Polytechnic. This would be the first local community work as the community work I've done so far in my Polytechnic are overseas. One of the volunteers told us that we were very lucky to help out as this was a 'once-in-a-year thing'. I guess we are. We were also able to make use of this chance to work on our presentation skills by practicing and trying to pick up more tips from Kevin.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-7774890710435462446?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/7774890710435462446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=7774890710435462446' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/7774890710435462446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/7774890710435462446'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/12/overlay-in-qccocoa.html' title='Overlay in QC/Cocoa'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_c-QPdDtb340/SUtIm6j6yPI/AAAAAAAAA3s/U4SWM_g4B4s/s72-c/Picture+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-1526650855300779859</id><published>2008-12-12T09:01:00.012+08:00</published><updated>2008-12-15T10:03:15.756+08:00</updated><title type='text'>SIGGRAPH Asia 2008 Week</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;8 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;No work today as it's a public holiday. Selamat Hari Raya Haji!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;9 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Met up with Kevin after breakfast to discuss about our plans for this week as Kevin, Ming Hong and Bernard would be busy with SIGGRAPH Asia 2008. We would be working on our presentation slides as well as brainstorm for our new application. Leonard and You Hock would be learning Quartz Composer too.&lt;br /&gt;&lt;br /&gt;After the planning, we received the installation disc for iWork and Microsoft Office for Mac so that we could work on our presentation slides. After the installation, we went over to try out the Smartboard to get inspiration for our new application. Here's a picture of what we drew on the Smartboard before going for lunch:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SUG9qRXBB1I/AAAAAAAAA18/mQOsZqq1HEE/s1600-h/n617656172_1235879_6823.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SUG9qRXBB1I/AAAAAAAAA18/mQOsZqq1HEE/s320/n617656172_1235879_6823.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278708772167026514" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, we watched videos on Steve Jobs on iTunes because Leonard did not watch it with us the last time. We were told to take note especially on how Steve Jobs present. Here's on of the video we watched:&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/UF8uR6Z6KLc&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/UF8uR6Z6KLc&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Passed my Quartz Composer notes to Leonard after watching the video so that he could start picking up Quartz Composer as soon as possible. We then brainstormed for our new application for the rest of the day. Will share what we had brainstormed on our new application to Kevin next week after SIGGRAPH Asia 2008.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;10 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We worked on our presentation slides for the entire day. I decided to use Keynote instead of Microsoft Powerpoint because:&lt;ol&gt;&lt;br /&gt;&lt;li&gt;I wanted to try out Keynote.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;I prefer the animations in Keynote to the ones in Microsoft Powerpoint&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Keynote is not as complex as Microsoft Powerpoint&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;Had some trouble of getting used to Keynote as it was new to me. However, I managed to adapt to it quickly as it was pretty user-friendly. Here's a sneak peak at my presentation for Monday:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SUHB_Oo99OI/AAAAAAAAA2E/J8jlIcz6Rv0/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 230px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SUHB_Oo99OI/AAAAAAAAA2E/J8jlIcz6Rv0/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5278713530260780258" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;11 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Attended SIGGRAPH Asia 2008 at Suntec Singapore International Convention &amp;amp; Exhibition Centre. It is the first ACM SIGGRAPH Conference and Exhibition on Computer Graphics and Interactive Techniques in Asia. There were lots of projects there, mainly animations and visualization. I guess I'll let the pictures do the talking:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SUHKIQNZytI/AAAAAAAAA3U/gkAylAxzlik/s1600-h/n617656172_1244951_895.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SUHKIQNZytI/AAAAAAAAA3U/gkAylAxzlik/s320/n617656172_1244951_895.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722481393879762" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SUHKH8R0P4I/AAAAAAAAA3M/oZqqTOFW5p8/s1600-h/n617656172_1244941_8503.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SUHKH8R0P4I/AAAAAAAAA3M/oZqqTOFW5p8/s320/n617656172_1244941_8503.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722476043681666" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SUHKH7NDotI/AAAAAAAAA3E/VTz-6xARnfM/s1600-h/n617656172_1244950_655.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SUHKH7NDotI/AAAAAAAAA3E/VTz-6xARnfM/s320/n617656172_1244950_655.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722475755283154" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SUHKHtTy9ZI/AAAAAAAAA28/9OR5d0E5fB0/s1600-h/n617656172_1244943_8978.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SUHKHtTy9ZI/AAAAAAAAA28/9OR5d0E5fB0/s320/n617656172_1244943_8978.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722472025453970" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SUHKHVM87XI/AAAAAAAAA20/tkUBR8I8eC8/s1600-h/n617656172_1244944_9211.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SUHKHVM87XI/AAAAAAAAA20/tkUBR8I8eC8/s320/n617656172_1244944_9211.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722465554296178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SUHJ1mtzzlI/AAAAAAAAA2s/SOywlU0xxGQ/s1600-h/n617656172_1244945_9438.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SUHJ1mtzzlI/AAAAAAAAA2s/SOywlU0xxGQ/s320/n617656172_1244945_9438.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722161017867858" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SUHJ1sUNorI/AAAAAAAAA2k/MjnhQ4LucAc/s1600-h/n617656172_1244949_410.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SUHJ1sUNorI/AAAAAAAAA2k/MjnhQ4LucAc/s320/n617656172_1244949_410.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722162521121458" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SUHJ1fbKS9I/AAAAAAAAA2c/_k0pD8h4NKw/s1600-h/n617656172_1244946_9682.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SUHJ1fbKS9I/AAAAAAAAA2c/_k0pD8h4NKw/s320/n617656172_1244946_9682.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722159060601810" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SUHJ1HTzw3I/AAAAAAAAA2U/N9NgNYXd3Qo/s1600-h/n617656172_1244947_9923.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SUHJ1HTzw3I/AAAAAAAAA2U/N9NgNYXd3Qo/s320/n617656172_1244947_9923.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722152587314034" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SUHJ1C7t_sI/AAAAAAAAA2M/ApwQOp8GTdA/s1600-h/n617656172_1244948_163.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SUHJ1C7t_sI/AAAAAAAAA2M/ApwQOp8GTdA/s320/n617656172_1244948_163.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5278722151412530882" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;12 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Worked on our presentations for the entire day. I finished doing my presentation slides before lunch and did a dry run of our presentations. After the dry run, I realized that I should prepare a script. Wrote my script and practiced it for a few times before we ended our day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It had really been an eye-opening experience for me at SIGGRAPH Asia 2008, experiencing some of the technologies which I haven't had the slightest idea of. I had learnt quite some stuff about computer graphics such as rendering of 3D models and how NVIDIA® Quadro® is build for providing better rendering in Adobe® Creative Suite® 4.&lt;br /&gt;&lt;br /&gt;Presentation-wise, I've chosen to use iWork Keynote to Microsoft Powerpoint. Keynote provides better animation, visual effects and is user-friendly. The animation and visual effects from Keynote would help in my presentation by allowing my listeners to remember what I had presented better.&lt;br /&gt;&lt;br /&gt;On a side note, I think I'm becoming more a an Apple fan after using the iMac for almost 2 months. iMac's OS have always kept me amazed. Here's a screenshot of the interface which amazed me:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SUW2LcpidWI/AAAAAAAAA3k/zeYMevE5LAY/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 212px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SUW2LcpidWI/AAAAAAAAA3k/zeYMevE5LAY/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5279826445947008354" /&gt;&lt;/a&gt;&lt;br /&gt;The UI for Mac is simply good. It's no wonder the UI for Microsoft's latest OS, Windows 7, looks exactly the same as the Mac's UI.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-1526650855300779859?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/1526650855300779859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=1526650855300779859' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/1526650855300779859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/1526650855300779859'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/12/siggraph-asia-2008-week.html' title='SIGGRAPH Asia 2008 Week'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_c-QPdDtb340/SUG9qRXBB1I/AAAAAAAAA18/mQOsZqq1HEE/s72-c/n617656172_1235879_6823.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-7993732864370702219</id><published>2008-12-05T15:16:00.008+08:00</published><updated>2008-12-10T14:40:32.749+08:00</updated><title type='text'>Completion of 4PP(4 Player Pong)</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;1 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Arrived the usual time, but was unable to access the office because the time I reached was not within 'office hours'. Luckily, the pantry auntie saw me and opened the door for me. So I continued doing with the scoring feature of 4PP(the short form for 4 Player Pong). Not long after, the rest arrived. I asked them if they had any problems accessing the office, and they said no. I test my card again during lunch and it works fine. So I guess that our card could only access the office after 8.30am. I guess I need to go find the person in charge to change the card's timing.&lt;br /&gt;&lt;br /&gt;For the rest of the day, I worked on checking which paddle has the last touch of the ball.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;2 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the morning, Ryan and I set up Lightdraw using You Hock's MacBook Pro so that Ryan could continue working on his part.This is because Leonard and You Hock needed the Mac Pro for the 2x3 Tile Display. We used the DV cam instead of the webcam because the webcam is not able to change its settings. After setting up, I continued working on the score function for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;3 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Showed Kevin our progress for 4PP and continued to work on the score function till lunch. As I was not progressing much due to the limitations of Quartz Composer, I decided to ask Kevin for help. So after Kevin finished his meeting, he came over and taught me how to debug my application by displaying the value. With Kevin's help, I managed to finish the score feature. I also proceed on to display the winning message. You Hock and Leonard suggested that I make the winning message flash. So I managed to make the winning message flash by the end of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;4 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ryan and I integrated our parts together as soon as we arrived in the morning. We managed to integrate our parts successfully before lunch. Bernard and Ming Hong also tested it before we head out for lunch.&lt;br /&gt;&lt;br /&gt;After lunch, Ryan and I help You Hock to set up Lightdraw at the 2x3 tile display as Leonard wasn't here due to his National Service medical check-up. After setting up and testing You Hock's work in the 2x3 tile display side, Kevin called us over and shared about how he presents his work. He also showed us how Steve Jobs influenced him in his presentation by letting us watch a video on how Steve Jobs presented.&lt;br /&gt;&lt;br /&gt;After the sharing, Ryan and I showed our integrated 4PP to Kevin. Kevin gave us some comments on how to improve the gameplay. Ryan and I agreed to make the changes and finish it by tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;5 December 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ryan and I worked on the changes agreed yesterday. We started by doing the display score function. I displayed the score in front of the paddles as suggested by Kevin. However, Leonard and Ryan suggested that the game would look better if we display the score in the 4 corners and use the paddle colors to identify the scores. So I did as what they suggested. While doing so, Ryan and I discovered a bug in our application, the score for the blue paddle was wrong. Spent the whole morning debugging and we managed to solve the bug before lunch.&lt;br /&gt;&lt;br /&gt;After lunch, we worked on getting the game to start once the laser is shone on the ball. We managed to finish this feature by mid-afternoon and spent the rest of the day compiling the applications needed for SIGGRAPH Asia 2008 Conference next week. Here's a picture of our final application:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/ST9kQ8G-p_I/AAAAAAAAA10/pjoX9SHopgI/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 272px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/ST9kQ8G-p_I/AAAAAAAAA10/pjoX9SHopgI/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5278047530477594610" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I've learnt how important it is to know how to debug, regardless of the IDE and programming language. For example, if I knew how to debug in Quartz Composer earlier, I could have help Ryan on his part and finish the whole application faster.&lt;br /&gt;&lt;br /&gt;I had also picked up quite a handful of tips on how to do a presentation. Apart from what we had learnt in CMSK(a module in school) and the practices we had after every module, what Kevin shared with us would help me in how I am going to present in the future - less words on slides, more talk.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-7993732864370702219?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/7993732864370702219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=7993732864370702219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/7993732864370702219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/7993732864370702219'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/12/completion-of-4pp4-player-pong.html' title='Completion of 4PP(4 Player Pong)'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_c-QPdDtb340/ST9kQ8G-p_I/AAAAAAAAA10/pjoX9SHopgI/s72-c/Picture+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-5549817713204457911</id><published>2008-11-26T09:42:00.012+08:00</published><updated>2008-12-03T16:35:01.469+08:00</updated><title type='text'>4-Player Pong in Quartz Composer</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;24 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Met Kevin while I went to collect the keys to open the "working space". He had returned from the Conference in the US and passed me some souvenirs he got for us. These are what he brought back for us:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SSysauPheVI/AAAAAAAAA0Q/k96YBQEseqA/s1600-h/IMAGE_038.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SSysauPheVI/AAAAAAAAA0Q/k96YBQEseqA/s320/IMAGE_038.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272778838833723730" /&gt;&lt;/a&gt;&lt;br /&gt;Rested at my desk after opening until the rest returned from breakfast. I did not join them for breakfast as I was feeling unwell. I continued with the sample application to get a better idea of Quartz Composer. Managed to get the sample application to work the the Lightdraw through the OSC receiver.&lt;br /&gt;&lt;br /&gt;After finishing, I helped Ming Hong in setting up the new DV Cam. Here's our new DV Cam:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SSysUr0n4zI/AAAAAAAAA0I/m7gJ7SgU8GU/s1600-h/IMAGE_037.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SSysUr0n4zI/AAAAAAAAA0I/m7gJ7SgU8GU/s320/IMAGE_037.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272778735104811826" /&gt;&lt;/a&gt;&lt;br /&gt;We had some problems in getting it to work after setting up. So we requested help from Cheng Teng. After fiddling with the camera and its settings, we were able to get it working with Lightdraw before lunch.&lt;br /&gt;&lt;br /&gt;After lunch, I continued working on the '4 Player Pong' on Quartz Composer while Ryan tried to modify the existing Lightdraw application,'Coverflow Gestures', for the rest of the day. The interface of the '4 Player Pong' and the modification of the 'Coverflow Gesture'  application were done by the end of the day. Here's the interface for the '4 Player Pong' on Quartz Composer:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SSysUWBlB1I/AAAAAAAAAz4/rWhiYJFAx2I/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 274px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SSysUWBlB1I/AAAAAAAAAz4/rWhiYJFAx2I/s320/Picture+2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5272778729253570386" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;25 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Joined the rest for breakfast today as I was feeling slightly better. Continue to work on the '4 Player Pong' after breakfast. Studied the javascript patches on the examples I had downloaded and tried to do something similar, but was unsuccessful due to the difference in versions. So at around 11.30am, we started setting up the applications we needed for the demo to Kevin before having lunch.&lt;br /&gt;&lt;br /&gt;After lunch, we went to check whether the applications we needed were there for the demo. So around 2.30pm, Kevin came over and we showed him the applications we did for the past weeks. We also gave him an update on our progress so far. As soon as we finished the demo, Kevin brought us to visit Fusionworld, a state-of-the-art technology showroom by A*STAR. It's a very cool place. We visited there to check the set up for Lightdraw, so that You Hock and Leonard could get a rough idea on how to set up Lightdraw on the 3x2 Tile Display. We've also tried the "legendary touch table". Shall not comment on it much. Here are some pictures I took there: &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SSysUMVtjJI/AAAAAAAAAzw/TSNnSf_OZ6I/s1600-h/IMAGE_040.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SSysUMVtjJI/AAAAAAAAAzw/TSNnSf_OZ6I/s320/IMAGE_040.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272778726653660306" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SSysTwxE-II/AAAAAAAAAzo/Y9Kfn6TOVtQ/s1600-h/IMAGE_041.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SSysTwxE-II/AAAAAAAAAzo/Y9Kfn6TOVtQ/s320/IMAGE_041.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272778719252248706" /&gt;&lt;/a&gt;&lt;br /&gt;We got back to our work after the tour of Fusionworld. Ryan and I struggled getting the javascript to work for the rest of the day. I hope we could get something to work by tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;26 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Breakfast as usual with the rest before heading back to work. I was studying the applications I downloaded and decided to work with the existing patches in Quartz Composer instead of javascript. So by lunch time, I was able to get the ball to move.&lt;br /&gt;&lt;br /&gt;After lunch, Bernard and Ming Hong brought us to visit the 'interns level' on level 14 before going to the sky gardens. Level 14 is totally different working environment from the environment we are in. After visiting level 14, I do really feel very lucky to be here working on Lightdraw. And Bernard have been joking about sending us to level 14 if we are unable to complete our tasks on time. Oh wells. Here are some pictures we took there:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SS3qZZ-B8hI/AAAAAAAAA0o/fJMNhmm5FuA/s1600-h/IMAGE_042.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SS3qZZ-B8hI/AAAAAAAAA0o/fJMNhmm5FuA/s320/IMAGE_042.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5273128460909408786" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SS3qYvZ3knI/AAAAAAAAA0g/rWsvJClfh3s/s1600-h/IMAGE_044.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SS3qYvZ3knI/AAAAAAAAA0g/rWsvJClfh3s/s320/IMAGE_044.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5273128449483444850" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SS3qYOTKcUI/AAAAAAAAA0Y/4FkVDNlN4Bk/s1600-h/n713904135_1718354_7747.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SS3qYOTKcUI/AAAAAAAAA0Y/4FkVDNlN4Bk/s320/n713904135_1718354_7747.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5273128440596951362" /&gt;&lt;/a&gt;&lt;br /&gt;Went to look for Kevin to give him an update on our progress after touring the building. Then we continued doing our work. Having some trouble to give the moving ball a constant speed after changing directions. The codes we used in the C++ version of '4 Player Pong' does not work nicely here in Quartz Composer. So I worked on getting the ball to move in a constant speed after changing direction for the entire day. However, I was still unsuccessful at the end of the day. Hopefully, I could complete this task by tomorrow and start doing the collision-checking between the ball and the paddles.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;27 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Kevin and the rest are having their company retreat, so we were left to do our work by ourselves for the rest of the day. I tried getting the ball to move in random directions before lunch, but was unsuccessful. This is due to LFO patch not accepting negative values.&lt;br /&gt;&lt;br /&gt;We had lunch by ourselves at the Dover Market nearby. The chicken rice there was great. Headed back to work after lunch. I decided to move on to working on other functions as I do not want to spend too much time on developing the '4 Player Pong' game because we still have other applications to work on. So I did the collision checking between the ball and the paddle for the rest of the day. Managed to check the collision for 1 paddle successfully at the end of the day. Hopefully, I could finish my part of the application by tomorrow so that Ryan and I could integrate our parts together.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;28 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I continued with the paddles' collision checking after breakfast. Managed to finish the collision checking before lunch. On our way out to buy lunch, we 'upgraded' our visitor's pass to a temporary pass(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;woots!&lt;/span&gt;). We packeted our lunch back from the hawker centre opposite Fusionopolis as the weather wasn't looking good.&lt;br /&gt;&lt;br /&gt;After lunch, I tried to pause the application after the ball went out of bounds. Did some research, but wasn't able to implement it at the end of the day. Will do it by Monday. Kevin and the rest had a demo on Lightdraw and the 3x2 tile display to the JC students at 2pm. After the demo, we ended the day by having a meeting to update Kevin on our progress so far and the plan for next week.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This week has been quite a struggle with the Quartz Composer. Perhaps I'm still not used to visual programming. Hopefully I'll get used to it by next week. I had also discovered a few things about Quartz Composer, like Quartz Composer is running on a while loop and some limitations like being unable to store a variable after generating a random number. However, all programming languages has its own limitations and we are taught to work around those limitations(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;at least for me as my Major Project is done in a programming language not taught in school&lt;/span&gt;). The journey here at IHPC has been very fruitful so far, and I hope that I will get to learn more in the next few months.&lt;br /&gt;&lt;br /&gt;On a side note, I tested out something on the iMac after reading about it on Digital Life. We could actually play 'Tetris' on the Terminal. Here's a screenshot of it and the steps taken:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SSysUQncYvI/AAAAAAAAA0A/U6PlE17NOVg/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 232px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SSysUQncYvI/AAAAAAAAA0A/U6PlE17NOVg/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5272778727801774834" /&gt;&lt;/a&gt;&lt;br /&gt;Steps taken To Play Tetris on Terminal:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Open Terminal(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;duh&lt;/span&gt;)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Type in 'emacs' and press Enter&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Once it's loaded, press Esc&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Type 'x'(At the bottom of the screen, you'll see M-x)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Type tetris and press Enter(you are ready to play!)&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Steps Taken to Exit Tetris on Terminal:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Press Control-X&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Press Control-C&lt;/li&gt;&lt;/ol&gt;Hope this helps. Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-5549817713204457911?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/5549817713204457911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=5549817713204457911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/5549817713204457911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/5549817713204457911'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/11/24-november-2008-met-kevin-while-i-went.html' title='4-Player Pong in Quartz Composer'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_c-QPdDtb340/SSysauPheVI/AAAAAAAAA0Q/k96YBQEseqA/s72-c/IMAGE_038.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-6082081463137065073</id><published>2008-11-18T17:12:00.018+08:00</published><updated>2008-11-24T09:25:37.686+08:00</updated><title type='text'>Working with Quartz Composer</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;17 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First day of the week again. Kevin is not around as he flew off to the USA for a conference. I started of the day by having breakfast with Bernard opposite Fusionopolis. After breakfast, I tried to make the 'Pong' game start when a laser is detected instead of pressing the spacebar. It doesn't work because Ming Hong said that it is due to the 'cvWaitkey()'. So I used the 'usleep()' method instead of the 'cvWaitkey()' and it worked fine. Ming Hong also showed us a video from a website. Here's the video:&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;object width="400" height="225"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2229299&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1"&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=2229299&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;a href="http://vimeo.com/2229299"&gt;g-speak overview 1828121108&lt;/a&gt; from &lt;a href="http://vimeo.com/user922585"&gt;john underkoffler&lt;/a&gt; on &lt;a href="http://vimeo.com/"&gt;Vimeo&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Cool huh? Click &lt;a href="http://oblong.com/" target="_blank"&gt;here&lt;/a&gt; to find out more. Bought lunch from the 'Market Place' after watching the video as it was raining. After lunch, I worked on getting the paddles to move smoother; I reduced the movement to just 2% of the canvas's height. It seems to be moving a lot smoother compared to the last version. However, Leonard commented that the movement seemed a little slow. So I guess I'll fix that tomorrow or something.&lt;br /&gt;&lt;br /&gt;Ryan spent the entire day trying to make the paddle move towards the laser while Leonard and You Hock worked on the 3x2 tile display. Here are some pictures of them working on the 3x2 tile display:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SSKHn9jgl5I/AAAAAAAAAwA/Cxzb_BxPd0w/s1600-h/n617656172_1162864_858.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SSKHn9jgl5I/AAAAAAAAAwA/Cxzb_BxPd0w/s320/n617656172_1162864_858.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5269923634585048978" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SSKHnf9W5GI/AAAAAAAAAv4/yLutR_xqDtg/s1600-h/n617656172_1162863_568.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_c-QPdDtb340/SSKHnf9W5GI/AAAAAAAAAv4/yLutR_xqDtg/s320/n617656172_1162863_568.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5269923626640401506" /&gt;&lt;/a&gt;&lt;br /&gt;By the end of the day, Ryan only managed to make the paddle 'teleport' to where the laser was shone while I managed to read up on 3 chapters of the Quartz Composer notes given by Kevin. Shall try to complete reading and doing the tutorials on Quartz Composer by tomorrow so that we could start working on the application in Quartz Composer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;18 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Had breakfast with Bernard in the morning again. However, we were joined by Ryan, You Hock and Leonard. After breakfast, I started to do the tutorials for Quartz Composer. I followed the tutorial closely and managed to make my composition into a screensaver and a QuickTime Movie. Here are some screenshots of my work before lunch:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SSSu7y79x2I/AAAAAAAAAwg/_d6DK0l0tys/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SSSu7y79x2I/AAAAAAAAAwg/_d6DK0l0tys/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5270529806239123298" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SSSu9EjSmQI/AAAAAAAAAwo/7URZGBIvFa4/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SSSu9EjSmQI/AAAAAAAAAwo/7URZGBIvFa4/s320/Picture+2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5270529828147337474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SSSu963VN_I/AAAAAAAAAww/mUII7joiapU/s1600-h/Picture+3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SSSu963VN_I/AAAAAAAAAww/mUII7joiapU/s320/Picture+3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5270529842726909938" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SSSu-xnM2jI/AAAAAAAAAw4/mXMlu76OiQU/s1600-h/Picture+4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SSSu-xnM2jI/AAAAAAAAAw4/mXMlu76OiQU/s320/Picture+4.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5270529857423202866" /&gt;&lt;/a&gt;&lt;br /&gt;Continued on the tutorials after lunch. Managed to create 3 Cocoa applications based on the tutorials. The first example was fine, but I faced some problems on the second example. After I completed the second example and ran it, the example did not work properly. So I tried re-doing but still faced the same problem. So I decided to skip and move on. So by the end of the day, these are the Cocoa applications that I did:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SSSxg5vxY_I/AAAAAAAAAxA/D_uqcVYKReg/s1600-h/Picture+3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 254px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SSSxg5vxY_I/AAAAAAAAAxA/D_uqcVYKReg/s320/Picture+3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5270532642745443314" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SSSxhMUD4nI/AAAAAAAAAxI/trNII6W5pis/s1600-h/Picture+4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 251px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SSSxhMUD4nI/AAAAAAAAAxI/trNII6W5pis/s320/Picture+4.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5270532647729488498" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SSSxhXBNURI/AAAAAAAAAxQ/TR42kAuq0U8/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 254px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SSSxhXBNURI/AAAAAAAAAxQ/TR42kAuq0U8/s320/Picture+1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5270532650603204882" /&gt;&lt;/a&gt;&lt;br /&gt;So I'm left with the last 2 chapters of the tutorial. Shall complete it before lunch tomorrow and start fixing our 'Pong' game before converting it in Quartz Composer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;19 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Had breakfast with Bernard and the rest again today. After breakfast, I continued with my final 2 chapters of the tutorial. Had some difficulties with the first tutorial because the tutorial did not really give very clear directions on where to find the example files to edit. Managed to find the file and complete the 2 tutorials before lunch.&lt;br /&gt;&lt;br /&gt;Wanted to continue fixing our 'Pong' game after lunch. However, I encountered some problems because the function I did 2 days ago, doesn't seem to work. The game does not start when it detects the laser. I still needed to press a key on the keyboard before the game starts. Ming Hong tried to help by using the Lightdraw's key listener for Mac. The game starts when a laser is shone, but is unable to exit because the key listener does not read from the keyboard(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;according to Ming Hong&lt;/span&gt;). At the end of the day, we decided to revert back to the previous version and ignore the laser problem. We had to move on to the Quartz Composer soon. Will start working for the 'Pong' on Quartz Composer by tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;20 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Met up with Bernard and the rest for breakfast in the office again. After breakfast, Ryan and I wanted to test and fix the 'Pong' game. However, we were unable to test it because there was a meeting going on. So I tried to get Lightdraw to work with one of the example provided in Quartz Composer. The example application was working fine with the X11, but I would like it to work with the OSC to enable a multi-user mode. With reference from the 'Clouds Multi-User' application, I tried doing it but was unsuccessful when tested.&lt;br /&gt;&lt;br /&gt;Had lunch after testing and was asked by Ming Hong to try fixing the existing Quartz Composer's applications to work with the existing Lightdraw. He explained to me what was the difference between the old and the new Lightdraw. Here are the differences:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;blobCount now sends an &lt;span class="Apple-style-span" style="font-style: italic;"&gt;int&lt;/span&gt; of 0-12 instead of 1-12&lt;/li&gt;&lt;li&gt;hold now is a &lt;span class="Apple-style-span" style="font-style: italic;"&gt;string&lt;/span&gt; type instead of a &lt;span class="Apple-style-span" style="font-style: italic;"&gt;boolean&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;After understanding the differences, I tested the Quartz Composer applications with the new Lightdraw. The 'Clouds Multi-User', 'Teapot 3D' and 'RollsRoyce 3D' application are working fine with the new Lightdraw as they do not require the hold function. So I spent the rest of the day studying the 'Fusionworld' application. Hopefully I could fix it by tomorrow before lunch as some kids will be coming over in the afternoon.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;21 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Arrived early, but did not have breakfast with Bernard as he already ate. So I continued to study before modifying 'Fusionworld' application to make it work with the new Lightdraw. Before lunch, I managed to finish modifying the application. Waited till after lunch to test it. The application works with the new Lightdraw(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;yay!&lt;/span&gt;). However, only the 3D models are not displaying properly. The images and videos are all working fine. Ming Hong and Cheng Teng tried to see what was wrong, but was unsuccessful.&lt;br /&gt;&lt;br /&gt;We decided to leave the application as it is and set up for 'Bring your kids to work day', where those working in IHPC could bring their kids to work for a day. The applications used for showing Lightdraw to the kids were:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Google Earth&lt;/li&gt;&lt;li&gt;Cooliris&lt;/li&gt;&lt;li&gt;Puzzle Game&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Drawing Board&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Here are the pictures I took for the day:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SSn7AedgLHI/AAAAAAAAAxo/PvmYIlpg_rQ/s1600-h/IMAGE_029.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SSn7AedgLHI/AAAAAAAAAxo/PvmYIlpg_rQ/s320/IMAGE_029.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272020824409255026" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SSn7BKmTjTI/AAAAAAAAAyA/n0_e-MhldGE/s1600-h/IMAGE_032.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SSn7BKmTjTI/AAAAAAAAAyA/n0_e-MhldGE/s320/IMAGE_032.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272020836257336626" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SSn7A-XMrzI/AAAAAAAAAx4/LdGBQPkSKGU/s1600-h/IMAGE_031.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_c-QPdDtb340/SSn7A-XMrzI/AAAAAAAAAx4/LdGBQPkSKGU/s320/IMAGE_031.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272020832972746546" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SSn7AqRwOII/AAAAAAAAAxw/PR46Loz8-o8/s1600-h/IMAGE_030.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SSn7AqRwOII/AAAAAAAAAxw/PR46Loz8-o8/s320/IMAGE_030.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5272020827581200514" /&gt;&lt;/a&gt;&lt;br /&gt;After the demo, we had some light refreshments in the pantry. After having our fill, I continued working on the sample application. By the end of the day, I was still unable to get the sample application to work with the OSC. I guess I'll continue with on Monday and get it to work by Monday.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Learning a new programming language is never a simple task. Although we were given tutorials and notes, the best approach to learning a new programming language is still hands-on.&lt;br /&gt;&lt;br /&gt;So my week was spent on learning the Quartz Composer, a node-based visual programming language provided as part of the Xcode development environment in Mac OS X v10.4 "Tiger" and Mac OS X v10.5 "Leopard" for processing and rendering graphical data(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;taken from wikipedia&lt;/span&gt;). Picking up this programming language is no easy task as "codings" are kept to the minimal. However, I managed to understand it rather quickly as I was given notes and tutorials on it. Moreover, help is easily available online.&lt;br /&gt;&lt;br /&gt;I've heard that interns here have a 'special' floor in Fusionopolis where all interns are assigned to that level. However, Ryan, Leonard, You Hock and I are thankful that we were not on the same 'special' floor as them because we get a chance to experience more things than them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-6082081463137065073?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/6082081463137065073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=6082081463137065073' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/6082081463137065073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/6082081463137065073'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/11/working-with-quartz-composer.html' title='Working with Quartz Composer'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_c-QPdDtb340/SSKHn9jgl5I/AAAAAAAAAwA/Cxzb_BxPd0w/s72-c/n617656172_1162864_858.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-4986689580517273831</id><published>2008-11-13T08:30:00.014+08:00</published><updated>2008-11-17T10:02:58.123+08:00</updated><title type='text'>Making Pong Multi Player</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;10 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Upon reaching, I switched on the iMac and ran Linux on it. After some time, I realized that there was a problem with the mouse. The single click in Linux became a double click, which hindered me in doing my work in Linux. At first, I thought that something was wrong with my mouse. So I switched mouse with Ryan and Linux still gave me the same problem. With that, I conclude that there's some problem with the Linux OS.&lt;br /&gt;&lt;br /&gt;I then switched back onto the Mac OS and did my work on it. After awhile, Ming Hong said that he had to modify the Lightdraw codes, so we had to wait for him to complete. Read up on some news while waiting for him. Ming Hong did not take long to modify Lightdraw and passed us the new Lightdraw and the codes for his laser-matching algorithm.&lt;br /&gt;&lt;br /&gt;We worked on integrating with our current application with the new Lightdraw for the rest of the day as there were several lines of codes that we needed to modify. By the end of the day, we managed to integrate with the newer version of Lightdraw and added in the codes for laser-matching. We will test out the laser-matching function tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;11 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Kevin informed me that Ming Hong would not be here for today when I went to take the keys for the 'working space'. So when the rest arrived, I told them the news and we had the same response - "today is going to be a tough day".&lt;br /&gt;&lt;br /&gt;Tested the laser-matching after informing them. However, it did not work as well as I expected. So we tried to debug it till Kevin arrived to check on our progress. He informed us that he would be going to the United States for a conference for a week and told us the plans when we are done with our application. Leonard and You Hock would be working on the 3x2 tile display while Ryan and I would be working on an application in Quartz Composer. This means that Ryan and I have to learn how to use the Quartz Composer. Kevin then demo-ed to us the Quartz Composer as none of us had used it before. Here's a screen shot of the Quartz Composer:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SRuWH0SQmvI/AAAAAAAAAvI/lub63NSqpjQ/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 138px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SRuWH0SQmvI/AAAAAAAAAvI/lub63NSqpjQ/s320/Picture+2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5267969250178407154" /&gt;&lt;/a&gt;After the demo, Kevin left to do his work and we returned to do ours. We struggled throughout the day trying to get the laser-matching method to work.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;12 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Kevin gave Ryan and I some notes to read up for Quartz Composer. Upon receiving, we went to print the notes. Not too long, Ming Hong came and helped us with our application. Within half an hour, our '4 Player Pong' application could be work with multiple lasers.&lt;br /&gt;&lt;br /&gt;However, things are not looking so good for You Hock and Leonard as their application is more complicated. You Hock seemed stressed after our application could work with multiple lasers. Tried to get him to relax and stuff while we tidied up the codes for our application. &lt;br /&gt;&lt;br /&gt;After tidying up the codes, we had lunch and went shopping for fruits at 'Market Place'. Learnt quite a bit about fruits from Bernard. Did some testing to check if there's bugs after lunch. Harold then came over and took a peek at our application. He commented that the paddles are rather jumpy and if it moves smoother, our application would be better. We found a few bugs fixed. I guess we will get it done by tomorrow. Here's a picture of Ryan testing out our application on the big screen:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SR06YsJXr9I/AAAAAAAAAvQ/WSfWttgWa-0/s1600-h/n617656172_1148020_9183.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_c-QPdDtb340/SR06YsJXr9I/AAAAAAAAAvQ/WSfWttgWa-0/s320/n617656172_1148020_9183.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5268431334935080914" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;13 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Read a few pages of the Quartz Composer notes that Kevin gave us yesterday. After reading a few pages, I decided to save the notes for the weekends and started to fix the bugs on our application. By lunch, our application was running fine. However, the paddles are still jumpy and we will have to fix that soon.&lt;br /&gt;&lt;br /&gt;We bought instant noodles and potato chips for our lunch from 'Market Place' as it was raining heavily. After lunch, Bernard brought us to see our department's computer cluster and the computers which are powering the 6 projectors for the 3x2 tile display. After the visit, we had a 'lesson' on how the computer cluster work and its architecture. After the short lesson, Bernard demo-ed to us how the 3x2 tile display work.&lt;br /&gt;&lt;br /&gt;After the 'lesson', Ryan and I tried to enhance our application by adding sound and changing the winning message for the rest of the day.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;14 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's been a month since I've been at IHPC, time really flies fast. We started our day by presenting our applications to Kevin, Bernard and Harold and got some comments on how we could improve our presentation and applications. We had also learnt the 2 main important things for Lightdraw is the ease of use of Lightdraw with the applications and the visual effects of the application. Here's a picture of Kevin testing out Leonard's and You Hock's application, the 'Puzzle' game:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_c-QPdDtb340/SSDLJDlPDvI/AAAAAAAAAvg/hv9wIbfuqvU/s1600-h/n617656172_1153249_8018.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_c-QPdDtb340/SSDLJDlPDvI/AAAAAAAAAvg/hv9wIbfuqvU/s320/n617656172_1153249_8018.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5269434920464223986" /&gt;&lt;/a&gt;&lt;br /&gt;Ryan and I were told of the change of plans for us - to develop the '4 Player Pong' game on Quartz Composer first before the blackboard application. We then had lunch at Holland Village and I was taught an important lesson about responsibility and how different it is at work and in school.&lt;br /&gt;&lt;br /&gt;After lunch, we were informed that we were supposed to demo our applications to Terence, our department's Programme Manager. So all 4 of us made changes to our applications after the comments we received in the morning. I then proceed to write down the enhancement we need for our application on the whiteboard before presenting our applications to Terence. The presentation went quite well, and Terence gave us his feedback on our applications and how we could improve on it. We also told Terence about what we had learnt so far in IHPC and our plans for the next week weeks.&lt;br /&gt;&lt;br /&gt;After Terence left, Ryan and I discussed on what we are our plans for next week. Once the plans were finalized, we went to bind our Quartz Composer notes before calling it a day. It was our first time operating the binding machine, but things were fine as we managed to bind the notes successfully. It was a great and fun experience to operate the binding machine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I had truly learnt a lot at IHPC in the past 1 month. Apart from just programming language, I had also learnt other stuff such as how to choose a fruit and how to operate the binding machine. We were also given important lessons on how one should be responsible and true to oneself from experiences shared by our supervisor and colleague during lunch.&lt;br /&gt;&lt;br /&gt;Even though we had numerous chances to practice our presentation skills in school, we had learnt that presenting during work is totally different as we have to maintain a certain level of professionalism and be prepared for the presentation. I hardly prepare much for presentation in school. However, it is different here as we only need to present our application and have to explain while doing it, which made me realize how important it is to be prepared. I will definitely bear this in mind and will not make the same mistake twice.&lt;br /&gt;&lt;br /&gt;Apart from all these, the weeks here at IHPC has been very enjoyable and fruitful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-4986689580517273831?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/4986689580517273831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=4986689580517273831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4986689580517273831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4986689580517273831'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/11/10-november-2008-upon-reaching-i.html' title='Making Pong Multi Player'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_c-QPdDtb340/SRuWH0SQmvI/AAAAAAAAAvI/lub63NSqpjQ/s72-c/Picture+2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-7298184922580351428</id><published>2008-11-03T23:36:00.027+08:00</published><updated>2008-11-10T00:17:05.041+08:00</updated><title type='text'>When Pong Meets OSC</title><content type='html'>&lt;span style="font-size:130%;"&gt;3 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Monday blues! Got to work early and had breakfast there while reading up on &lt;a href="http://en.wikipedia.org/wiki/YouTube"&gt;YouTube in Wikipedia&lt;/a&gt;. Then started to work on the '4 Player Pong' game. Soon after, Ming Hong came in and told us that Kevin and him had to attend a seminar and won't be around till Wednesday. So there won't be any progress report or disscussion till Wednesday, which means more time to do enhancement to our application before trying to integrate it with Lightdraw.&lt;br /&gt;&lt;br /&gt;Had lunch at Crystal Jade today. Most expensive lunch so far during the internship. I guess it should be fine to have lunch at such a place once in a while as we just received our first paycheck.&lt;br /&gt;&lt;br /&gt;Headed back to Fusionopolis to continue with our work while Kevin and Ming Hong went to attend their seminar. We did not have much progress because I struggled with understanding the Mathematics calculation for the speed and angle of the ball. However, I manged to fix the bug with the help of Ming Hong during his tea-break. Took a short break and went to the pantry. Here's a few pictures of what our pantry looks like and the view from it:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_c-QPdDtb340/SQ8haQk6YhI/AAAAAAAAAoc/Z30Fi1B2VrU/s1600-h/IMAGE_012.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5264463224429502994" style="margin: 0px auto 10px; display: block; width: 320px; height: 240px; text-align: center;" alt="" src="http://1.bp.blogspot.com/_c-QPdDtb340/SQ8haQk6YhI/AAAAAAAAAoc/Z30Fi1B2VrU/s320/IMAGE_012.jpg" border="0" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_c-QPdDtb340/SQ8hbjLq0GI/AAAAAAAAAok/quDeOtTe72k/s1600-h/IMAGE_013.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5264463246603767906" style="margin: 0px auto 10px; display: block; width: 320px; height: 240px; text-align: center;" alt="" src="http://2.bp.blogspot.com/_c-QPdDtb340/SQ8hbjLq0GI/AAAAAAAAAok/quDeOtTe72k/s320/IMAGE_013.jpg" border="0" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_c-QPdDtb340/SQ8hcElTm4I/AAAAAAAAAos/bZ88hYa1DIo/s1600-h/IMAGE_015.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5264463255569668994" style="margin: 0px auto 10px; display: block; width: 320px; height: 240px; text-align: center;" alt="" src="http://1.bp.blogspot.com/_c-QPdDtb340/SQ8hcElTm4I/AAAAAAAAAos/bZ88hYa1DIo/s320/IMAGE_015.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;By the end of the day, the bugs for the ball is fixed and I have also managed increase the speed of the ball after a certain number of hits. Ryan also managed to make the yellow paddle work with the mouse, which is great news. Tomorrow will be the integration with Ryan's part and more enhancement to our '4 Player Pong'.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;4 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Kevin and Ming Hong are busy as they had to attend a course and seminar respectively. So we were left on our own for almost the entire day.&lt;br /&gt;&lt;br /&gt;Managed to reflect the ball back to the previous paddle after a number of hits was done in less than 15mins after I reached the 'working space'. Waited for the rest to arrive before I tried to integrate with Ryan's part. As there were some changes and modifying of the codes to be done, we were only able to finish integrating it after lunch.&lt;br /&gt;&lt;br /&gt;Took a short break after the integration. During the break, a friend of mine started asking me questions about Linux in aMSN. So I did some research regarding the questions and found this really good website for on Linux. Here's the &lt;a href="http://linux.about.com/od/commands/l/blnewbie_5toc.htm"&gt;link&lt;/a&gt; for it.&lt;br /&gt;&lt;br /&gt;Went back to doing our application and tried to integrate sound into the game using the &lt;a href="http://www.ambiera.com/irrklang/docu/index.html"&gt;irrKlang&lt;/a&gt; library. By the end of the day, we managed to add the sound in. However, there was like a 2-3 seconds delay when the sound was supposed to be played. I guess we will just ask Kevin for his suggestion when we meet him tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;5 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Tried to do the winning message before Kevin came in, but was unsuccessful. So we showed him our progress and what we intend to do. We had also asked him about the sound thing, but he said focus on the OSC and get it working with Lightdraw first. Completed displaying the winning message before lunch. After we finished our parts, we played with the 'Drawing Board' done by Ming Hong. So this is what we drew:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_c-QPdDtb340/SRLpvTd6oYI/AAAAAAAAApY/CVFQZZQ6Ymo/s1600-h/SNC00003.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5265527913238405506" style="margin: 0px auto 10px; display: block; width: 320px; height: 240px; text-align: center;" alt="" src="http://4.bp.blogspot.com/_c-QPdDtb340/SRLpvTd6oYI/AAAAAAAAApY/CVFQZZQ6Ymo/s320/SNC00003.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;It's the first time we interns had lunch by ourselves. For the past 2 weeks, we joined Kevin, Ming Hong, Harold and Bernard for lunch. However, they had to attend a farewell lunch at Harrys. So You Hock, Leonard and I went to lunch at the Dover Hawker Center nearby. Ryan did not join us as he felt unwell. We had chicken rice there as it was recommended by Bernard. We shared half a chicken and had a plate of vegetables, and we paid like only $4 each! Plus, we had free servings of rice and it tasted good.&lt;br /&gt;&lt;br /&gt;Bought congee for Ryan and we got caught in the rain. Ran all the way back to Fusionopolis. Passed Ryan his congee and went to dry ourselves. Rested for a little and we went back to doing our applications. Managed to edit the OSC makefile with the help of You Hock. We had also made some changes to our source codes, with the help of Ming Hong, as some codes did not run on the Mac. In the process of changing some codes, I've learnt that by adding in a few lines of codes, we could make the compiler choose which lines of code to compile in both Mac and Linux.&lt;br /&gt;&lt;br /&gt;By the end of the day, we had discovered that our application wasn't running with OSC. I hope that we will be able to integrate our application with the OSC smoothly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;6 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Tested our application with the OSC when I got to the office. To run the application in OSC, we first have to start Lightdraw. It did not run as smoothly as expected. So we had to modify the codes for our application. Time passes quickly whenever we concentrate on a task. Before Ryan and I know it, it was lunch time.&lt;br /&gt;&lt;br /&gt;Went to have lunch with Kevin and the rest at Holland Village. During lunch, we were discussing on social and environmental issues. It was pretty interesting to listen on other people's views on such issue.&lt;br /&gt;&lt;br /&gt;Created a C++ class after lunch to store the coordinates of a laser with the help of this &lt;a href="http://www.learn-programming.za.net/programming_cpp_learn01.html"&gt;website&lt;/a&gt;. I also managed to set the starting position of our application to the top left corner as Lightdraw takes in the coordinates of the screen instead of our application. This was done after a quick Google search, and here's the &lt;a href="http://www.cs.iit.edu/%7Eagam/cs512/lect-notes/opencv-intro/opencv-intro.html#SECTION00055000000000000000"&gt;link&lt;/a&gt; for the site.&lt;br /&gt;&lt;br /&gt;After we told Ming Hong our progress, he suggested for us to use an array of cvPoints instead of the trouble of using a single class. So we changed the codes and commented out the class I created. By the end of the day, our paddle was only able to move upwards. I guess it's all part of my wishful thinking that the integration of our application with the OSC could be done in a day. Hopefully, we would be able to integrate our application and the OSC by tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;7 November 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Reached the 'working space' early today. However, I was feeling rather unwell and rested till the rest arrived. When the rest arrived, we began to work on our applications. Ryan and I tried debugging and realized that we are unable to print out anything when we used the 'cout' function. So we used the 'printf' function and we were able to debug it finally. I've also found out that the 'printf' function could do formatting while the 'cout' function could not. Here's an example on how to format using the 'printf' function:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;printf("Here is a number %d and a %s word.\n", number, pointer);&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;%d %s are the printf format identifiers&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Here's a &lt;a href="http://cermics.enpc.fr/%7Ets/C/FUNCTIONS/format.html"&gt;link&lt;/a&gt; on the other available printf format identifiers.&lt;br /&gt;&lt;br /&gt;After testing and modifying the codes, Ming Hong suggest that we slow down the speed of the application because the our application speed might be faster than what the OSC could receive. So we tried slowing it down and we managed to make the yellow paddle moved.&lt;br /&gt;&lt;br /&gt;We then help Ming Hong to clear the projector room to make way for our new projector. While the people where bringing in the new projector, we continued working on our application and did the checking for the collisions between the yellow paddles and the others. After finishing the collisions check, we tried running it on Linux. However, the application did not go well because the screen positioning of our application was different. Kevin suggested that we take a break and had our lunch at VivoCity.&lt;br /&gt;&lt;br /&gt;After lunch, the installation of the new projector was done. Here's the pictures of our old and new projector:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_c-QPdDtb340/SRUiRIKc9bI/AAAAAAAAApg/niXxp2XNlzE/s1600-h/SNC00005.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5266153016924108210" style="margin: 0px auto 10px; display: block; width: 240px; height: 320px; text-align: center;" alt="" src="http://4.bp.blogspot.com/_c-QPdDtb340/SRUiRIKc9bI/AAAAAAAAApg/niXxp2XNlzE/s320/SNC00005.jpg" border="0" /&gt;&lt;/a&gt;&lt;div align="center"&gt;Old Projector&lt;/div&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5266153024930488354" style="margin: 0px auto 10px; display: block; width: 240px; height: 320px; text-align: center;" alt="" src="http://2.bp.blogspot.com/_c-QPdDtb340/SRUiRl_UoCI/AAAAAAAAApo/5KQot9dxtRk/s320/SNC00006.jpg" border="0" /&gt;&lt;div align="center"&gt;New Projector&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;We waited for Ming Hong to change the settings of the new projector before we tested our application on it. And by the end of the day, we managed to make the other paddles move and checked the paddles collisions with just a single laser. So it wasn't wishful thinking after all.&lt;br /&gt;&lt;br /&gt;So by next week, we would be able allow our application to support multi-lasers and invite Mr Yeak over to show him our progress.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This week had been a very productive week for me as I had learnt alot about C++, OpenCV and even the C++ compiler. I'm getting pretty used to typing the codes in the text editor. It feels just like when I was in my first year in polytechnic when we used to do write an application, and only finding out that we forgot to add a semi-colon or close a bracket during compilation. I guess I have been spoiled by the IDEs these days as they would prompt what are the methods/functions available after we entered a '.' and just choose from the list.&lt;br /&gt;&lt;br /&gt;I have also been more adapted to travelling from east to west. Spending my time during the journey to keep myself updated with local and world news. After spending so much time with Kevin and our collegues, I found out that by keeping myself updated with the news(&lt;span style="font-style: italic;"&gt;this week is about Obama, of course&lt;/span&gt;), it is easier for us to find a topic to talk about.&lt;br /&gt;&lt;br /&gt;On a side note, I think I would install Linux on my laptop in the future for development purpose.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-7298184922580351428?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/7298184922580351428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=7298184922580351428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/7298184922580351428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/7298184922580351428'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/11/when-pong-meets-osc.html' title='When Pong Meets OSC'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_c-QPdDtb340/SQ8haQk6YhI/AAAAAAAAAoc/Z30Fi1B2VrU/s72-c/IMAGE_012.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-5159631739086374373</id><published>2008-10-28T00:10:00.011+08:00</published><updated>2008-11-02T21:39:44.483+08:00</updated><title type='text'>4 Player Pong Game</title><content type='html'>&lt;span style="font-size:130%;"&gt;27 October 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;No work today as it's a public holiday. Happy Deepavali!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;28 October 2008 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Back at work from a long weekend. Felt quite sluggish at first. However, I managed to set myself back to my 'working mode' and read up on the notes that Ming Hong passed to us last Friday as soon as I reached the 'working space'.&lt;br /&gt;&lt;br /&gt;When Kevin arrived, we presented and shared our ideas which is supposed to integrate with Lightdraw. Kevin also injected new ideas and we settled on doing 4 games - Pong, Scrabble, Memory Game and Sudoku.&lt;br /&gt;&lt;br /&gt;However, there is a change of plans after lunch. Instead of doing 4 games, we would be doing just 2 - Pong and a Puzzle game. Ryan and I would be working on the Pong while Leonard and You Hock would be working on the Puzzle game. We were then given time to do some research by ourselves. I manged to find some open source for Pong, but the source is written in Java. So I guess I have to study the codes and convert it into C++.&lt;br /&gt;&lt;br /&gt;While searching for the source codes, I've also learnt how to unzip a '.zip' file in Terminal. Ming Hong and Cheng Teng came in the mid-afternoon and taught us OpenCV and how to create a simple Makefile and the concepts behind it. Our brains were then being overloaded after so much information. By the end of the day, we have managed to use OpenCV to create a window and draw a rectangle in it. Here's a picture of my rectangle done in OpenCV.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SQcHgRi92SI/AAAAAAAAAnE/Oe-mHmflQEc/s1600-h/Screenshot.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5262182940652984610" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: pointer; HEIGHT: 200px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_c-QPdDtb340/SQcHgRi92SI/AAAAAAAAAnE/Oe-mHmflQEc/s320/Screenshot.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;29 October 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As soon as we reached the office, Ryan and I started to work on the UI and tasks for today. Here's a screenshot of our '4 Player Pong' game.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_c-QPdDtb340/SQm1_Be2gsI/AAAAAAAAAnM/aiqHWcwSw2U/s1600-h/screen.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5262937733893358274" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 310px; CURSOR: hand; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_c-QPdDtb340/SQm1_Be2gsI/AAAAAAAAAnM/aiqHWcwSw2U/s320/screen.jpg" border="0" /&gt;&lt;/a&gt;As soon as we had finished the design, Kevin stepped in and we showed him our progress before he went for his meeting. I worked on generating the starting positions and size for the paddles and ball while Ryan worked on moving the paddle. We were so engross in our work that we had a late lunch. Before lunch, Ryan was able to make the paddle move up and down by using the 'w' and 's' key on the keyboard.&lt;br /&gt;&lt;br /&gt;After lunch, Ryan and I integrated our work. Ming Hong then taught me about the OpenCV Time class and how it can be used in my '4 Player Pong' game and in Lightdraw. By the end of the day, I was able to move the ball in just 1 direction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;30 October 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Continued working on the ball as soon as I reached. Researched about the &lt;a href="http://www.cplusplus.com/reference/clibrary/cstdlib/rand.html"&gt;Random class&lt;/a&gt; in C++ before adding it to make the ball move in random directions. Around 10am, Kevin came in and checked our progress. Both teams are progressing well.&lt;br /&gt;&lt;br /&gt;Soon after we walked over to NUH for lunch. To our surprise, the food there is even cheaper than our school's food! The bottled drinks there only costs $1! Leonard and I had Japanese food while Ryan and You Hock had chicken rice. We then went to the bookshop to stock up on some snacks before walking back to Fusionopolis.&lt;br /&gt;&lt;br /&gt;We continued our work till about 3.45pm when Ryan had to leave for school to give a presentation about 'Imagine Cup' to our juniors. I then integrated our parts together before continuing to work on the '4 Player Pong'.&lt;br /&gt;&lt;br /&gt;By the end of the day, I managed to check for the collision between the ball and the yellow paddle.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;31 October 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Did the scoring function and checking of which paddle last collided with the ball before Kevin came in to check on our progress. Learnt about the Sleep function when I asked Ming Hong how do I like paused the application when the ball goes out of bounds. The sleep(int i) would pause the application in seconds while waitkey(int i) would pause the application in malliseconds. Ming Hong also shared that some programmers would use like loops in order to pause an application. However, this is not really safe as the looping depends on each computer. If the computer is very powerful and has high performance speed, the loop would be done in milliseconds while a very slow computer with low performance speed would take like minutes - which is not very ideal.&lt;br /&gt;&lt;br /&gt;Around 10am, Kevin came in to check and also recap on what we have learnt so far in IHPC. We continued on our work after the recap session. I continued to check the collisions between teh ball and other paddles and managed to finish it before lunch.&lt;br /&gt;&lt;br /&gt;After lunch, Ryan and I intergrated our work. After the integration, I discovered some bugs for the collision and spent the rest of the day trying to fix the bug while Ryan tried to get the paddle to move according to the mouse movements.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This week at IHPC has been a short, but interesting week. I have learnt a lot about C++ and OpenCV and its functions. The working environment at IHPC is pretty similar to school. Perhaps it is just the second week; Kevin and Ming Hong are still 'spoon-feeding' us.&lt;br /&gt;&lt;br /&gt;Learning to work with others is another experience I had here at IHPC. In school, I am usually the one who does most of the work and help others. However, here in IHPC, I am the one who is being helped. I am thankful for the help received.&lt;br /&gt;&lt;br /&gt;I had also learnt how to trust my team-mates and the people working around me. No matter how different the way how Ryan and I 'coded' our work, at the end of the day, we are still able to understand each other's work through peer teaching(which is taught in school).&lt;br /&gt;&lt;br /&gt;Here at IHPC, we interns are on the same page. Regardless of our cGPA in school, we are all learning something new each day.&lt;br /&gt;&lt;br /&gt;To end things on a happier note, Happy Halloween!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-5159631739086374373?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/5159631739086374373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=5159631739086374373' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/5159631739086374373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/5159631739086374373'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/10/4-player-pong-game.html' title='4 Player Pong Game'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_c-QPdDtb340/SQcHgRi92SI/AAAAAAAAAnE/Oe-mHmflQEc/s72-c/Screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-4201305860642028602</id><published>2008-10-23T00:24:00.020+08:00</published><updated>2008-10-27T04:09:16.892+08:00</updated><title type='text'>The 'Official' First Week!</title><content type='html'>The &lt;a href="http://www1.tp.edu.sg/eSIP08/"&gt;eSIP system&lt;/a&gt; for TP is alittle weird. We started on the 15 Oct, but we could only enter in our entries from the 20 Oct. Plus the 200 words limit is like quite little for us to describe what we had done during our attachment. I am sure that I am not the only one who complains about the 200 words limit per day.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:130%;"&gt;20 October 2008&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;I reached the building early, as usual. So I waited for the rest at the pantry as I read up on C programming. Headed to our 'working space' and met up the rest. Speaking about our 'working space', here's how it looks like:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SP9WSvJ7wuI/AAAAAAAAAko/YnqGE6fZIGg/s1600-h/IMAGE_003.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260017769687794402" style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_c-QPdDtb340/SP9WSvJ7wuI/AAAAAAAAAko/YnqGE6fZIGg/s320/IMAGE_003.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_c-QPdDtb340/SP9WS68GvPI/AAAAAAAAAkw/sBNZLe22qXY/s1600-h/IMAGE_004.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260017772851018994" style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_c-QPdDtb340/SP9WS68GvPI/AAAAAAAAAkw/sBNZLe22qXY/s320/IMAGE_004.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_c-QPdDtb340/SP9WTVhKItI/AAAAAAAAAk4/gckqGLHfjqU/s1600-h/IMAGE_005.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260017779985752786" style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_c-QPdDtb340/SP9WTVhKItI/AAAAAAAAAk4/gckqGLHfjqU/s320/IMAGE_005.jpg" border="0" /&gt;&lt;/a&gt;After alittle while, Kevin came in and we discused about what we had researched on Friday and in our spare time during the weekends. During the disscusion these are the things we shared with each other:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;What are Compilers?("&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;a must-know for Computer Science/IT student", as quoted from Kevin&lt;/span&gt;)&lt;/li&gt;&lt;li&gt;What is Open source?&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;We were then told of what we were supposed to do today - to continue on what we have been doing last week. So after the discusion, we continued with our tasks. We burned a DVD with the Linux ISO file on the MacBook Pro. However, due to our lack of understanding with the MacBook Pro, we actually mounted the ISO file onto the DVD instead of buring the ISO image onto the DVD. Wasted like 3 DVDs. After receiving guidance from Kevin and Ming Hong, we managed to burn the Linux ISO file successfully before going out for lunch.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;We then installed Linux onto the PCs after lunch while watching the movie, "Pirates of Silicon Valley".&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SP9Zf2mTuOI/AAAAAAAAAlA/XiOZGQcI_bQ/s1600-h/review101205_posv_t.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260021293559036130" style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_c-QPdDtb340/SP9Zf2mTuOI/AAAAAAAAAlA/XiOZGQcI_bQ/s320/review101205_posv_t.jpg" border="0" /&gt;&lt;/a&gt; &lt;span class="Apple-style-span"  style="font-size:small;"&gt;http://www.gearcritech.com/images/review101205_posv_t.jp&lt;/span&gt;g&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I managed to learn more about who is &lt;a href="http://en.wikipedia.org/wiki/Steve_Jobs"&gt;Steve Jobs&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Bill_gates"&gt;Bill Gates&lt;/a&gt; from this &lt;a href="http://en.wikipedia.org/wiki/Pirates_of_silicon_valley"&gt;movie&lt;/a&gt;. I've also managed to find out how Personal Computers came about and lots of other interesting stuff - such as the relationship between Steve Jobs and Bill Gates.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;After the movie, we then proceed on our tasks. By the end of the day I managed to: &lt;div&gt;&lt;ul&gt;&lt;li&gt;Install the Linux OS onto the PC &lt;/li&gt;&lt;li&gt;Install MSN messenger onto iMac&lt;/li&gt;&lt;li&gt;Install MSN messenger(aMSN) onto Linux&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:130%;"&gt;21 October 2008&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The day started with me opening my 'working space'. I then proceed to turn on the Linux PC which I used the day before to write my first C++, "Hello World", Application and run it on the PC using Terminal. Kevin then soon arrived and we went through the steps we took to install Linux onto the PCs and the problems we faced. The important step that Kevin focus on was the partition step and explained it to us why it was important. We were also given a brief history and the differences between Linux KDE Desktop environment and Linux Gnome environment. We were then assigned to research on the &lt;a href="http://www.debianadmin.com/linux-directory-structure-overview.html"&gt;Linux Directory Structure&lt;/a&gt;, the Terminal Commands and to install OpenCV onto our PCs.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;After Kevin left to do his stuff, we then research and studied on Linux Directory Structure. Here's the overview of Linux Directory Structure:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SP9emwcvFWI/AAAAAAAAAlI/x232YegCH-0/s1600-h/ldr.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260026909725496674" style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_c-QPdDtb340/SP9emwcvFWI/AAAAAAAAAlI/x232YegCH-0/s320/ldr.jpg" border="0" /&gt;&lt;/a&gt;http://www.debianadmin.com/linux-directory-structure-overview.html&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;We then went on to search and download the OpenCV installer on the Linux PCs and installed it using Terminal. Here are the steps we did to install OpenCV onto Linux:&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to the folder which contains the tar.gz file by using the 'cd (&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;directoryName&lt;/span&gt;)' command&lt;/li&gt;&lt;li&gt;Extract the tar.gz file using the 'tar -zxvf (&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;filename&lt;/span&gt;)' command&lt;/li&gt;&lt;li&gt;Go into the extracted folder&lt;/li&gt;&lt;li&gt;Configure the file by using './Configure' in Terminal&lt;/li&gt;&lt;li&gt;Compile the file by using 'Make' command&lt;/li&gt;&lt;li&gt;Enter SuperUser(SU) mode by entering 'su' command and entering the password&lt;/li&gt;&lt;li&gt;Install the file by using 'Make Install' command&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;div&gt;By installing OpenCV this way, I've actually managed to learn what is actually going on in the back-end whenever I install a program/application. By then end of the day, I'm kind of hooked onto using the Terminal to extract and install file rather than just using the extractor with the GUI provided in Linux.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-size:130%;"&gt;22 October 2008&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;I woke up alittle late today, but I still managed to reach the 'working space' on time. The morning was practically spent on going through the steps to install OpenCV and what does each process do. We also discussed about Linux Directory Structure, the commands in Terminal and was also given a brief introduction on what a &lt;a href="http://en.wikipedia.org/wiki/Virtual_machine"&gt;Virtual Machine(VM)&lt;/a&gt; is and how it works.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;After Kevin left to do his work, we then installed VMWare Fusion on our Apple computers. VMWare Fusion is a desktop software which provides similar functionality for users of the MacIntel platform, along with full compatibility with virtual machines created by other VMware products(extracted from wikipedia). &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Once VMWare Fusion had been installed, we then installed Linux and some applications such as aMSN(a Linux version of MSN messenger) and OpenCV on the Virtual Machine. I had also managed to modify the sudoer list via the terminal. These are the steps I took to modify the sudoer list:&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Go to the sudoer list directory using 'cd /etc' command in the Terminal&lt;/li&gt;&lt;li&gt;Log into a superuser(SU) account&lt;/li&gt;&lt;li&gt;Open sudoer list via a text editor using 'nano sudoers' command&lt;/li&gt;&lt;li&gt;Add my user into the sudoer list by editing the file&lt;/li&gt;&lt;li&gt;Save changes made and exit the text editor&lt;/li&gt;&lt;/ol&gt;After modifying the sudoer list, Kevin then brought us to attend a talk in the auditorum. However, we only managed to attend the panel discussion about "Is the Pace of Science &amp;amp; Technology Moving Fast Enough to Meet the Needs of Growing Cities" as we had something on after our attachment.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;23 October 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I reached the 'working space' a little late due to a traffic jam. Ryan was already there before I was. Not long after, the rest arrived and Ming Hong, our colleague who is also working on Lightdraw, taught us about the Text Editor function in terminal. We were then assigned to get our webcams to work with the Linux in VM.&lt;br /&gt;&lt;br /&gt;After lunch, I decided to reformat Linux in VM as I felt that I had installed to many unnessersary files and driver. Ryan and I then tried to configure iSight to work on Linux till then end of the day. However, we managed to get the Logitech webcams to work in Linux. These are the steps we took to install the Logitech webcams:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Installed &lt;a href="http://rpm.livna.org/rlowiki/"&gt;livna repository&lt;/a&gt; for Fedora 9&lt;/li&gt;&lt;li&gt;Installed Gspca package using 'Add/Remove Software' application&lt;/li&gt;&lt;li&gt;Installed unicap, an application which uses the webcam, using 'Add/Remove Software' application&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;On top of that, we also managed to get the Logitech webcams to work in Lightdraw with the help of Ming Hong. However, Ryan and I still wasn't able to allow iSight to work in Linux. I hope we would be able to do it by tomorrow.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;24 October 2008&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As soon as I reached, I tried to get the iSight to work in Linux as it was supposed to be done by yesterday. However, something was wrong as I could not use the 'Add/Remove Software' application in Linux. I was prompted with 'database disk image is malformed' error. I tried searching online on ways to solve it but it was unfruitful. So I reformatted the Linux on the VM for the 2nd time in 2 days.(&lt;span style="FONT-STYLE: italic"&gt;I am very familiar with installation process of Linux by now&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;While I reformatted the VM, Kevin gave us a detailed explanation on how Lightdraw works with the &lt;a href="http://en.wikipedia.org/wiki/OpenSound_Control"&gt;OSC&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/X11"&gt;X11&lt;/a&gt;. After the explanation, I managed to get iSight to work on Linux.(&lt;span style="FONT-STYLE: italic"&gt;Yay!&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;We then tried to run Lightdraw using the iSight but Lightdraw doesn't run as well when using the Logitech webcam because we can't set the Auto-Exposure properties of iSight. Ming Hong said that he would try to solve this problem and Kevin seemed happy with our progress.&lt;br /&gt;&lt;br /&gt;During lunch time, we bought some stuff at MarketPlace as there is a mini-celebration for Deepavali later in the day. While heading down to MarketPlace, we caught a glimspe of some robots. Here's an interesting robot that caught our attention:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_c-QPdDtb340/SQNCjN46p4I/AAAAAAAAAlY/qDkctRtyRig/s1600-h/IMAGE_008.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5261121962490111874" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: pointer; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_c-QPdDtb340/SQNCjN46p4I/AAAAAAAAAlY/qDkctRtyRig/s320/IMAGE_008.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After lunch, we were assigned to brainstorm with simple applications to run with Lightdraw. We were told to choose between &lt;a href="http://en.wikipedia.org/wiki/Gtk+"&gt;GTK+&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Qt_(toolkit)"&gt;Qt&lt;/a&gt; to develop our application in. So we brainstorm till 3 plus in the afternoon as the office had a little 'Deepavali party' in the pantry where we were treated to snacks like pineapple tarts and some 'kuehs'. We ate some snacks before heading back to our 'working space' to continue brainstorming for our applications till we knocked off. I guess we have some work to do at home for this long weekend.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These 5 days in IHPC had surely taught me a lot. From setting up Virtual Machines and knowing how the IDEs work behind the scenes, which are not taught in school. Thankfully, we were taught how to learn independently through subjects like CSAD(&lt;span style="FONT-STYLE: italic"&gt;full PBL module&lt;/span&gt;), which is a very useful life skill that would help me through my attachment.&lt;br /&gt;&lt;br /&gt;On side note, I think I'm beginning to be slightly 'anti-Microsoft' after using too much of Apple computers and the Linux. =P &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-4201305860642028602?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/4201305860642028602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=4201305860642028602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4201305860642028602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/4201305860642028602'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/10/official-first-week.html' title='The &apos;Official&apos; First Week!'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_c-QPdDtb340/SP9WSvJ7wuI/AAAAAAAAAko/YnqGE6fZIGg/s72-c/IMAGE_003.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-949662979658988031.post-8883672776130039559</id><published>2008-10-19T02:38:00.003+08:00</published><updated>2008-10-30T21:39:34.971+08:00</updated><title type='text'>My First 3 Days</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:large;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;15 October 2008&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It's my first day at Institute of High Performance Computing(IHPC). My dad drove me down to Fusionopolis to make sure that I was on time. Met up with Ryan, Leonard and You Hock at the lobby before making our way up to the office.&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We met up with Janice from the Human Resource department to settle our documents before meeting up with our supervisor, &lt;a href="http://www.ihpc.a-star.edu.sg/veragoo.php"&gt;Kevin&lt;/a&gt;. We were told that there were many departments in IHPC and we are in Advanced Computing(Visual) department. We were then brought to our "working space" and got our assigned computer. Ryan and I got an iMac each while Leonard and You Hock took the MacBooks. We were then given time to familiarize with our computers as none of us had actually used an Apple computer before.&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After we familiarized with our "working area" and computers, we were then brought to somewhere in Holland Village for lunch via a shuttle bus service.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A formal introduction was done after lunch as we met up with other people from the department. We then were given a tour around the office before being assigned some tasks to do while Kevin and the rest are preparing for some interviews with the media. &lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;These are the stuff which we are suppose to research about:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Linux and its distributions&lt;/li&gt;&lt;li&gt;Linux OS&lt;/li&gt;&lt;li&gt;Linux community&lt;/li&gt;&lt;li&gt;OS Licenses GPL/BSD&lt;/li&gt;&lt;li&gt;Mac OS&lt;/li&gt;&lt;li&gt;Linus Trovalds&lt;/li&gt;&lt;li&gt;Richard Stallman&lt;/li&gt;&lt;li&gt;Bill Gates&lt;/li&gt;&lt;li&gt;Steve Jobs&lt;/li&gt;&lt;li&gt;Compilers&lt;/li&gt;&lt;li&gt;Open Source&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Managed to read about &lt;a href="http://en.wikipedia.org/wiki/Linux"&gt;Linux OS, its community and its distributions&lt;/a&gt; before knocking off. On a side note, the people at IHPC are nice and fun. I'm sure we will learn and have a lot of fun along the way.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;hr /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;16 October 2008&lt;/span&gt;&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Second day at IHPC. I arrived quite early, so I waited for the rest in the pantry while studying for my SAP exam which is on the following day. After the rest arrived, we continued our research as Kevin said that we would have a discussion on what we have read on so far. So I managed to read about &lt;a href="http://en.wikipedia.org/wiki/Linus_Torvalds"&gt;Linus Trovalds&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Richard_stallman"&gt;Richard Stallman&lt;/a&gt;. &lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;At 10am, Kevin came over and discussed with us on what we had managed to read about so far before giving us a lesson on Linux. We then had a clearer view on what and how Linux came about thanks to Linus Trovalds. After the quick "lesson", Kevin then showed us how a Linux OS looked like and our next assignment is to install a Linux OS onto the computer. We were also told that we are supposed to split ourselves up into 2 groups and each group would be working an different platforms for Lightdraw - one group on Linux, one group on Mac. However, all four of us wanted to try working on Linux as we were interested. So we drew lots to see who would work on which platform. Ryan and I would be working more on Mac while Leonard and You Hock would be working more on Linux. We had lunch after drawing lots.&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After lunch, we were then told to download the Linux OS(Fedora 9) and burn it onto the DVDs given. While downloading, we are suppose to watch a movie, "Pirates of Silicon Valley", to give us a better insight on who Bill Gates and Steve Jobs are. However, due to an unexpected media interview, we were unable to watch it and plans were pushed back. So we continued with our research for the rest of the day before knocking off.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;hr /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;17 October 2008&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Third day of my attachment and it is the grand opening of our attachment building, Fusionopolis. Nothing much happened as Kevin and the rest are busy with the grand opening. So as a compensation, a picture of the building.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: pointer; TEXT-ALIGN: center" alt="" src="http://farm3.static.flickr.com/2134/2442357893_fc0f51f8c8_o.jpg" border="0" /&gt;&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;span class="Apple-style-span"  style="font-size:x-small;"&gt;http://farm3.static.flickr.com/2134/2442357893_fc0f51f8c8_o.jpg&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Since Kevin was busy, he gave us a day off (&lt;span class="Apple-style-span" style="FONT-STYLE: italic"&gt;lucky us&lt;/span&gt;). Ryan, You Hock and I headed to Clifford Centre in Raffles Place to take our SAP exam. All 3 of us passed! The day off we got was well worth it. &lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Reflection for the week:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These 2-3 days at IHPC feels like an orientation for me. It's for me to get used to the environment and people at IHPC. Luckily for me, the people around me are friendly and are willing to help whenever I have any questions or doubts. Having the SAP examination this week is also quite stressful as I have to pick up new things on the job as well as study for the SAP examination.&lt;br /&gt;&lt;br /&gt;However, thanks to the 'intensive' training received in the block mode, I've managed to pass the examination and also aquire new knowledge. I would say this is only the beginning of a new phase in my life. =)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/949662979658988031-8883672776130039559?l=wilson-ihpc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wilson-ihpc.blogspot.com/feeds/8883672776130039559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=949662979658988031&amp;postID=8883672776130039559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/8883672776130039559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/949662979658988031/posts/default/8883672776130039559'/><link rel='alternate' type='text/html' href='http://wilson-ihpc.blogspot.com/2008/10/first-3-days.html' title='My First 3 Days'/><author><name>Wilson</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
