Wednesday, February 25, 2009

Ctags TIPS and Command

Run vim (full path /usr/misc/bin/vim)
Type :tj (Example: :tj api_Timer::clear, choose a number)
You are there!
Tips

:tj[ump] (or move your cursor to it and press "g Cltr+]"*)
Jump to the tag directly when there is only one match

:tn[ext]
Jump to next matching tag

:tp[revious]
Jump to previous matching tag

:tf[irst]
Jump to first matching tag

:tl[ast]
Jump to last matching tag

:po[p] (or Ctrl+T)
Jump to older entry in tag stack

:ta[g]
Jump to newer entry in tag stack

:tags
Show the contents of the tag stack. The active entry is marked with a '>'

:tj /^get
Lists all the tags that starts with "get"

:tj /norm
Lists all the tags that contain "norm", including "id_norm"

Notes
*By default, Cltr+] is escape character for telnet. You can disable it through
Windows DOS: telnet -e '' (two single quote ')
Unix: telnet -E
You should use dtterm (/usr/dt/bin/dtterm) to enable vim to support color mode

How To Generate Ctags and Configure It To Use With Vim (Vi Improved)?

Many of you wondering how to generate ctags and configure it to use with Vim? Here, you at the right place.

What is ctags?

According to ctags sourceforge.

Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility. A tag signifies a language object for which an index entry is available (or, alternatively, the index entry created for that object).

Tag generation is supported for the following languages:

Assembler, AWK, ASP, BETA, Bourne/Korn/Zsh Shell, C, C++, COBOL, Eiffel, Fortran, Java, Lisp, Lua, Make, Pascal, Perl, PHP, Python, REXX, Ruby, S-Lang, Scheme, Tcl, Vim, and YACC.

Below is 6 (six) simple steps to generate the ctags and use it with your vim.

Precondition:
- you need to have unix
- you need to have vim

Notes: you can generate ctags to use in windows but I haven't tried that before.

1. Download the ctags source from

http://www.sunfreeware.com/
http://ctags.sourceforge.net/

I'm using ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/ctags-5.7.tar.gz

2. gunzip and untar it.

3. run ./configure

4. run make

if 'make' does not exist in global environment. Search for it by
find / -name make 2>/dev/null

[/gateways/yapywa/ctags/ctags-5.7]
12:37:35 > /usr/ccs/bin/make

--> after make you will see .C get compile and with .o output file.

5. Generate the tags

ctags -f --recurse --langmap= --languages= --verbose

[/gateways/yapywa]
12:37:35 >
/gateways/yapywa/ctags/ctags-5.7/ctags -f tags --recurse --langmap=C++:.C.h.c.cpp.hpp --languages=C++ --extra=+q --fields=+i --verbose /gateways/yapywa/ALU_CORE

6. SET CTAGS in VIM under .vimrc

se tags=/home/yapywa/tags

Tuesday, February 24, 2009

Keeping my finger crossed

Update from here

I'm keeping my finger crossed tight tight and pray hard hard that everything will went smoothly ...

Let's pray ..

Stupid Shahrir Samad, another IDIOT

In The Star,

Hell man, first thing I come to office, when I read The Star, it really make my day simply because I can laugh out loudly and I realized that there are so many people more stupid and more idiot than me. hahahah .. gagagag ... it just makes my day .. Damn it.

Shahrir Samad our bloody Domestic Trade and Consumer Minister, an UMNO warlord from Johor speak without facts and simply speak without his bloody BRAIN.
“The price of sugar has not risen and surely they (the restaurant operators) can reduce the prices (of Milo drinks),” he said, after launching the price reduction campaign at Nestle Manufacturing (Malaysia) Sdn Bhd here yesterday.
Everyone should know that when we make Milo, we use condensed milk and not sugars. At home, I'm sure you do make your own Milo or Ice Milo, and I'm damn sure that you will use condensed milk cause it simply taste better with condensed milk (susu pekat manis). Even if you go to Mamak, you can see that they don't use SUGAR either.

This stupid Shahrir Samad doesn't even do his homework probably before going to the press. Either Shahrir Samad is bloody stupid or his political aide is damn bloody fool.

Wednesday, February 18, 2009

Snap Picture Illegally

My angel ....

Now that I have snapped my daughter's picture without her consent.

Shall Ning Ning resign from being my daughter?

Shall Ning Ning resign from her "devils" post in the house?

Shall Ning Ning resign from her "bouncer" post in the house?

Shall Ning Ning resign from her duty from being "bandaraya" cleaner?

Arghh .. I'm just so bored .. Crap lar ..

2 Beauty

Who is this beauty? Nope nope . .not my daughter .. It is my niece .. Look at her .. so adorable ...

and this is my sleeping beauty ... look at her lips ... ouch ...

Tuesday, February 17, 2009

Praying for the best

I'm praying for the best and I need the best wishes from you all..

I hope 2009 is ain't that back at all ..

2 BIG wishes ...
1. Sooky to get a new job
2. Manage to sell off my house in Puncak Jalil.

Hopefully my prayer will be answered in the coming few weeks time.

Finger cross .. wish me luck ..

Monday, February 16, 2009

OMG !! Believe it or not !! Believe it !!

My jaw dropped when I read this .. Jezz

Read here ... http://star-motoring.com/blog/permalink.asp?id=349

House For Sale: Single Storey House in Taman Puncak Jalil

HOUSE FOR SALE - SOLD

Good location, 10 mins drive to Giant, 10 mins to Carrefour, 10 mins to LRT Putra in Sri Petaling, close to KLP, 15 mins to Puchong CBD + other amenities like bank, clinic, school and etc.

Single Storey
Facing East
Not facing any house in front. Ample space for parking or kenduri.
20 x 70
3 rooms + 2 toilet
CF ready.

RM 17X nego.

Interested please email me at yapyawwah@gmail.com

Bloody Butch .. Bitch @ Midvalley

Sooky and myself went to Midvalley on last Saturday to source for the ingredients for our "romantic" dinner at home. We went to Midvalley in particular because Midvalley has variety of choices of hypermart there like Carrefour, Jusco & Cold Storage. Easier for us to get some "weird" ingredients to prepare our Cheesy Nachos for appetizers, Gorden Bleu Chicken as entree and "Flying Rainbow" as our drinks.

Oh well, we managed to source for most of the items except few things that we can ignore it. Photos of the dinner, wait wait.. still in the camera, do not have chance to load it up yet.

First thing we do, when we reached there is to let our maid eat her lunch first. FYI, my maid don't like western food. She only prefer rice with bird eye chilis. Jezz ... Crazy fella. Ya we have to please her, cause sometime we wonder if we are the real employer or she is. Damn ... having all sort of issues with Indon maid.

After that we go to Sooky's favourite restaurant again. It is Paddington House of Pancakes in Midvalley (LG on the way to The Gardens.). She had her favourite blueberry pancakes (408) and I have the number 406 in the menu and can't recall the name. Basically mine come with beef bacon, chicken sausage and pancakes (of course with pancakes lar, else why you go Paddington HOP).

After luncheon, we go and get our groceries. Then on the way back to the car park, I noticed there is this white Perodua Viva with a chicks waiting for my parking. So I quickly put Ning Ning back to her baby seat (ya safety come first.) and unload the groceries into the trunk. Just before I about to close the trunk I noticed a bloody "BUTCH" bitch in her/"he" grey PROTON WAJA (aka pretending to be Mitshubishi Evo Lancer, Fxxx Yxx) putting the signal wanted to take my parking. Then being a gentleman (as I always do), I politely tell her that, "sorry ye, sudah ada orang tunggu". Then you guess what the bloody butch saying to me repeatedly while driving away, "ya I tahu, ya I tahu, I ade mata".

Fxxx Hxx. God damn her, if she had the bloody eye, why on earth she put signal and wait for my parking. I'm just trying to be a good samaritan. Bloody hell, feel like smashing her/"he" windscreen only. You bloody butch.

Don't act as if you are a man. You are still a LADY. Beside, your religion forbid you to act as one. You should act as girl. It is so sinful for you to act/ to dress like a man. Shame on you and also shame to another chicks sit to next her. How could you. Fxxx. You two just like two fxxxxxg rubbish in this society. Get a life and go to hell. .. Cilaka ..

Alright enough ranting.... photo of my master creation coming soon .....

Thursday, February 12, 2009

Job Opportunities - Java Developer or Software Tester

Hey folks,

here you go, my company is looking for Java developer (Software Development Engineer) and also Software Test Engineer (QA Engineer).

Anyone interested, email me your resume to alexyyw@hotmail.com. No spamming ok.

Cheers.

Friday, February 6, 2009

Manulife Customer Services.. BRAVO !!

After previous mistake and ranting at here,

First it bring one of their concern employee from Singapore to contact me via my blog. She is Terence. Big applause to her, I believe she went extra mile to scout for assistance from her colleague in Malaysia to assist me.

Second, another big applause to Senior Manager of Customer Service, Ms Foong Yee Ping to contact me and offered help.

Third, another big applause to Haslina, the Assistant Manager of Customer Service to provide me with the necessary information and explanation regarding my mom's insurance policy.

With this I would like to retract my statement at here, and I honestly feel that their services are very professional at all means. I am very appreciate with all the helps that they have provided. Kudos to all three of them.

Tuesday, February 3, 2009

Tax Bonuses for Malaysian?

Australia government has started giving out Tax Bonuses for Aussies. When will us being Malaysian enjoy the tax bonuses from our beloved Malaysia a.k.a UMNO government? (Noticed that I never mentioned other component party like MCA, Gerakan, Sabah, Sarawak, simply because all these component parties are just anchovies which have no say in BN government.)

Read more from here.

Monday, February 2, 2009

Manulife Customer Service sucksss

You probably wanted to know why I said MANULIFE sucks .. It is because their poor customer service.

This morning I spent 53 mins waiting to be served. I called their customer service department to enquire something on my mom's insurance policy and to my horror, it took me waiting for 53 mins and not getting served. Even though the auto-response machine saying i'm the 3rd in the queue. I patiently waited for my turn (surprisingly, I'm so patient today. Normally I would not have waited for more than 10 mins on the phone).

Based on manulife website at here, it said that customer are the top priority, hmm ... I don't think they act on what they had promised.

=== Updates on 4th Feb 2009 ===
I received a reply from Manulife Senior Manager regarding this issue. Apparently it is because of
the auto-response machine is functioning. Please see the reply from below. Wondering if I should try call them again or go there personally one of these day? By the way, kudos to Terence and Foong for their effort in contacting me. Thank you so much. At least it restore some of my confidence towards Manulife.

Dear Mr. Yap,

I have read your comments on our customer service with genuine concern. Please accept our sincere apology for having inconvenienced you.

I can understand your frustration from having waited in the call queue for almost an hour. This is definitely an unusual occurrence. It was a Public Holiday in Kuala Lumpur on the 2nd February 2009 in conjunction with the Hari Wilayah. Unfortunately, the telephone system to alert callers trying to contact us over non-working days was inadvertently not activated.

I hope your queries have been answered by now. If not, please call us again or feel free to contact us at service@manulife.com.my for your servicing needs. You have our assurance that we have taken the necessary steps to ensure that this does not happen again.

Thank you for your continued support towards Manulife and we look forward to serving you again in the near future.



Yours sincerely,


Foong Yee Ping
Senior Manager, Customer Service