Friday, July 27, 2012

道、德、仁、义、礼、智、信

老子《道德经》三十七章:
上德不德,是以有德;下德不失德,是以无德。上德无为,而无以为;上仁为之,而无以为;上义为之,而有以为;上礼为之,而莫之应,则攘臂而扔之。故失道而后德,失德而后仁,失仁而后义,失义而后礼。夫礼者,忠信之薄,而乱之首也。前识者,道之华,而愚之始也。是以大丈夫居其厚,不居其薄;居其实,不居其华。故去彼取此。
老子认为,上德近道,下德近仁。以大道立天下,不讲德自有德;以仁爱为旗帜,好讲德常缺德。以自然为本,由本及末的顺序是:自然、道、德、仁、义、礼、智、信、愚,称为“天下式”。
while we were discussing project requirements, suddenly someone talked about this... thought provoking when you try to apply this to your tender specs lol 

Tuesday, July 24, 2012

my obsession with the buddha

I had never read Buddhist books in Chinese before. I tried to read those free-to-distribute chinese books, but not one held my attention. The books I had read before were all english translations and interpretations. From there I concluded that Buddhists do not believe in a god as creator, but was more a believer of existence and reincarnation of beings, each reincarnation cultivates the self to a higher order being. Buddha was hence a state of an enlightened mind. Nirvana was the heavenly realm where the scriptures call the after world, or literally translated from chinese, western world. That has been the faith I had since 1999.

When I read a scripture in Chinese, I was surprised that there was mention of a god whom we seek wisdom, but that god isn't Buddha. Buddha was usually interpreted as an enlighten state of mind. Some interpret that Buddha as an end destination. Some interpret the Buddha as path free of material needs. Whichever the interpretation, it can't be too for from the truth, as we can see the monks all over the world believing in the same faith.

This moment, my interpretation of Buddha is life without material needs. This life co-exists with what we know as reality. Some believe that if we remove our material needs from our reality world, then the reality and Buddha world is one. Whether we choose to remove our material needs from reality is a choice. Some believe in giving away their wealth to help the poor as a gesture of removing material needs. Some see material needs as greed.

The reality is that we live in a material world where everyone, even monks, need to eat, sleep, work for money. The monks work in the temple, teach Buddhist classes, and if their salary don't go to themselves, it's to the temple, to buy food for him to eat, to pay the utilities bills for his temple lodge, the chair he sits, the books he uses, the clothes he wears, so I feel that the whole chase for a life without material needs is purely symbolic than practical or purposeful.

Assuming a dualistic nature, and descartes 'i think, therefore i am', we will be able to come to terms with a material reality coexisting with a life without materials and at the same time experience the life without materials as reality. The concept of life without materials could be seen as reality as you feel it, moments where you are free from material needs such as your bed time, prayer or meditation time, a time where you feel in tune with the universe. It could also be seen as the spiritual realm/dimension that exists with the physical reality realm which we all convince ourselves to be living in.

Assuming a non-dualistic nature, then only one realm can be the reality, and the only way to achieve a life without material needs is to have a life without material needs.

I believe in duality. I live a life in the physical reality, and enrich my physical life with the insights gained from the spiritual realm. I can't remember what the actual words were in the book, but it was something along the line that says, the buddha is outside of you, but at work, it's with you.

And I am not a buddhist, I have multi faiths.

Tuesday, July 17, 2012

never trust old birds no matter how convincing they sound

I know I shouldn't be laughing at others, but I just found it a little unbelievable for a manager to not know how single sign on works. It started with an innocent question whether we can test single sign on on ipads because so far we have been testing on windows machines. He said, with conviction, that there was no need to test because the login module is disabled after single sign on is enabled.

We were awe-struck. After explaining to him that the login module wasn't being disabled, he thought that the login prompt is something triggered by the active directory (AD), and after more explanation, he still said that there will not be any log in prompt. Windows authentication was an alien term to him, after explaining to him that windows authentication is a windows client to windows server single sign on mode, he was completely lost.

Not laughing. Few months ago, I said something noob-ish. I always remember such moments because it sticks out like a sore thumb on my report card. The infra team could be bitching away over how noob-ish I was when I asked them to convert a database cluster from an active-passive mode to an active-active mode, but it was because this unbelievable manager told me that it could be done! I had learnt my lesson not to listen to what he says, because even google is more reliable!

The road to a good reputation is to always to verify my sources.

Thursday, July 12, 2012

a day of self discovery

Yaya adapted to her school within a week. She walks to her classroom by herself, doesn't even say bye bye to me in the morning! In the evening, she will obediently go home with me. She is in the childcare for 11 hours, mondays to fridays. I ferry her to and fro everyday as well. So far she has only been out of school for one day because of a diarrhoea. The school wash the kids' hands every hour, so I would say I had a relatively stress-free life. (stress = yaya sick + i need to take leave)

