Page 1 of 2  1  2 »

Archive for June, 2008

They Are Leaving

I started my career with my present employer as the first job, on 2nd June 2005. Together with me who joined on the same day, is a MMU coursemate of mine - Ken Wei. Besides, we also have another MMU graduate of the same batch (but from different faculty), who joined a month earlier - Chee Wei.

So, 3 persons, same batch, started career with the same department in the same company. While Ken Wei and Chee Wei are developing their career as senior software engineer (they are like celebrity engineer in the company I tell you), but I made a switch (after 17 months) to pursue my career interest as system analyst (lucky enough to be offered an opportunity).

But today, we’re bidding farewell to Ken Wei. Not just that, we will also be bidding farewell to Chee Wei on coming Monday. Yes, buddies are leaving, to pursue their career interest at a higher peak. I was kinda sad and at the same time shocked, when I heard about their resignation 3 months ago (ya, our resignation notice is 3 months).

Foot steps

Well, everyone has a dream to pursue. “ALL THE BEST” friends! You both are the gems in the software development industry, will surely do well at higher peak.

Tomcat Context File “Mysteriously” Disappeared or Deleted

If you’ve done any Java web project deployment on Tomcat which involves NFS or SAN, you might have encountered a scenario where the Tomcat context file (\jakarta-tomcat\conf\Catalina\localhost\context.xml) mysteriously disappeared, especially after server restart.

Looks like it’s a Tomcat bug, you may refer to the Bugzilla record for further information.

This issue will only happen if the physical location of the web folder is different from Tomcat. For example, the Tomcat context could be configured with docBase residing in remote storage such as SAN or NFS.

When Tomcat detected that the web folder specified in docBase is not reachable, such as during storage server restart or network disruption, then the context file will be automatically deleted. Some may call it a feature though :p

How to Resolve in Linux?

In Linux, you can issue the following command to make the context file immutable. It’s like giving it “power overwhelming” StarCraft cheat…. will never die hahahaha

chattr +i /opt/jakarta-tomcat/conf/Catalina/localhost/ROOT.xml

Please change the location path accordingly.

chattr +i is to make the file immutable, it can’t even be deleted by root user.

If you try rm /opt/jakarta-tomcat/conf/Catalina/localhost/ROOT.xml, you will get “Operation not permitted”… wah really never die

What if one day, you decided to remove its immutable status??

Instead of chattr +i, just use chattr -i will do

Sorry but I don’t have solution for Windows yet.

Anyone with better alternatives?

Not a Good Record - 18 Hours in Office

After 3 years in the workforce, I’ve set the highest personal OT record yesterday. Went into office at 8am (23 Jun), and left today early morning at 2am (24 Jun), a total of 18 hours. Minus out 2 hours of breakfast, lunch and dinner time, I had a total of 16 productive hours… holy cow… that’s 2 mandays!

Slept for 5 hours, woke up and went into office again at 8am this morning. But I didn’t start work at 8am la hehe.. went down for 1-hour breakfast with Jack, KC and Edwin. And now, 8pm, I’ve just done my work @-)

I’ve been superbly busy recently. A huge project is coming very close to the first deployment. There are a total of 36 deployments for this project.

So, to my friends whom I’ve ignored your instant messaging chat recently, please bear with me and accept my apology :p

Well, to be frank, my job is actually not as hectic as this. In fact, very much satisfying; it’s my first job since graduation. This is just a temporal surge of work load, due to tight project schedule and the technical complexities involved. Most of the time, things are very well manageable. So, no worry friends, especially my dear bao bei :D

Now, I hope there’s an accompany for a decent dinner. But somehow, I think I’ll be ending up eating alone instead.

Firefox Spellchecker Not Working. How to Enable?

Before installing Firefox 3, I’ve uninstalled my Firefox 2 to prevent any unforeseen conflict. However, as I use it more, I find something missing.

No one is correcting my spelling mistake anymore! “Aiyo.. Inglish spelling mistake in email and bloc beli paiseh one le..”

So, what has gone wrong? Apparently, the English dictionary was removed; most probably, when I uninstalled the Firefox 2.

Firefox - "Add Dictionaries" Option in Context Menu

“Easy job lo.. dictionary missing ma install it back lo..”

  1. Right click on any textbox or multi-line text input control (such as Gmail email composition box).
  2. If no dictionary is installed, you will see the “Add Dictionaries…” option in the right-click context menu. Click on “Add Dictionaries…”, and you will be brought to the Firefox Dictionaries and Language Packs add-ons.
  3. Just select your preferred spellchecking language, such as English (US), and install the dictionary.
  4. After restart, spellchecker will start to function in Firefox.

By default, Firefox spellchecker is working on multi-line controls. If you want the spellchecker to work on single-line text field as well, do the following:

  1. Type about:config in your browser location bar.
  2. Accept the warning message if prompted.
  3. Search for layout.spellcheckDefault option, double click on it, and change its value to 2.

