Welcome

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

Tuesday, January 25, 2011

Day 74 - Back to the office.

After yesterday tiring ndu medical assessment, today is back to office work. Alex written in my notebook what he have done so that i can continue from there. That a good way , it help me understand.

So i continue working on what he have stop. Adding in the exploded view function and also clipping plane function to be able to send to user that is connected. Putting everything into a dictionary with and then archiving it. Is, easier say then done. Spend about 1st half of the day to add the explodedview before rotation and translation. Also amended some code to look more neater.

Back from lunch, continue working on clipping plane. This part start to get easy as it is just copy paste and change. However, it still take time. Also testing is difficult as i everytime have to pass a copy over to the macbook beside me and then test it. When some simple code is left out, i have to redo the process of copy, move to the mac run and test again. One person using two mac is not easy.. haha

Well at the end of the day manage to finish what i wanted, more difficult stuff needed to be done tmrw =)

Friday, January 21, 2011

Day 73 - Bonjour Bonjour

Working on Bonjour!

Yesterday manage to detect server and also set up connection to it. Now trying to send NSString over bonjour. It wasn't difficult if it was just that, but because we need to plan far ahead that what would be the best way to work, having multiple user connection, sending gesture or transformation and also ip to decide which user get and set which object. It took us about half a day before successfully sending a NSString over.

Wasn't really a good day today, today lunch went to holland drive, take a quick 1 and decided to come back to complete the loading of model at least so we can slack awhile after that. However wait 40min for the bus then heard from people around there that the bus broke down. Follow what others did, took the HB bus trying to change to D. However, D was off service at the time we reach there. Bad day.

Decided to walk back and reach office at ard 215. Finally manage to get started working on the project again. Manage to load a model to the client remotely, however the next time we trying to do is download the model if not in document prove a stumble block. Try various method, brainstorming, but couldn't get it working. Kevin came before we leave the office telling us about what he wanted which simplified things for us now. Hopefully can be completed on monday.

Thursday, January 20, 2011

Day 72 - Mirror View

Back to iOSBonjour. After yesterday short discussion, we decided that we have to move on to mirror view first before loading two model on the same view as the error still persist and appear unsolvable now.

So i start looking at the iOSBonjour code and was quite glad that luckily last time the server class we did it in a dynamic way. Now all we have to do is drag it into our project and we can start a server. For the join server, we spent sometime working on it.

After lunch, Alex and I watch a movie name the catfish. Kevin show it to us as it is going to expired in his account in the next few hour. Quite a nice documented movie that talk something about facebook in people life. It get creepy at the middle part, but at the end is actually quite saddening. Was glad that the ending was quite a good one.

After movie we continue working on the app. Manage to set up server and connect to it now. Well that is the so call easy part in the other difficult stuff. We will be working on the most difficult stuff tmrw. Transfering package over from one user to another. Hopefully it will goes well.

Wednesday, January 19, 2011

Day 71 - Modifying the application

First thing to do today was to modify the annotation button that we added when long press gesture is detected. Moving the button slighting upward so that the place the user touch is excatly on where the pop up button come from. Afterward also changed the way to close it by setting all touch is detected, the gesture will disappear.

BTW, just before we went for lunch, received an email from apple stating that my app is approved for sales! It was kind of faster than i expected as i thought it would take about close to 1 week. Told kevin and alex about it, they were my first two customer =). FYI my app is Photo Album Scrapbook. Try it!

After lunch, we continue working on the other half of the project. Trying to integrate two eaglview on the same viewcontroller. It have some error that cause quite randomly that i couldnt really understand if it was eaglview problem or the pod library problem.

Monday, January 17, 2011

Day 70 - More function

After all the stuff that we discussed on friday, we continue working on some stuff that is still not completed. Mainly the parallel downloading of the model from the dropbox, deleting of model from document directory and also the annotation on the node pressed.

Most wasn't that difficult but sometime when implemented, we notice some more bug from other place where we have to fix it. Trying to make the program more dynamic and ensure that the whole program look presentable at least to be able to attract user to look at the other function.

We spent about close to a whole day completing all this, after that we had a discussion with kevin about what to do next. Beside some slight modification to the annotation, the next time we needed to do is to compare model. Well is sort of a big function as we needed now another eagl view to be added to the presentation screen.

Friday, January 14, 2011

Day 69 - Fixing interface and program design

After implementing the download and upload of dropbox file, we are now fixing on the interface and also the program design.

First, the interface improvement is changing the way modal view present, placement of some button and also the color of text and such. Although in programming wise, this doesn't really cause much program, but it still require some time to be able to complete it nicely.

After lunch, we try to fix on the program design. By program design, i mean that how the program should work, like if we allow multiple download or single download, disable some button when downloading? or does not allow modal view to dismiss and blah blah blah.

All this got no right or wrong, but is a matter of how we see the user would prefer. It do cause some problem at first, as some control are not public and cannot be use by other class. But after careful consideration and modification is done to fix it.

Thursday, January 13, 2011

Day 68 - Dropbox api

Feel really good today somehow, maybe is because my app is about to submit to the app store for review and throughout by journey to work i did not encounter any bug when playing with my app!

Although slept at around 2am, but does not really feel any tiredness. Came to the office, immediately i went on to fix the problem i have yesterday. As i was going home yesterday i thought of why it does not work i actually think that i found the solution. So i apply it today and it work! Sometime a bit of rest and think over again really help solve the problem.

After fixing the issues, saving and reading work perfectly now =). Continue working on the remaining part of the project, trying to read the text from .txt in the dropbox folder and also displaying a new view to show the description. But actually spend sometime on fixing some bug i discovered before i actually go into it.

After lunch, start to work on that, manage to actually set up the view to retrieve the text information from the .txt file. Its seems like today was really smooth journey. And also the location of label on object seems to work pretty well now! Not exactly sure why, but i believe is because alex changed the pivot point and other stuff which cause it to work now.