Every night we repeat the same routine. Shower, eat dinner, sit around and watch us go about our household chores, then we will give her a milk bottle, leave her in her room, shut the door, and she will sleep. As yaya is now in childcare, as opposed to previously being at home, I am now able to focus better at work. When yaya was at home, she slept late, which made me more tired in the day. Now she sleeps by 9 pm, so I get more rest. So I am an advocate for childcare lol...

As she has been very obedient with her sleep routine, I had been able to do more reading at night. I realised that I had been a little outdated in terms of technology. Recently I had been reading up on google analytics and RSS feeds as I cannot understand the terms my users use lol. She knows google analytics and RSS feeds more than me, I felt that I had to keep up. I was also reading up on databases. In the past, I relied a lot on my DBA to tell me what I need to know, now I don't have that luxury, my DBA is a DBA, database administrator, not a database designer, not a database architect, not anything else, just an admistrator who executes scripts, and day to day operational tasks.

It was only after 3 months, did I manage to convince the infra guy to upgrade my database. 3 months ago, I complained that the memory usage is >70% and requires upgrade. He said it's no cause for concern, and it's due to settings. Fine, I  let him change his settings, he insisted that we must monitor for 3 months, fine, I can wait, the moment 3 months was up, I asked him, so is it more than 80% now? He said, close, not yet 80%.

Work wise, more work, that's something expected. But what's new? Being told that I can still do my own work in my project's user requirements gathering sessions. I was quite pissed off when I heard that, but I am quite sure he wasn't thinking, as he is prone of that. It started with a very harmless question from my supervisor:

Him: How's your work now?
Me: Tiring. I spend an average of 2 half days every week on the user requirements gathering for the xxx project for the past 3 months.
Him: But you can still do your own work when you are in the meeting right?
Me: I wish! Not one time did I ever have that luxury, every meeting my user and vendor are arguing over the scope.
Him: Then what do you need to do?
Me: Decide what is to be done.

That was one week ago. This morning, one of my bosses asked me what type of work I do for my projects. I never really thought about it because my supervisor calls it operational issues, but he drilled down further to the specifics, that was when I realised that everyday I am always arguing with people because I was deciding what should and should not be done. For me, it is a very subconscious activity, I can easily tell people yes or no, to the extent where I feel that I am hired just to argue with people, but that's basically what I had been doing in my previous job as well, which I didn't realise, because it was so natural that I didn't know that I was making decisions.

Another point brought up this morning was that my bosses were talking about themselves "trivialising" work, e.g. saying a certain task is simple, or can be done very quickly. It never occured to me that they were "trivialising", because I saw it as not paying attention to what's going on.

Once in a while, conversations like these make me discover myself.

Friday, July 6, 2012

the active directory login that wasn't

One of those things that frustrates me at work is not having enough time to go through the systems, simply because my job scope doesn't require me to understand the internal mechanisms of the systems I manage, and coupled with vendors of questionable quality, many problems never get solved.

I took over an applications from a project manager (PjM) some time back, but I had never really looked into the system because it is a system that is only used in december every year. Last december I was helping her to troubleshoot problems with her system, and also cover the helpdesk tickets when she was absent. She was really stressed out the whole time because of login issues. When I tried to help by probing more into the design of the system, she told me that it's her problem, don't bother, so I didn't interfere.

She was the PjM from the very beginning of the project 4 years ago, saw it through the development, and then finally maintaining it. The vendor developer quitted after 3 years, got replaced by a 2nd developer, who left after supporting 1 december, and then replaced by a 3rd developer when took over, who also left after doing a few rounds of testing and resolving login issues. The 4th developer who took over was the one who discovered that the application wasn't using active directory (AD) login, when it was declared to be.

On hindsight, it was suspicious during the 15 min handover session I had for this system. I know it sounds crazy, but I only had 3 hours for her to handover 2 systems to me due to the short notice of handover assignments. I tried to log in the production with my AD credentials, but couldn't log in. She said it's always like that. There are a lot of login issues, so she just uses the admin account to log in. As we only had 15 min, I didn't dwell too much on the login issue.

Last december, I remembered supporting a case of a director who couldn't log in to the system. She escalated the issue, and about 5 people were activated just to help troubleshoot her login problem. We resetted her AD password countless times, and in the end, the developer deleted the account (need to raise service request to execute SQL query to delete account), then add the user back into the system, then she could log in.

And upon further recall of my memory, login issues were usually resolved by deleting the user from the database, and then adding them back into the system. For the longest time, that didn't make any sense to me. When I asked the vendor, (back then it was none of my business but I really pitied the PjM who was so stressed out by the login issues), he told me that he didn't know why, he was handed over the instruction to delete the user and add it back to resolve login issues.

The key to the mystery was that this application stored passwords in the system, and the password it stores, is the password that the user typed in the first time he accesses the system. As we need to change our AD password every 90 days, and we cannot reuse past passwords, it's no wonder why the passwords don't match, and hence face login issues every december when people use the system.

Sad is the life of that PjM. This is not the only mess I took over though. This really made me "dunno what to say", so I had to blog.