Finally Own a Victorinox 1.6703 Swiss Army Knife

Besides electronic gadgets, I think most guys are easily fond to hardware utilities and tools as well. When I’m at hardware retailing shop like Ace Hardware, I can easily spend my time there “admiring” at the wide range of tools showcased, even if I have no plan of buying anything :p Some of the stuffs are just too cool to deliver some degrees of visual pleasures.

I’ve been wishing for a Victorinox Swiss army knife for years. However, this is not a cheap hardware in Malaysia. In fact, the price tag is quite steep, easily cost more than RM150 for a simple original army knife.

It came by chance, when Wai Pei told me that the Victorinox Swiss army knife is very cheap in Mexico. Her husband was there for job assignment. Without second thought, I told her to get favor from her husband to help me buying an army knife. No particular model in mind, as long as it features a useful set of tools, and most important, as long as it’s Victorinox haha.

Finally, traveling by air, a brand new set of Victorinox Explorer 1.6703 Swiss army knife has arrived at me on Tuesday :D Many thanks to Kevin and Wai Pei for helping me to fulfill my wish.

Victorinox 1.6703E Swiss Army Knife

Victorinox 1.6703E Swiss Army Knife

I love the model that Kevin has chosen. The Victorinox 1.6703 is featuring a comprehensive set of 12 tools for 16 purposes, all made from the first class stainless steel by superior workmanship. Continue reading ‘Finally Own a Victorinox 1.6703 Swiss Army Knife’

What To Do Before Wed’s Early Morning Euro Cup Matches?

Firefox 3 will be officially released on 17 Jun (Tuesday) at 10.00am Pacific Daylight Time. In other words, it means 18 Jun (Wednesday) 1.00am in Malaysia. Find out your local time from here.

So, before tomorrow early morning Euro Cup matches, please go to Mozilla Firefox official site and download a copy of the new Firefox 3. hohohoho… This is a big day. Let’s play our part to help setting a Guinness World Record for Most Software Downloaded in 24 Hours.

Let’s Paint Malaysia to Orange for Tomorrow’s Big Day

Tomorrow is a BIG day.

Ha?? You mean you don’t know what’s going on for tomorrow?

Serious? You really don’t know what makes tomorrow a BIG day?

“National day?”, another 2 months ahead la. “Agong’s birthday?”, already passed. “Petrol price will be decreased?”, you slow slow wait la.

Ladies and gentlemen… tomorrow is the Firefox 3 Download Day! It will start at 10.00am Pacific Daylight Time on Tuesday (1.00am on Wednesday in Malaysia). Yes, a BIG day in the open source world, a BIG day that marks another heavy strike in the never-ending browser war.

Mission 1: World Record

The all new Firefox 3, the fastest version of Firefox browser ever born, is set to be officially released on 17 Jun 2008. In conjunction to this event, Mozilla aims to set a Guinness World Record – Most Software Downloaded in 24 Hours.

Currently, there’s a pledging campaign going on. Quick, by end of today (do it now la hehe), please click here and proceed to pledge for your participation in Firefox 3 Download Day. All you need to do, is to select your region (such as Malaysia), and enter your email address. Then of course, don’t forget to download a copy of Firefox 3 on tomorrow to help realizing the world record mission.

Download Day 2008

Mission 2: Paint Malaysia to Orange

At present, there are a total of 7,432 pledges in Malaysia. For countries with pledges above 10,000 and below 50,000, they will be painted with light orange on the pledge map. Right now, Malaysia is still in dark blue (below 10K).

Firefox 3 Download Day - Pledge Map

Let’s make it more happening, by painting Malaysia to light orange!! Come on, there couldn’t be so few Firefox supporters in Malaysia right? Let’s make Malaysia standing out in Southeast Asia region!

Can we? Yes, in let’s than 24 hours from now, let’s submit your pledge if you have not done so. Just another 2 thousands plus and Malaysia will be painted to light orange in the pledge map :D

Why Firefox 3?

The improved location bar search is the feature that I love the most in Firefox 3. You may take a walk-through of all Firefox 3 features in this complete field guide compiled by Deb Richardson.

And again, please remember to pledge now, and download Firefox 3 on tomorrow.

Enhance Location-Based Contents in Your Blog with Geo Microformat and Google Maps

With GPS (global positioning system) emerging as the must-have feature of any smart phone and PDA phone, geotagging is becoming a trend in the blogsphere, especially on location-based contents, such as blog posts on food, traveling destination and picture.

Take a look at Makantrip.com; almost every food post is described with GPS coordinate. This is undeniably the most accurate way to identify the geographical location of a dining place.

How A Reader Can Make Sense of GPS Coordinate?

As a reader, if given GPS coordinate of N3 09.469 E101 42.701, how do you make sense of it?

  1. Go to Google Maps in web browser, and paste N3 09.469 E101 42.701 into the search field
  2. Execute Google Earth in your computer, and paste N3 09.469 E101 42.701 into the search field (Fly To).

