Linux and Open Source Applications Support Vendors in Singapore

Many companies try very hard to avoid using open source solutions in Singapore because the general impression is that support is poor.

A quick googling suggests that these vendors do provide professional support in Singapore:

Do you know of other vendors in this business? Let me know so that I can grow this list. When it’s substantial, maybe more Singapore companies will be willing to try open source solutions. 🙂

Venerable Thubten Chodron Offers Key Strategies for Buddhist Youth Leaders

Venerable Thubten Chodron shared some useful advice about how young Buddhist leaders can benefit others and themselves in a recent dialogue with youths.

Organised and compiled by Ow Yeong Wai Kit:

  1. Think deeply and set your own priorities.
  2. Consider the advice of elders and seniors, but make your own decisions.
  3. Manage conflicts openly and calmly.
  4. Be flexible with your plans.
  5. Think carefully before making commitments.
  6. Balance time and resources to increase effectiveness.
  7. Evaluate monastic and lay teachers before accepting their teachings.
  8. Reach out to nominal Buddhists by emphasizing the Buddha’s love and compassion.
  9. Be sensitive to the differences between people.
  10. Develop self-confidence.

crontab -e not saving changes

‘crontab -e’ kept telling me ‘crontab: no changes made to crontab’ even though I’ve made changes. When I run ‘crontab -l’ to check, my changes were not saved.

Turned out it’s due to my environment variable:

export EDITOR=/usr/bin/gvim

Changing it to vim solves the problem:

export EDITOR=/usr/bin/vim

How to create MBR for booting into Windows

I had a dual-booting laptop with Linux Mint and Windows XP on it. After deleting the Linux Mint partitions, it failed to boot into XP because grub can no longer find the MBR. This was the error message:

error: no such partition
grub rescue>

Solution:

Boot into SystemRescueCD and run this command to create a new MBR:

lilo -M /dev/sda mbr

Note: My XP resides in /dev/sda.

How to determine which repo a RHEL/CentOS package belongs to

I thought this command should show me which repo the package ‘htop’ belongs to, but I was wrong:

[root@server ~]# yum info htop
Loaded plugins: rhnplugin, security
Installed Packages
Name : htop
Arch : x86_64
Version : 0.8.3
Release : 1.el5
Size : 136 k
Repo : installed 
Summary : Interactive process viewer
URL : http://htop.sourceforge.net/
License : GPL+
Description: htop is an interactive text-mode process viewer for...

Notice that it merely indicates ‘installed’ for the ‘Repo’ field? Not very helpful here. I wonder why yum works this way.

To find out which repo ‘htop’ comes from, use this command instead:

[root@server ~]# yum provides `which htop`
Loaded plugins: rhnplugin, security
htop-0.8.3-1.el5.x86_64 : Interactive process viewer
Repo : epel
Matched from:
Filename : /usr/bin/htop

htop-0.8.3-1.el5.x86_64 : Interactive process viewer
Repo : installed
Matched from:
Other : Provides-match: /usr/bin/htop

See ‘epel’ there? Bingo!

Ugly evangelical Christians insult Buddhists and Muslims

Once again, Christian evangelists have abused Buddhists and Muslims, this time by the National University of Singapore (NUS) Campus Crusade for Christ (CCC):

Offensive poster from Campus Crusade for Christ

Offensive web page from Campus Crusade for Christ

The small text circled in red above reads:

“In a country where much of the population is M, much prayer and work is needed in this place. As our first team to be sent to this place, you will be reaching an unreached people group. This is a pioneer work where you will get to help start movement on their campuses! … …”

Please make a stand and tell the insensitive religious zealots that enough is enough. Check out and LIKE the Facebook page Say Yes to Religious Harmony.

It’s ok to discuss and compare religions but it’s a no-no to abuse others’ religion no matter how “well-intentioned” you are or how much you “love” them. How can you love someone when you don’t even respect the person in the first place?

Please stop offensive evangelism and unethical proselytism now.

Workaround for attaching > 1MB file attachment in Gmail

When I upload file attachment larger than ~1mb to Gmail using the Chrome web browser (v18.0.1025.33-r122015 google-chrome-beta on Ubuntu 11.10), the uploading will always fail after a while and Gmail will retry, resulting in an infinite loop to attach the same file.

Workaround: Use Firefox to attach such larger file attachments in Gmail. It works for me on the first try with Firefox 10.0.2.