2011 in review

3 01 2012

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

Here’s an excerpt:

A New York City subway train holds 1,200 people. This blog was viewed about 4,900 times in 2011. If it were a NYC subway train, it would take about 4 trips to carry that many people.

Click here to see the complete report.





Eric & Chia Hui Wedding – September 2011

23 11 2011

“And the Lord God said, it is not good that the man should be alone, I will make him an help meet for him.” - Genesis 2:18

I was back to attend an old friend’s wedding in Ipoh, and was the photographer for both the bride’s side of dinner and the matrimony session in the church.





Langkawi Trip 2011

4 08 2011

After almost 2 years, and I went back to Langkawi for a short trip. This time with my new colleagues, and this was basically a teambuilding event and a short “lite and easy” trip to relax. We got a couple of chalets at the famous Pantai Cenang (Cenang Beach), which is located at the west side of the island.

Langkawi - Jewel of Kedah

Pantai Cenang (Cenang Beach ) @ Langkawi Island

Since this trip is partly a teambuilding event, there were activities to be completed. Thanks to both of our managers, whom has organized the Geo-Caching that leads us to different part of the island and accomplish tasks given in a total of 5 teams. Photos shown are the places that’s involved during the Geo-Caching.

Boy running on the beach @ Tanjung Rhu

Temurun Falls @ Langkawi Island

Temurun Falls @ Langkawi Island

Wandering cat nearby Skull Beach (Pantai Tengkorak) @ Langkawi

On top of the Geo-Caching, beach volley is a must at such a nice place.

Beach volleyball

On the last day, we’ve been to another famous attraction in Langkawi – The Seven Wells.

Seven Wells Falls (Telaga Tujuh) @ Langkawi

Seven Wells Falls (Telaga Tujuh) @ Langkawi

Stones and Water @ Seven Well Falls

raymondtan85 - View my most interesting photos on Flickriver





Bangkok Trip Oct 2010

4 11 2010

Just went for a short trip to Bangkok last week, from 27th Oct to 31st Oct. It was basically a leisure trip with the idea to spend few days away from our normal working lives :) And made this a chance to meetup with our friend, whom has been working in Thailand for the past 2 years.

Thailand National Flag

Thailand National Flag

Taken quite a number of photos during the trip, in various places, including Grand Palace, Wat Phra Kaew, Wat Arun…etc. we went for the Chao Phraya River Cruise as well, and taken some photos from the boat.  Some photos are attached as follows.

In the Grand Palace and Wat Phra Kaew

Wat Phra Kaew

Wat Phra Kaew

Dusit Maha Prasat Hall

Dusit Maha Prasat Hall

Miniature Angkor Wat

Miniature Angkor Wat

Phra Borom Maha Ratchawang

Phra Borom Maha Ratchawang

In the Temple of the Dawn, Wat Arun.

Wat Arun in silhouette

Wat Arun in silhouette

Temple building within the Wat Arun

Temple building within the Wat Arun

Main Prang in Wat Arun

Main Prang in Wat Arun

Off we go~~~

Off we go~~~

During the Chao Phraya R iver Cruise

Wat Arunratchawararam

Wat Arunratchawararam

I LOVE U

I LOVE U

Hotel along Chao Phraya

Hotel along Chao Phraya

Great Temple

Great Temple

Guan Di Temple - 关帝庙

Guan Di Temple - 关帝庙

Floods at the riverside of Chao Phraya

Floods at the riverside of Chao Phraya

Photowalk in Bangkok

On the go...

On the go...

Auspicious and Luck - 吉祥如意

Auspicious and Luck - 吉祥如意

For more photos, feel free to drop by my Flickr. :)





Die Another Day [remake]

18 10 2010

This trailer was a remake by me together with a team of colleagues. It was an entry to a our 2010 IT Nite competition with James Bond as the theme.

Disclaimer:
I do not own any of the music and scenes that were used from various Bond Films. They belong to their rightful owners. This video is made for the enjoyment of others. Copyright infringement is never intended.




Penang Heritage Trail

18 09 2010

Taken some free time to wander around Penang town area, and went to some heritage sites last week with my parents. We went to several places, including Kek Lok Si Temple, Leong San Tong Khoo Kongsi, and Penang Peranakan Mansion.

Koi Fish @ Kek Lok Si

Koi Fish @ Kek Lok Si

Some photos at Khoo Kongsi

Traditional Chinese Rounded Window

Traditional Chinese Rounded Window

Hand-crafted Wooden Panel

Hand-crafted Wooden Panel

Khoo Kongsi @ HDR

Khoo Kongsi @ HDR

After Khoo Kongsi, we went for lunch and then to Penang Peranakan Mansion.

Traditional Peranakan Living Hall

Traditional Peranakan Living Hall

Traditional Peranakan Bedroom Setup

Traditional Peranakan Bedroom Setup

Western influence @ Peranakan Mansion

Western influence @ Peranakan Mansion

Traditional Card Game - Cherki

Traditional Card Game - Cherki

Traditional Chinese Wooden Door

Traditional Chinese Wooden Door

Full set of photos taken during that day is available at Flickr. :)





Linux Project – Day 3

7 07 2010

With the project going to third day, what we did is pretty much from Chapter 2 in the LFS book.

image

