Skip to main content

Posts

Showing posts from July, 2009

Once upon a time...

Another chapter of my life closes today. I have been at OSCC for almost 2 years. And those 2 years have brought so much memory of struggle and joy, pain and happiness, friendship and love. From the first time I saw the job on JobStreet I was already thinking, "Yeah, this is what I want to do. Open source for the good of the Malaysian public". Patriotic sentiments were oozing through my pores like sweat after a heavy workout (ok, probably that's not the best metaphor for that.. :P). So I applied and was quite suprised I actually got it.

Almost immediately once I was in OSCC I got involved with MyMeeting (Version 1 at that time). And before I came to OSCC while working with Abdullah Solutions I was creating my own CMS, here at OSCC I finally had to learn to use Joomla. I hated both products at first. Joomla was confusing and foreign for me. And MyMeeting... well.. MyMeeting was quite a big mess at that time :P. But soon I got used to how Joomla was organized and became more…

More reading

Last weekend my family went to my in-laws. Because there is no comfortable working space there, I did not bother to bring my laptop along so I have quite a lot of time on my hands. Alhamdullillah I brought along and finished a book. It's title was "The Darkeing Sea" by Alexander Kent. It's written there on the cover, "The Master Storyteller of the Sea". Now I'm not much of a sea adventure fan, but decided I'd give it a try when I saw it at Carrefour last week. Especially one written by the "master storyteller". Well... I didn't enjoy it as much as "The Isle of Joy" but it was pretty enjoyable. And Alexander Kent being the "master storyteller of the sea", the details given were quite.... well.. detailed. Specific name of types of ships and all their parts and how the crew worked them. It is quite impressive I guess if I was a fan of ships and sea adventure.

The story revolves much around a certain Vice-Admiral Sir Ric…

Sending out email by python gaierror

I had to debug an instance of Plone that had an error to send out email today. First there was the whole problem with configuring sendmail to properly relay email. Finally I gave up, uninstalled sendmail and installed postfix.. :D Once I've verified the server can actually send email out, the problem still persist. It came to my mind that since the program (Plone) itself can send out email on other machines, it must be something else specific to that machine. Maybe python itself cannot send out email from that machine. So a quick google and I copied the code to send email out using python. It gave out the error more verbosely:

Traceback (most recent call last):
File "tryemail.py", line 24, in ?
server = smtplib.SMTP(SERVER)
File "/usr/lib/python2.4/smtplib.py", line 258, in __init__
addr = socket.gethostbyname(socket.gethostname())
socket.gaierror: (-2, 'Name or service not known')

Googling some more and I found this thread which basically says tha…

I am Caine, I will help you...

Waaaaaaah... I haven't felt like this for so long. What feeling am I talking about? You know when you read those Kung Fu comics and the masters meet up in a lone path in the valley and as they pass each other they both know, "He's a master of his craft". Last time I felt this way was when kaeru was still a "Marketing" manager at OSCC. Now my replacement at OSCC is able to give off that kind of vibe, I know OSCC is in good hands.
His name is Chang Phui Hock or just "pH" as he likes to be called. He's well versed in Java & Python. I know he must be pretty good but wasn't sure how good he really was. Until today. We were doing some modifications to the TaskManager this afternoon. First thing I noticed, this guy is quick. I didn't need to explain much, he's already got it and doing it. That is already pretty cool. Then while editing the files I saw it... his vim-foo was better than mine. OMG!!! He was editing the files like a beatif…

Reading

I haven't read a good fiction for a long time. It was the 'usual resistance' (tm) like I'm too busy, I have no time, I've got better things to do and stuff. But last week I've finally decided enough is enough. I've got to get a more balanced and less (much less) critical view of my life. So I picked up a book at Carrefour for 5 Ringgit (LOL... even then I didn't want to invest too much into something which I considered as 'a waste of my time'). The book was 'Isle Of Joy' by Don Winslow. It was only 296 pages but took me a week to finish. Just last night I've finally finished it.

The book is about a Private Investigator by the name of William Withers who was assigned as a body guard for the young presidential hopeful Senator Joe Keneally. Things went wrong and the Senator's girlfriend got killed and everyone was trying to pin it on Withers. With his cool charm and sharp wit he handled it all. The book started off pretty slow at fir…