Tuesday, December 2, 2014

It's been so long since I last blogged. Anyway, I have just finished one of the toughest paper. I swear I studied for all my papers this semester. However, just like what my roomate says, study don't mean grade. Haiz..... sad. I encountered this problem once again. This paper really very tough because the paper is set in the way that test on how you apply and hence it's not in the syllabus. Die me.... How how how.... at this current rate, I am afraid I will die...... Should I go find internship to pull up my portfolio. Please advise.

Friday, June 6, 2014

Do not continue if you get rejected. Stay cool and move on

In NTU, this is the place where I first met a girl who I fell in love and have the courage to confess to her. Unfortunately, heaven has her decision, I was rejected on my first confession. The reason she gave was, " I want to concentrate on study and I don't want to reject or get rejected". I was naive or maybe blinded by love that I misunderstood what she meant. I continued and tried my best to win her over. Though I admit, her impression of me does change as can be seen from her replies, but that does not mean I have won the battle. I continue on to pursue her at the risk of my result and grades which plummeted. In the end, I still did not get her. She tried her best to avoid me, giving me excuses whenever I ask her out or plan group outings. And now in my third year, I finally would say I GAVE UP. I shall put my every heart and soul to my studies and not care about relationship. It's really sad sometime that you get rejected on your first attempt after 20+ years. I do not know how to describe. You really feel very lousy and devastated. The sour feeling you will have whenever you see her around and other couple walking past you. But it also makes you give up on finding your other half. Now I understand why people wants to stay single throughout their life. Not because they have never tried but rather they tried and failed and do not wish to get hurt or lose anything again. Forever alone. I spoke to few elderly who are singles and I agree with what they say. Ii's okay to be single, you do not need to worry about the growing expenses because you only have one mouth to feed and that is you. With the convenience of so many religious activities and community centres, you also do not need to feel lonely. With your remaining hard earned CPF and savings, you can easily employed maid or hospice to care for you when you are old. That is because these organisation knows that you are alone and when you passed on, your belongings will go to them. That's true. I agree. So fight on all singles. Do not need to be afraid. As the saying goes, do not be afraid to be different. That shows you have personality and not a follower. Do not need to be afraid to be single throughout your life as that means you can do what you like. Freedom!1

Wednesday, April 30, 2014

Got to be the worse Semester

This Semester could be the worse semester I ever had in NTU. I have never flunk a mid term quiz in my life till now. Quite worried for the finals. Not sure if it is enough to save the two quiz that i failed. Any database Administrator out there who could really enlighten me if a person who failed two mid term quiz in school can be a DBA in the future?

Thursday, April 17, 2014

Life story from 3001

From this lab, I have learn a very useful life story from my very good friend Li Yuekang. To be great, it's nothing to do with grade and smartness. It's more on perseverance and how you manage to overcome what you do not know initially. If you have known what's going to happen then there's nothing great. It's when you do not know what is coming and you adapt to cope with it even though you may not be successful. It still makes you stand out. Yeap thanks yue kang

Wednesday, April 9, 2014

VpnToPhyPage(int vpn)
InsertToTLB(int vpn, int phyPage)
int VpnToPhyPage(int vpn)
{
IptEntry* iptPtr = hashIPT(vpn, currentThread->pid)->next;
// loop while there is any entry and is mismatch
while ((iptPtr) &&
( ((int)(iptPtr->vPage)!=vpn) ||
((int)(iptPtr->pid) != currentThread->pid) )
)
{
iptPtr = iptPtr->next;
}
// if entry found then return its physical page otherwise -1
if (iptPtr) return iptPtr->phyPage;
return -1;
}
void InsertToTLB(int vpn, int phyPage)
{
int i = 0; // entry in the TLB
static int FIFOPointer = 0;
// Find any empty space in TLB
for (; iif (machine->tlb[i].valid == false) break;
}
if (i>=TLBSize) i = FIFOPointer;
FIFOPointer = (i+1) % TLBSize;
... (Rest of code given)
}
CZ2005 LAB 3 REPORT SS2 2014
4
int clockAlgorithm(void)
int clockAlgorithm(void)
{
int phyPage;
static int clockPointer = 0;
while (! (
( memoryTable[clockPointer].valid == false) ||
( !memoryTable[clockPointer].dirty && memoryTable[clockPointer].clockCounter == OLD_ENOUGH) ||
( memoryTable[clockPointer].dirty && memoryTable[clockPointer].clockCounter == OLD_ENOUGH + DIRTY_ALLOWANCE)
) )
{
memoryTable[clockPointer].clockCounter++;
clockPointer = (clockPointer + 1) % NumPhysPages;
}
phyPage = clockPointer;
clockPointer = (clockPointer + 1) % NumPhysPages;
return phyPage;
}



