Monday, April 21, 2008

Adsense Tips

I have written a post on how to remove adsense widget from your blogger homepage that is to just display the ads when the current page is showing either an individual post or posts under a certain label. Please click here to browse to that post. In that post, the subject matter is that the adsense unit happens to be the widget displayed on a right panel of my blog.

Last week, I tried to show the ads units after every individual post body. I followed the guidelines from "Tips for New Bloggers" to achieve my objective. I did archive the objective but with a defect that the ads do show up only after some posts. I could only view two or three ads units in the same page which contains 5 posts or more. Probably the adsense code was intelligent enough to limit the maximum number of ads units to be displayed in one page.

Thus, I decided to remove the ads if the current page shows more than one posts, meaning the ads should be displayed only in a page which contains a single post. Here, I assume that you have already followed the steps from "Tips for New Bloggers". The next thing to do is just insert conditional check in red color as follows. This check ensures that the ads unit(s) displays only when the page type is item, ie ., the individual post. The ad(s) will not be displayed on the home page or a label page.

You can view the effect of the check in this site. Click on any single post title, you will see the ads. Go to homepage or click on a label, you will not view any ads after the post body. I hope it works for you too.

Sunday, April 20, 2008

June 2008 ACCA Exam Timetable

Mon 2 June--------------F6------P6
Tue 3 June-------------- F4------P7
Wed 4 June--------------F3------F8
Thu 5 June-------------- F9----- P4
Fri 6 June--------------- F2----- P5
Mon 9 June--------------F5----- P1
Tue 10 June-------------F7------P2
Wed 11 June-------------F1------P3

Ref : Timetable @


A man is dating three women and wants to decide which to marry. He decides to give them a test. He gives each woman a present of $5,000 and watches to see what they do with the money.

The first does a total makeover. She goes to a fancy beauty salon, gets her hair done, purchases new make-up and buys several new outfits and dresses up very nicely for the man. She tells him that she has done this to be more attractive for him because she loves him so much. The man is impressed.

The second goes shopping to buy the man gifts. She gets him a new set of STRONG golf clubs, some new gizmos for his computer and some expensive clothes. As she presents these gifts, she tells him that she has spent all the money on him because she loves him so much. Again, the man is impressed.

The third invests the money in the stock market. She earns several times the $5,000. She gives him back his $5000 and reinvests the remainder in a joint account. She tells him that she wants to save for their future because she loves him so much. Obviously, the man was impressed.

The man thought for a long time about what each woman had done with the money.Then he married the one with the largest breasts.

Men are Men!!!

Tuesday, April 8, 2008

Money Doesn't Grow On Trees

Do you think it's easy to imagine yourself as Albert Einstein and try to solve out some quantum physics puzzles? I think not. It is in fact not difficult to figure out. Just try to put yourself in his shoes and imagine how pitiful you will be sitting at a desk over which papers are all scattered over, struggling with some totally unknown formulas.

It is in fact so not because you are putting yourself in the shoes of the world famous scientist. We are very uncomfortable in such situations because we are making the thinking and imagination process from a perspective of someone else whom you yourself are not. I had a personal experience about it , which I would like to share with you guys. I was browsing in the library and found this book titled "Money Doesn't Grow On Trees". The book is intended for helping out parents who would want to teach their kids on how the financial world operates. I was interested in it since it is a bestselling one whose underlying objective is to teach kids about money which, in my restricted view, are somehow irrelevant. I borrowed it with the view that I would give a try to this book since my parents did not systematically teach me about this topic in my younger days anyway.

It turned out that it's a crazy idea. After reading through a few chapters(the reading process involved me having put myself in the shoes of parents), i felt like "Geez! I can't do it anymore". I stopped reading it right away. Since I am not a parent, it was just too touch for me to play the game of parenthood. So, in my opinion, if you are not a parent yourself, you had better avoid this book. However, if you are a parent with some young kids, this book I think can give you some insight on how to let your kids know some basic rules about money. I think this book is one of best guide for parents who want to teach their kids the value of money and personal values.

Saturday, April 5, 2008

Life In Slow Motion

Three turltes, Joe, Steve, and Poncho, decide to go on a picnic. The picnic site is miles away , so they take 10 whole days to get there.

By the time they arrive, everyone's hungry, so Joe takes the stuff out of the picnic basket. He takes out the drinks and realizes that they forgot to bring a bottle opener. Joe and Steve beg Poncho to turn back home and retrieve it but Poncho refuses, knowing that they will eat everything by the time he gets back.

After two hours, they manage to convince Poncho to go, swearing that they won't touch the food. So, Poncho sets off down the road, slow and steady.

Twelve days pass, but no Poncho. Joe and Steve are hungry, but a promise is a promise. After three more days pass, Steve starts getting restless. "I need food!" he says with a hint of dementia in his voice.

"No!" Joe retorts. "We promised."

Five more days pass. Joe realizes that Poncho probably skipped out to the dinner down the road, so the two turtles weakly lift the lid, get a sandwich and open their mouths to eat. But then, right at that instant, Poncho pops out behind the rock.

"Just for that, I'm not going."

Friday, April 4, 2008

Smile Detecting Camera

I heard about this new SONY camera at a lunch table from a colleague. He said that certain cameras nowadays can detect smiling faces, and instantly capture the image upon the detection. It made me realize how much I am lagged behind the technology of modern digital cameras. Of course I quickly checked out about this since I am excited by the notion that the cameras nowadays are becoming more and more intelligent.

He was right! This new(well, just for me) sony cyber-shot DSC- T200 automatically allows you to capture your happy moments. All you have to do is simply choose smile shutter from scene selection, then press on the subject to be taken. The camera automatically detects the smiling face and closes the shutter. To detect the different degrees of smiles by your subject, you can set sensitivity level to "HIGH" ( to detect faint smile), "MEDIUM" (for a normal smile), or "LOW" (for a hearty laugh). If there are more than one subjects in the frame, you can press on the touch screen to select the main one.

Though this is an innovative approach , I guess users might face some inconveniences with the gadget since this technology is relatively new. I think this is true with all new techy things. Like it or not, you have to try it out yourself.

Law for General Knowledge II

Citation in Law Reports

The citation generally described below can be referred to when you are reading a Singapore Law Report.

Cases which are found in reports are cited in a particular manner. The standard form of citation is to write the name of the parties involved, the year the judgement was delivered, the law report series in which it is reported and the page number of the volume.

Hence a typical citation appears as : John V Mary [1994] 3 SLR 719, meaning that this case is to be found commencing on page 719 of the third volume of the Singapore Law Reports published for 1994.

When reading a law report, it is important to note the parties involved. In civil cases, the first party is the plaintiff - the person making the complaint. The plaintiff is the person who initiates the legal proceedings while the other party is the defendant. In criminal cases, the first party is the public prosecutor (abbreviated to "PP") , acting for the state, and the other party is the defendant. For both and civil appeals, the first party is the appellant and the other party is the respondent. Hence, at first instance, a defendant's name appears second. If he subsequently appeals, his name will appear first as the appellant.

Wednesday, April 2, 2008

Convenient Eye Shadows

This is the extract from the email inbox. I think I like the idea behind this product.