What do you get? Well, if you’ve done it correctly, Google should have interpreted the above mentioned coordinate, and presented you with the location map of one of the most significant landmarks in Malaysia – Petronas Twin Towers.

Make Full Use of Google Maps

Google Maps

The technique shown above, is assuming that a blog reader is slightly internet savvy enough to know the existence of Google Maps, and the usage of GPS coordinate to search for intended location.

Hey… don’t be surprised when you hear comment like this:

brother… wat N S E W and the dotted numbers… I don understand the location la. You write like this might as well don write la

Since Google Maps service is freely available, why not we make full use of the facility to further enhance our location-based contents?

Link to Google Maps

Let’s take a look at my food post on Kuala Lipis and Gua Musang. There are a total of 3 GPS coordinates in the post, each to describe Kuala Lipis Jalan Silang, Kuala Lipis Tongkok Hotel and Gua Musang GM Food Garden respectively. Continue reading ‘Enhance Location-Based Contents in Your Blog with Geo Microformat and Google Maps’

New Site Banner

hohoho… I’ve got a new site banner for this blog, thanks to John :D Cool isn’t it?

By the way, let’s welcome John (blog.JohnCreative.com) to the blogsphere. I helped him to manually setup WordPress 2.5.1 for his blog, and in return barter trade for a site banner hehe.

John at Cape Rachardo Light House

John is a friend of mine, who is very enhusiastic into photography. Some of his photography works are showcased at Creadaq. Something very beh tahan about him is, he always claim himself as twenty plus regardless of his actual age :p

Peninsula Trip Part 2 – Day 1: Kota Bharu

Continue from:
Peninsula Trip Part 2 – Introduction
Day 1: Kuala Lipis, Gua Musang

This is already the third post of the Peninsula Trip Part 2 travelogue, and I’m still writing on day 1. Wah … don’t know when only I’ll be finish writing for the whole trip :p

After about 20 minutes of photography session with Gua Musang limestone hills as background, we departed at 2.11:41pm, heading to Kota Bharu, which is a journey of 182 km. By the way, there’s a KTM train station at Gua Musang; Micol is interested to take a train journey to northern east coast of Peninsula Malaysia.

The route from Gua Musang to Kuala Krai (the mid-way town that we were passing by before reaching Kota Bharu) before the Kelantan River has a few hot landslide spots. Better watch out if driving through this route during year end or early of the year, when the rainfall density is high.

According to our plan, the first activity at Kota Bharu is to visit Wat Pracacinaram (or Wat Prachacinaram) for herbal steam bath. However, none of us was sure about the availability of this service, and we didn’t have any idea about its operating hour as well. All we had was a phone number.

At Kuala Krai, I dialed 019-9812441, contact number of Wat Pracacinaram in-charge that we got from Internet.

Me: 哈喽!请问可以讲华语吗? (halo! Can I speak in Mandarin?)
Siamese: #$#$#$#$#$ (sorry but I couldn’t understand what he was talking)
Me: may I speak in English?
Siamese: #$#$#$#$#$ …. lak diam lak diam (though I was sweating the first part as well, but this time, I caught the last few words – “lak diam lak diam”, which means “6 o’clock 6 o’clock” in Hokkien. Ok now I know, he can speak a bit of Hokkien)
Me: hi! qia meng zi keng si sin beui bo? (Hi! Is this a temple?)
Siamese: si si… (yes yes…)
Me: wu hang zang zui eh si bo? (Can take shower there right?)
Siamese: si si… sauna (yes yes… sauna)
Siamese: lak diam lak diam (6 o’clock 6 o’clock)
(ok… now I can confirm that this temple is, as what we understand, provides steam bath or some sort of sauna facility. And it closes at 6pm)
Me: OK kam siah kam siah (OK thank you thank you)

Kota Bharu, Kelantan

It was almost 5pm when we reached Kota Bharu. Surprisingly, there was quite a heavy traffic in Kota Bharu town. We were stuck in the jam for about 10 minutes, at a route of only 800m long.

OK now, before I write further about our Kota Bharu experience, I have an important guest to introduce here – Ah Fai (or Fai siew). Ah Fai is Paullie’s friend, a Kelantanese. He is very kind to offer us 1-night stay at his bungalow, for all the 14 of us! Wah lao.. not a small gang of us you know.

After meeting up with Ah Fai at the Shell petrol station opposite KB Mall, we crossed Kelantan River from the Kota Bharu new town and proceeded to Wat Pracacinaram (or Wat Prachacinaram) located at Wakaf Bharu. Continue reading ‘Peninsula Trip Part 2 – Day 1: Kota Bharu’


Subscribe

Subscribe to my RSS Feeds

Subscribe by Email

Enter your email address:

Delivered by FeedBurner

My Tweets

Powered by Twitter Tools.