Tuesday, April 8, 2014

Goals and Aim for this Semester

2003 Computer graphic    A- and above
2005 Operating System    B+ and above
2007 Database                 B and above (after my first quiz hopefully everything will pull up and can aim for B+)
3001 Advanced Computer Architecture       B and above
Cyber Security                A-  and above

Saturday, April 5, 2014

NTU Chinese Orchestra Concert


Database Quiz

I sat for this database quiz recently. And unfortunately i flunk it. 19/50 just because of conceptual error. Superkey is not a key and I lost 25 marks. WTF. Seriously. Only in NTU then it is not a key. Such a question can be so deadly. And not even one or two marks is awarded to me. Damm.... my life. A DBA aspired how can score that badly. Guess I have to work extremely hard now. But I realise one thing, I have learn how to cope with failures and move on. Something which I say I can't in the past. Will post all the lab answer and quiz after the semester to share with all other ppl. My aim this semester to break into second lower honour. Hopefully.

Thursday, April 3, 2014

Life sucks in NTU

Well.... I would say life in NTU computer science is really not easy. But I have learn alot. Everyday, it's either juggling with coding or lectures or tutorials or CCAs because I need to stay in hall as I live too far away from Pulau NTU. I do not really have time for myself seriously. Wake up in the morning 6 am and reach home at 12 midnight and it starts all over again. Then Saturday and Sunday have to chiong projects and recorded lecture because you really cannot grasp what the professor are speaking. I would say half of them don't even know what they are teaching. Why do I say so? Well.... there are instances when we ask them questions, the prof or the lecturer would try to push by saying it's in the note or you have to google it yourself or blah blah. I know of one who would tell you something like this.... "you should have learn this in the lecture note...." or "Everything could be found in the notes". Dude if we have known the answer, we do not need to ask you in the first place and you do not need to be here. Seriously, knowing your work and educating others is really two different entities. Now, I really appreciate all my teachers back in primary all the way to JC days. So i guess this also further imply that you could be an elitist but that doesn't make you god. Sometime i do really wonder how does NTU choose their prof? Is it like how Iphone chose their staff (Grades) which makes them weaker ever since the fall of their god Steve Job. Do not forget it's the student who improve the ranking and not the professor. And mind you, the students from China, India, Vietnam are doing well because they learn it before in their homeland and not from NTU. This could be seen from their absenteeism from lectures. I once talk to some of the deans in my school, they told me theres no point going for lecture. Just do your work and prepare for the final because the final is the most important. Fuck care about the mid term and the rest coz it's wasting your time. Is that true? Can someone clarify with me?

Tuesday, April 1, 2014

Life in NTU Computer Science

Well.... I really hated my course. Computer science. If given a choice, I would have chosen something else. Something that is less project intensive. I think NTU Computer Science is the most intensive among the four Universities offering the IT courses. Not only are the project tough, where you would find yourself figuring how to solve the problem yourself with no lecture slides to go through but only Google as your best companion, the quiz question depending if you are lucky or not you may get question that test you on one single concept throughout the entire paper. Yeap, it's throughout. So for example, out of complacency or time constraint, you miss that one single chapter or page, "Boom" you fail. It's seriously not fair and I feel that it is not the best way to test a student especially when you just change your syllabus with limited amount of Pyp to refer to and with so many heavy project throughout the entire semester. There could be the reason why 50% of our cohort are hating what they are studying and thus pulling the grades down. I also feel it's super unfair as the foreigners may have done that in their own country and hence are not on even ground. How can you set a bell curve like that. That is not teaching le. That is call learn it yourself. No wonder many of us are not turning up for lecture because it is pointless. You are setting question from things that you are not teaching. Haiz... I really feel it that way. Hence I would persuade those who is coming into NTU Comp sci to think twice before coming. Do not regret or tricked by the salary survey. Life throughout the four years are tougher than you can imagine.