Page 2 of 3«123»

Archive for the 'Tech Talk' Category

Me and Google Search Appliance

Me with the Google Search Appliance

This picture was taken on 16th June with my Sony Ericsson P1i. It was the day when the Google Cheese Search Appliance (GSA) arrived at my office. I’ve been keeping this picture for weeks, and not planning to hao lian 好恋, until I’m “inspired” by Jason Lioh’s latest post. hahaha

After been using Google web search for so long, this is the very first time, my colleagues and I have a chance to see, touch, test and molest the set of Google search hardware, software and algorithm designed specifically for enterprise use. This is a loan unit we got from Ingram Micro to on search integration with our flagship product.

Learn from Jason. Allow me to hao lian 好恋, can or not? haha

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?

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’

Firefox 3 Enhances My Experience of Web History Searching

Firefox 3 is already released at RC2 on yesterday. Out of all the new features that I love in Firefox 3, there’s one particular enhancement that I’ve been repeatedly showing off my friends around :D It’s just too useful that I need to make some buzzes about it :p

Firefox 3 Improved Location Bar

Take a look at the above screen shot (you may click to enlarge the image). Do you notice how different am I searching for my web history? Continue reading ‘Firefox 3 Enhances My Experience of Web History Searching’

Firefox 3 RC2 Released

Firefox 3 As mentioned earlier, Mozilla is releasing the second release candidate (RC2) for Firefox 3. And yes, Firefox RC2 has arrived, available for public download now.

The RC2 includes fixes for some top priority bugs causing crashes, performance inefficiency, and localization-releated issues.

Firefox 3 RC2 in June

As cited at Mozilla Links, there will be a second release candidate (RC) for the next generation of Mozilla Firefox - Firefox 3. At present, Firefox 3 is released as release candidate 1 (RC1).

The Firefox 3 RC2 will include fixes for some top priority bugs causing crashes, performance inefficiency, and localization-releated issues. The RC2 is expected to be available for download in second week of June. Results of testing for Firefox 3 RC1 are available here.

I’m currently using Firefox 3 RC1, and I must say that I’m very happy with the overall experience. In oppose to installation of previous Firefox major RC upgrades, most of the Firefox plugins that I’m frequently using are already having latest releases compatible with Firefox 3, except Google Toolbar, Firebug (Firebug 1.2 Beta is compatible with Firefox 3) and All-in-One Gestures.

Firefox 3 includes a big bundle of notable new features and dramatic performance improvement (the fastest Firefox ever). Yes, go take a look at the Firefox 3 new features now, I’m sure you will find some interesting ones which will create excitement for you :D Continue reading ‘Firefox 3 RC2 in June’