Today, Kevin suppose to go through the remaining of the code with us, but there is some visitor here, so we are not able to do it. Most of time is slacking today. But nevertheless, there soccer later on! weeee.
Welcome
This is a blog sharing what i have learn and experience from my internship in A*Star IHPC
- Zac Kwan
Friday, February 18, 2011
Day 88 - Last Day at the office
Is Day 88, how auspicious can it be. My money plant manage to survive, at least with leaves still on it. After today, i am going to be freeeeeeee, no more routine life, waking up early, afraid of not able to wake up so did not go for supper or much night activity. So it seems like is getting better. But i kinda feel sad as well, as working here is pretty fun and good. The work place is so nicer, with a iMac and a macbookpro + big screen on my desk. The colleagues here are all so friendly. Well, hopefully there still a chance in the future to do something like this again.
Thursday, February 17, 2011
Day 87 - More on going through code
Last 2nd day of my intern, still going through all the code with kevin. Look like there it is not going to be able to finsih by friday.
Most of the code we are going through is on EAGLView and Gesture in OpenGLViewController. Renamed the openglviewcontrolller because it doesnt really have any opengl stuff in it. Cause quite a few error, but manage to solve it and checked that it is not broken.
Kevin continue cleaning the code, commenting and we behind him explaining to him what is what and which is which. As he is doing, i really feel that the code seems to get neater that even if i am to start without knowing what this project is about, i should be able to pick up quickly.
Wednesday, February 16, 2011
Day 86 - Feedback, Report and Admission
Today Kevin is on half day leave, so we didn't have much time to go through the code together thus deciding to move it to tomorrow and friday.
In the morning, Kevin was doing our appraisal and we have question in the SIP report to discussed with him. After discussing with all the stuff, he gave us his comment and feedback about that he think of us during internship. Well, luckily mostly was positive stuff. We then give him about our feedback on how was his role as a supervisor. Overall i think he is a really good supervisor to work together with.
After that, we work on our SIP report throughout the days, there are quite alot of session to fill in. The approximate the template stated was about 1000words, but even without elaboration i already had written close to 2000words when i am half way done. I also spend the remaining time of the day to read up on University admission, scholarship, and such. Apply for NUS first as the closing date is 20 Feb.
Tuesday, February 15, 2011
Day 85 - Thanks for the treat Kevin!
In the morning, continue from where we have left off yesterday, Kevin, Alex and I spent time cleaning the code, and commenting it. Kevin love to group all the related stuff together first, then followed by understanding each and everyone of them. Is abit time consuming, but after what he have done, i do notice that the code is much more cleaner now. It would be easy for someone who did not started this project to understand or for someone who left this project untouched and came back later on.
During lunch time, We had lunch together, including Bernard, Calvin and Kevin's girlfriend. They bought us to a french restaurant across the holland village. We did not know that the alley have so many special restaurants. The set lunch is 25++ which end up to be 30$ after the additional charges. Kevin treated me and alex as our intern is ending now. Thanks Kevin, i have a nice time working with u. =)
After lunch, we were all full, took a short break before continue going through the code. We went into eaglview and manage to complete most of the loading stuff. Left with some drawing stuff to be completed.
Monday, February 14, 2011
Day 84 - Last week of Intern
Its day 84, having mix feeling about the internship that is coming to an end. Is really happy to work here, learn a lot of stuff and the people here are all so friendly. But on the other hand, is also feeling happy that i do not have to work here anymore as i do not have to wake up early, or reject going to supper with friends because of work. To conclude, i love to work here but i think i just hate routine life.
In the morning, Kevin came over and we discussed with him about our finding and progression on friday. I update him about the library and such, Alex told him about the problem with the collada file we encountered with. It still not confirm if vertex animation could be exported out without bug as we always manage to export but fail to open the file.
We spilt our task, Alex went on to try other exported or export to other format, ensuring that vertex animation can be export and open on a mac preferably. I go through the codes with kevin, as our intern is ending, he need to understand everything about what we have done so that he can pass the project over to the next badge of student i guess. He spent time really trying to understanding and also commenting on different portion of the code.
Friday, February 11, 2011
Day 83 - Working on the possibility of using Collada
Friday! Love it because it weekend after that.
In the morning, work on the sending of node button data over remotely so both side would response to the long press gesture. Manage to get it working with some bug at first. However after a few try manage to get it working which including the adding and also removing of the node button. We also try going into viewing the node button, everything was good, the animation by user is still being sent and receive over by the controller. Just a question if we wanted to click a button and the other guy from remote also being push a new view.
The remaining time is spend on researching on way to import dae file as they are able to use vertex animation. Needed to reinstall the autodesk 3ds as the 30 day trial period is expired. Still didnt get it working after a few try. Alex went to try blender and research on ways of doing it.
I manage to find a library to load dae file, but in not a official first, and is for a older version. The project is being left untouch for quite long i believe. Try running it but face numberous error and warning. After googling and researching on all the stuff, only leave with one error. I understood the error, as in why the error happen, i knew what could be done to solve it, but i just unable to apply it.
Thursday, February 10, 2011
Day 82 -Demo to colleagues
Back to office after taking a off yesterday to go to TP job opportunity fair. There was quite a lot of interesting stuff and job offer. Understood more about how much is the expected pay of a diploma holder holding which kind of job. Beside that, also took brochure from university to look at the admission, scholarship and also course being offered.
In the morning, have a small chat with kevin talking about university, he always said something that provide enlighten me to look at a different perspective. Last time diploma was my end, i just bored of studying, but now it seems that it is not enough now. Luckily, although i hate studying more, but i still have hugh interest in learning more on programming and it stuff.
Back to work stuff. Kevin and alex try running the demo on the their macbook pro. There is some bug on the drop box log in that doesn't appear. The sending of data also caused crash, the NSMutableConcreteData that appear is still haunting us. Manage to fix the bug on the dropbox log in, the crashes at sending of data also stopped. However it still appear randomly sometime.
Did a demo to them at 3pm. It wasn't good at well, experience crash on the sending of data. Luckily on the 2nd run, everything is working fine. Manage to present every function as planned. I missed out on the node button thou. Sorry. But kevin manage to show them that during question and answer. Its quite different from other presentation that i have before in school and competition. In school, is not real, lecturer just pretend that they don't know. In competition, presented to more people but not everyone is IT savvy so we don't go into technical. But presentation here was a whole new aspect. Every question posted in on your algorithm, the way u did it, how you did it which is all very technical level to the way you program your stuff. Glad that i have this chance to experience today.
Tuesday, February 8, 2011
Day 81 - Demo preparation
Kevin came to told us about a possible presentation to the team on thursday. A short demo to show them what we have done.
So before we started with preparing for the demo, and checking for bug again, we tried to finish up the documentation on the limitation on the implement of function. Alex part of vertex animation is completed after some hard work that he have put in. However my part on compareview still doesn't have any lead. No much people is doing that as commonly, there is no problem loading 2 eaglview on a single view controller, but it does not allow us to do it might mostly likely due to the pod library that we are using.
Told kevin about what we have, we decided to push the compareview down the day first, try to sort it out as we go by the code before we leave. The remaining of the day we find bug and also ensure that the flow of our demo is working.
Monday, February 7, 2011
Day 80 - First day of work after chinese new year
Back to work after a pretty long break because of chinese new year. When your engine is off, sometimes it really hard to get it started. Sometime i wish that i was back in secondary school where i can just "pon" school as and when i like. But now i can't, or rather i don't.
Today luckily does not have to do much coding as most of it have been coming to an end. We continue researching on the feature that we tried to implement but unable to do so yet. Jotting down the reason of the limitation and also state some possible way of workaround.
The two feature are actually vertex animation, also sometime name as mesh morphing and multiple compareview in a single view controller. Surprisingly to some people is that we are unable to load two eagl view to mirror the effect on the same controller, but we are able to mirror two eaglview that is remotely connected to each other on the bonjour network. Nevertheless, we are still searching for possible way to solve it, but look like i won't have enough time to implement it as my intern days is coming to an end.
Tuesday, February 1, 2011
Day 79 - Back to research
Feb 1 two more day to Chinese new year! and tmrw is new year eve. By right half day of work tmrw. But kevin given us the off =)
Today Kevin wasn't, well we got nothing much to show him anymore. Most of everything about the problem we have discussed. We also fixed the interface and bugs that we known of. Today started to research on why animation doesn't work for the pod loader.
To be exact, Model loading does work, but certain type of animation like morphing or vertex animation, doesn't work on pod file. The converter will not allow such file to be converted with animation. or rather POD doesn't support animation that evolve vertex. Possible way to solve it is loading 3 model and do it in the code. But this will be at the expenses in the speed of the model loader. It is not something that we wanted.
It seems that there isn't anyway to do it without affecting the functionally and speed of the program. Will spend more time researching on that when i am back.
Monday, January 31, 2011
Day 78 - Fixing bug here and there.
Big rain on a monday making it even more blue.
Today was super duper cold. Wearing a singlet + a polo T + a jacket and i am still feeling cold. Came to office, planning to work on the research on animation. Kevin came after a while to get us to do the animated model and show him that.
Alex is already familar with the model animation, manage to get one working without much time needed. But while loading the model, i tried a different way and found some bug in it. Trying to find the problem to that bug but is actually quite troublesome to solve it. We decided to show kevin the animation model first before attempting to fix that.
After lunch, came back to fix the bug we found. The bug is actually on the loading model and downloading when i doesn't have it. We took awhile to solve it but found more bug after that. More bug in loading the model when it is not there. When we fix that found out that the nodes is not being send when first run. After adding that, we found another bug that the table is not updated when the node is not being drawn. Manage to get all the bug fix, at least those that we have found.
Overall i really satisfied with what we have done in the project. Because if during the start of my intern, and i am being expected to do out something like, i would thought this as extremely difficult.
Friday, January 28, 2011
Day 77 - Finish touch.
Not quite a finishing touch on the project but at least for now that going to be less on code for this few day. In the morning, fix some issues of the bonjour networking and got kevin here to try it out. Everything goes really smoothly, no much of a problem yet only for some minor changes.
After the try out, we discussed again on what need to be done now. As we have completed most of the function we wanted, not is left to do some that we didnt manage to do it. We need to research on why this function can't be implemented, what is the error behind it and also what to replace it with.
After lunch, we came back working on some the research of why compareview cant be done. At about 3 pm went for a break at Starbuck with Kevin. We have a nice chat with him and he also told us about some of his past experience working here. We still owe him an answer on if we want to continue working here.
Thursday, January 27, 2011
Day 76 - Done with most, improving the UI now
Continue working on the bonjour locking parts. After some thinking when i was on the way home yesterday, still doesn't understand why part of the byte is being stuck in the queue and doesn't get send over. Came up with two solution, either create a thread to run and will stop after 1 sec to unlock with a timer that will be reset-ed when data is received. The other one is to add in a method to send the package without splitting and queuing.
We decided on the thread at first, so we started researching and find document about how to get it working. But it look pretty tedious and is process unfriendly. So we went back to the sending package without queue. After looking at the old project, we set it up pretty fast. BUT, the result wasn't what we expected, found out that because during receive data, we will look at the package received and join it together, but because this is a special case, it didn't go pass the loop. We thought about it, but there seems to be no way fixing it.
After lunch, we work on the thread locking. But alex have found out with something in the documentation that uses perform selector after 1 second. So i googled it and found a post that someone is trying to do something that we wanted as well. Manage to get it set up, and get it working too! But there are some flaw in it. We make use of other build in method to solve it.
The rest of the day is spent correcting some code and also swapping the pitch gesture with the tap gesture function.
Wednesday, January 26, 2011
Day 75 - Continue working on unfinished bonjour
Its 3 quarter of a 100 days spent in the office during my intern! Pretty much the same today, working on bonjour, still got quite alot to be done.
During the first part of the day, most of the time was trying to fix the loading issues if the server started loading a model and playing with it before other user join. There was quite a lot to work on as previously for transformation sending we are += -ing to the result, but if the user have not connected, he would not be able to get the correct transformation value. Secondly, what i did yesterday was just saving the last transformation, but it will only be on one node which is not correct. Changes has to be make on this two to get it working.
After lunch, we continue working on the other part of the project. Trying to lock the touches when began and unlock when ended. However first the touch ended wasn't able to be call, but after some googled, alex found a solution. The other problem arise after that. It seems that sometime the touch ended call the send data to unlock method was being stuck on the queue of of the sending. It is not suppose to as all data should have been sent out. Still trying to figure that out and solve that issues.
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.
Subscribe to:
Posts (Atom)