In virtualized environment, this is far more easier. Run the VirtualBox Manager and add another virtual harddisk to it before we booted up the Fedora 13 / any other host that you prefer.

image

image

Added another new disk under the SATA Controller with 5GB of size, calling it LFS.vdi. Boot up the VM and configure our partition for the build.

image

Create partition as usual, I use the whole 5GB space for the LFS, without any swap or different partition. Once partition is done, format it with new file system. I used ext3

mke2fs -jv /dev/sdb1

image

image

When view with the Disk Utility provided by Fedora itself, the whole 5.4GB has been utilized as a single partition with ext3 file system. This will be the LFS build environment.

After the partition and file system setup, we need to mount it to be useable.

export LFS=/mnt/lfs

mkdir -pv $LFS

mount -v -t ext3 /dev/sdb1 $LFS

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine





Linux Project – Day 2

5 07 2010

To build LFS, which basically means building your whole Linux-based operating system from source code. There’s 2 ways at least, which involves using the LFS LiveCD itself as the host to compile kernel, utilities and other modules, you can use another Linux-based host to do that. In my project, I’m using Fedora 13, and I’m running it in a virtualized environment on top of Windows XP SP3. Before any compilation starts, it’s good to verify that any system requirements that the host OS must possess. A good way to look at it is double checking ur host OS specs with this web page.

First thing, fire up ur Fedora 13.

image

From the page, they provide you a bash script to dump all the versions and checking on the availability of a particular module. *the rights of the script belongs to LFS (http://www.linuxfromscratch.org)

cat > version-check.sh << "EOF"#!/bin/bashexport LC_ALL=C

# Simple script to list version numbers of critical development tools

bash --version | head -n1 | cut -d" " -f2-4echo "/bin/sh -> `readlink -f /bin/sh`"echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-bison --version | head -n1if [ -e /usr/bin/yacc ];  then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";   else echo "yacc not found"; fibzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2diff --version | head -n1find --version | head -n1gawk --version | head -n1if [ -e /usr/bin/awk ];  then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`";   else echo "awk not found"; figcc --version | head -n1/lib/libc.so.6 | head -n1 | cut -d"," -f1grep --version | head -n1gzip --version | head -n1cat /proc/versionm4 --version | head -n1make --version | head -n1patch --version | head -n1echo Perl `perl -V:version`sed --version | head -n1tar --version | head -n1echo "Texinfo: `makeinfo --version | head -n1`"echo 'main(){}' > dummy.c && gcc -o dummy dummy.cif [ -x dummy ]; then echo "Compilation OK";  else echo "Compilation failed"; firm -f dummy.c dummy

EOF

bash version-check.sh
Once the script is done, and you’ve issued the last line of the command, you will get the result of ur version checking.
image
Obviously, the Fedora 13 lacks pretty much modules as a default installation. In fact, I’ve output all the result to a text file called result.txt, which I’ve used vim to open it up to compare on the version.

image

Below is the compilation of the result, and any actions I need to make sure the host environment is capable to compile LFS.

image

All modules that are available is either has higher versioning or comparatively same. But, a few modules is not installed.

image

First thing i installed was the bison, which is a GNU general-parser generator, especially useful for C development, which we need for LFS compilation.

image

I was using the Add/Remove Software for the installation by searching it and apply the package to my OS. I continue all this for other packages, and all manage to get the required versions easily, except gcc which has version 4.4.4 only.

image

Besides, to install gcc, you will be asked for more packages to be installed, as shown in the screen capture.

image

After all the hassle :P , i’ve rerun the shell script again, and this time no missing modules. Except, the gcc library is in version 4.4.4 instead of 4.4.3 as requested. Let’s try it out and see what happens.

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine





‘user’ is not in the sudoers file

4 07 2010

This happens to me while i try to use sudo on any command, in case it happens to you, here is the solution.

   1: su

   2: Password: <ur_root_password>

   3: chmod +w /etc/sudoers

   4: echo 'raymond (ALL)=ALL ALL' >> /etc/sudoers

   5: chmod -w /etc/sudoers

   6: exit

What it does is to add ur account to the sudoers file by making it writable through ur root account (su = superuser).

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine





Linux Project – Day 1

4 07 2010

It has been some time that I’ve touched anything on Linux :P environment. It came to my mind today which I wanna do a refresher crash course for myself by playing around with several Linux projects. The first thing came to me was the LFS, which I’ve stopped previously in the first few step during the compilation of GCC. Gonna build it again and this time complete it with BLFS at least. :) Last time I’ve tried building it from LFS LiveCD, then resorted to using Ubuntu 7.01. This time, I’m gonna use Fedora 13, which itself is a vritualized environment on top of the Windows XP SP3 as a host, running VirtualBox 3.26.

I jumped straight to where Fedora 13 has been successfully installed from the LiveCD.

First boot after installation from LiveCD.

Logging in with my credentials :D

Default desktop settings, running at 800×600. To get other higher resolutions, you need to install the LinuxAdditions Package from VirtualBox

Mount the LinuxAdditions from Devices Menu on the VirtualBox

Run the Terminal

Navigate to the media, and install using the command sudo sh ./VBoxLinuxAdditions-x86.run

This is running in 1024 x 768.

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine








Follow

Get every new post delivered to your Inbox.

Join 210 other followers