30 August 2014

So Many Comment Spammers

Even though Blogger has a fine spam filtering system but I still get the spam comments into my email, sometimes I couldn't differentiate from the genuine comments so sorry if I did not reply. Maybe I should put the captcha test but I don't like captcha, it's such an annoying and yet useful feature but I find it more annoying.

And I know why they are posting in my comments, it's because they want to promote their website, it's really such a lame way to promote a website, if you put genuine comments then fine, well at least be relevant, all of the spam comments don't make any sense, like this guy who keeps posting in Japanese, what the hell lol, or another who tells me he has problems with hackers, viruses and then he drops a link to a website selling shoes.

29 August 2014

Ekin Cheng Wind and Cloud

Just watched the movie, this song is so classic, next time I have children must let them listen lol...


27 August 2014

Trying for Baby Again!

Somehow I feel that everything is settled and all I need to do is to have a baby, I mean house, job, wife's PR all settled, what else. I feel even more motivated when I heard that the wife of my 26 year old colleague delivered her baby recently, I'm already 31 and my wife 28 and we still don't have baby, so what are we waiting for.

Anyway I already have a plan in mind, once her pregnancy is confirmed, I will straight away buy tickets for her to go home, have discussed with her, the cost here in Singapore is just ridiculous even if she is PR, of course if everything goes well then no worry but for her case is very hard to say, what if there are complications, the cost can shoot through the roof, really no point paying that kind of money.

So when she stays in Thailand, I will visit her once every 2-3 months, now I have plenty of leave so no problem. Maybe we might get a car there so it will be easier for her to get to the hospital. Now I'm thinking how much I should give her every month she is there, maybe $1200, hope it's enough.

26 August 2014

In-camp Training Again!

Next month going back for ICT, see my old friends again, but damn stupid, waste of time, probably go back and wait for time to pass, go canteen break, walk around, go emart, talk cock, sleep, what else, maybe go range, go get $200 also not bad, nowadays the range at the new facility, it's almost as if they throw money at you, there's no way you cannot get the money, they let you take until you get marksman.

And maybe I can get to clear my IPPT via the new system, sit-up, push-up and 2.4km, lol sure pass and sure get $200, go one ICT can get $400, really not bad. Sometimes I also feel bad, I'm a taxpayer and I'm wasting my own money, funny right.

24 August 2014

Sunday Lunch at Home

My wife cooked my favourite stir-fry pork with chili and long beans, fried egg and chili petai with pork.

Yummy!


23 August 2014

Sheng Kee Food is So-So

This morning me and wife went to Clementi Mall to try new food, we passed by Sheng Kee so I suggested to try it since we never eat there before. The eating space is very small, even the tables and chairs are small, true to what I heard from my colleagues who went to Hong Kong, they say the eateries there i.e. Cha Chan Ting (茶餐厅) are very cramped, people have to eat quickly and the shop helpers will chase you out if you are not eating or have finished your food because their space is very limited, we must be very lucky to be able to take our own sweet time here, anyway I don't like small eating spaces, so uncomfortable, unless the food is superb then I don't mind, unfortunately the food at Sheng Kee is just so-so.

We ordered:

  • Dry signature noodle $8.50.
  • Rice with chicken and sausage $6.90.
  • Milk tea $2.90.
  • Add Gui Ling Gao and carrot cake for $1.90.
  • Subtotal $20.20.
  • Add $0.20 service charge and $1.43 GST, total $21.85.
The signature noodle comes with 2 pieces of Shui Jiao (whole prawn dumpling with pork) and 3 pieces of Wonton (pork dumpling), also comes with 2 pieces of veggies and a small bowl of soup. The dumplings not bad, but noodle quite bland, soup also quite bland, our local noodles still better and cheaper, for $8.50 I can eat two big bowls.

My wife say the rice with chicken and sausage is ok, I tried the chicken, I also think it's ok, you know, as in so-so kind of ok, it reminds me of my mother's claypot chicken rice, but of course my mother's claypot chicken rice is much better, this dish also quite bland in taste.

Milk tea is just milk tea, nothing special, the gui ling gao also nothing special, carrot cake is ok, Hong Kong style carrot cake but I have eaten tastier version at our local coffee-shop. I remember there used to be a chef from Hong Kong who opened a stall at the coffee-shop in my parent's neighbourhood, everyday he will handmake carrot cakes, yam cakes, you know the type where the filling will burst out when you bite on it, spring rolls and etc, too bad he closed shop and moved elsewhere, miss his century egg porridge, he will put some crispy fried biscuit or flour, really goes very well with the porridge.

Now that I think of it, I don't think Hong Kong food is bland, the chef that I'm talking about, his dim sum, porridge, chee cheong fun, oh yeah, he was also selling the rice with chicken and sausage, now that I think of it, it's supposed to be well-salted, this Sheng Kee version really lose out.

Starmex Aircon Very Easy to Clean

The vanes can be removed easily because the middle and left section can be unlocked and the inner vanes can be pulled down by unlocking it, exposing the fan takes less than a minute, but nothing much to clean because we only used it for about 2 months.

I think overall I'm very satisfied with my aircon, the cooling power is solid, at 24 degrees it's so chilling, have the Genting Highlands feel, 25 is just nice for me but my wife prefer 24, I can't imagine 23 and below, must be super cold. The best part about this aircon is they have this silent fan mode, you turn it on and there is barely any sound coming from the aircon, it's as if the aircon is not even there, and the difference between silent mode and normal fan mode is just that silent takes a little bit longer to cool the room so no biggie.

One problem with this aircon is the fan is too powerful, previously I was using auto fan mode and when the fan goes into high speed, it will vibrate and make a lot of noise, and when it reach max speed, even the ceiling will vibrate, and I only realized this earlier this week, I always thought my neighbour above was using a massage chair or running a generator, but anyway their aircon compressor is still running like an old car engine, damn noisy, the neighbour beside also the same, sometimes I can hear the uncle say he beh tahan, probably referring to the noise, of course, even I can hear it and he's sleeping right beside it so it must be worse.

21 August 2014

Wife Completed PR Formalities

Our appointment was at 1.45pm, we reached ICA building at 1pm and registered at about 1.05pm, the PR services centre at level 5 was quite empty so we didn't have to wait long, about 10 minutes later our number was called, we went to submit my wife's passport, her long-term visit pass plus (ICA will keep this), 2 passport size photograph taken at the same level (4 pieces for $5), the approval letter, paid $200 by NETS ($100 for entry permit, $50 for re-entry permit, $50 for blue IC), and finally collected my wife's entry and re-entry permit and a slip of paper to register an appointment to collect her blue IC. And she got a new IC number starting with S, her G number is no longer in use. The whole process ended before 1.45pm, faster than expected, I thought we will be stuck there for at least 2 hours lol.

And just to share an incident while taking photo at the level 5, the uncle insisted that my wife put on a coat for her photograph, I checked the approval letter and there is no such requirement but I told my wife to just do as told, I just felt that he don't seem to like foreigners much, he asked me if my wife is submitting her PR application and I said no, it is approved and he seemed a bit unhappy about it, lol what the hell, my wife get PR also cannot? Almost felt like telling him off. He also spoke to my wife in Mandarin but my wife only know a few words so she didn't know how to reply, so I stepped in and overheard the uncle mumbling something in Mandarin like "Jia lat, don't know how to speak Mandarin", I told him she is Thai so she doesn't know Mandarin, but you can speak to her in English, and he then spoke to her in English, it's not like he don't know English, almost wanted to ask him what is his problem, this is Singapore, not China, it's either English, Mandarin, Malay or Tamil, really don't know what is his problem, I find that there are many such crazy people in Singapore, if not happy about government giving PR to my wife, go complain to the government, stupid asshole.

20 August 2014

Sichuan Mala Pot Really So Expensive!

This is the part two of my first post.

Today I checked with my colleagues, one told me he paid $26 for two when he ate at Chinatown, the other told me they went to eat in a group of 4 and they paid $28 which comes to $7 per pax, now I can see this mala pot, oh wait, the correct name is Mala Xiang Guo i.e. Spicy Fragrant Pot lol, is not cheap food, even though the ingredients are cheap but the actual price is not, we are not eating at restaurants, it's just food centre or food court, how can they sell so expensive, ridiculous.

What to do When ICA Rejects Your PR?

I like to share stories so let's start by sharing my wife's PR story.

I married her in Sep 2010 and I applied LTVP for her, then in May 2011, I applied PR for her, waited for about 6 months and it was rejected with no reason given, boy was I pissed, but I knew I was simply trying my luck so I had no intention to appeal nor submit it again as soon as possible, that is because I did a lot of research on this topic, spoke to a couple of friends, co-workers and relatives, and I realized that if there is not much change from point of submission to appeal, then there is really no point to appeal.

For spousal PR application, ICA will assess both of our eligibility, just look at the Form 4, they want to know our occupation, salary, education level, number of children, then they will also want to know our IRAS and CPF information, so what I'm saying is if there is not much change in those information, then really no point to appeal or submit soon.

So for my wife's case, her first PR application was rejected in Nov 2011, we submitted again in Oct 2013, about 23 months later, so we waited for almost two years, finally her second application was approved last month, this time we waited about 9 months.

So from Nov 2011 (first PR reject) until Oct 2013 (second PR application), what has changed for us?
  • My salary increased from $2850 to $3480.
  • I was converted to permanent position in my company.
  • We tried having baby but my wife had a miscarriage, not sure if they check hospital record, not sure if this even helps at all.
  • I started to pay income tax.
  • My CPF contribution was consistent and grew as I remained employed with annual increment.
As for my wife she didn't have much change since she was and is still a housewife.

But I don't think they gave my wife her PR just because of the above, let's look at what has changed from Oct 2013 (second PR application) to Jul 2014 (PR application approved).
  • We bought our 2-room resale flat.
I have a gut feeling that buying a flat helps, or maybe not, well I shared my experience and I hope it can be a good reference to someone out there, ultimately I feel that PR application is like entering a lucky draw, win happy, lose move on.

Good luck.

First-Time LTVP Applicant is Required to be Present in Singapore

Thanks to an anonymous visitor who encountered this issue and also updated back to this blog.

The reason why first-time applicant is required to be present in Singapore is because when the applicant submits the application online at e-VP, one of the mandatory field is DE Card Number, this number comes from the white card a visitor gets when he/she enters Singapore.

For renewal, there is no such requirement.

I have attached following screenshots from the original posting for reference, the comments was posted at How to Marry a Thai in Singapore.

Original Comments

19 August 2014

Office Connection Damn Slow

I heard that my office building is using 10Mbps internet connection, basket such a big building with so many users and they only have 10Mbps, ridiculous, so in order to speed things up, I brought my work home, my fibre connection is so much faster, what a world of difference. I really think large organizations should spend a bit more on faster connections, why scrimp and save on this kind of necessity, it's the internet age, 10Mbps is not acceptable! At least 100mbps please.

17 August 2014

Sichuan Mala Pot So Expensive

Just now my wife tried the mala pot for the first time, it's not the steamboat kind of mala pot, it's the type where you choose some ingredients and then the chef will stir fry it in the mala sauce. She ordered seaweed, black fungus, sliced bamboo, enoki mushrooms and sliced pork, guess how much, $15, what the heck, ok the serving is enough for two but $15 is a rip-off and it doesn't even come with rice, I can buy whole packs of everything and cook it myself for less than $10 and serve at least 4, anyway they only gave two small slices of pork in case you think it might be the pork that is expensive. It's mostly just veggies, how come they can charge so much just for veggies, the mala sauce is not expensive, you can get it at any supermarket for around $2+.

By the way it's at a food court, Kou Fu at Commonwealth MRT, even so, the price is still ridiculous, I wonder if this is the normal price for mala pot, it's our first time eating it, my wife told me the two guys after her were each charged $20+ for their pots, wow, one meal at a food court costs $20+, and it's not the more expensive ingredients like fish or prawns, it's just veggies with chili, if it comes with prawns and fish then what, $40+ or $50+? Might as well eat at Sakae Sushi or order a few dishes at the Zi Char stall. Oh and my wife told me they are selling the supermarket kind of taiwan sausage for $3.80 per piece, simply outrageous.

Eldest Aunt Struck with Cancer

Just now went to visit her at KK hospital, she looked really tired, I think it's due to her medication and she told me she might not make it, her neck is swollen and she can barely move, she's 68 years old, I think as a person gets older, all sorts of illnesses start to appear, it's just part and parcel of life. I was not sure what I should say to her, I kept telling her to rest. She is now in a single bedroom, I think it's the ICU, tomorrow they are going to transfer her to a healthcare home, I think it's a charity home so the costs will be lower. She told me to take care of my father, I just said okay sure.

16 August 2014

Just Configured My Blog to Auto Publish to Twitter

Haha, yes I have a twitter account, bet you didn't know that lol... Anyway I can't find much use for twitter, I really have no idea why it is so popular but it sure is good for people to post real-time updates, or maybe that's why it is so popular.

So today I decided to make use of it, I found this web service twitterfeed, I can configure it so that whenever I make a post on my blog, it will automatically publish to my twitter account, I can even configure it to do the same for Facebook, too bad I don't have a Facebook account now, maybe I'll create one later, nowadays it's all about the likes lol.

So let's see if this post gets auto published to twitter, be going for lunch now, ciao!

Dreamt That I Got Fired

The scene that I saw was a big corporate room with someone who seems to be the CEO, not my CEO in real life though, this dream CEO is younger without any white hair. Me and two or three other people that I have never seen before were sitting together in the room, what happened next was the CEO telling us that we are terminated immediately, everyone else said nothing and simply walked out of the room, I tried to ask for the reason but the CEO said nothing. In my mind I was so worried, so angry, so confused, wondering how the heck am I supposed to get a job, wondering why the heck was I terminated.

Next scene was the company HR passing me a payment slip, seems like the CEO ordered the HR to make immediate payment on the next day, obviously because I was terminated and he wanted to pay me fast so I can get lost fast.

After that, I woke up, so scary, now I realize that I'm scared of losing my job, fortunately in my company, it's not easy to get terminated, you really have to screw up ultra big time or do something illegal or something that will tarnish the company's reputation.

But I think losing job in Singapore is scary for anyone, just imagine the bills that you still have to pay even if you are jobless, just imagine time you need to find the next relevant job, I think it will be very stressful for people with kids or elderly parents to support, I think maybe government can consider providing help to these group of people, of course only the genuine cases, for those who are plain lazy and have not been working for a long time because they simply don't want to work, these type no need to help.

15 August 2014

Automatically Reload Properties File in Spring Framework

Can't believe I spent so many days trying to get this to work, in the end it is actually so simple lol, now there is no need to restart my server whenever the properties file change, spring will detect and reload it on the fly. I created a demo project in hope that it will help someone, there really is no need to spend days looking for such a simple answer ;)

My Project Structure

demo.jsp
<h1>${hostname}</h1>
<h1>${driver}</h1>
<h1>${reading}</h1>
<h1>${writing}</h1>

database.properties
hostname=localhost
driver=oracle.jdbc.OracleDriver

language.properties
reading=english,chinese,malay
writing=english,malay

web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="http://java.sun.com/xml/ns/javaee" 
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
id="WebApp_ID" version="2.5">

  <display-name>Demo</display-name>
  
  <servlet>
<servlet-name>demo</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
  </servlet>

  <servlet-mapping>
<servlet-name>demo</servlet-name>
<url-pattern>/</url-pattern>
  </servlet-mapping>

</web-app>

demo-servlet.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/mvc
        http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd">

    <context:component-scan base-package="demo.controller" />
    <mvc:annotation-driven />
    
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/jsp/" />
<property name="suffix" value=".jsp" />
</bean>

<!-- WebContent/ -->
<mvc:resources mapping="/**" location="/" />

</beans>

ReloadableResourceBundleMessageSource is the "magic" class that helps me to auto reload my properties.

basenames means I can specify multiple property files, as you can see I have specified database and language, here you don't need to put the full file name, just put whatever before the fullstop and spring will do the rest. You can also put basename but it means you can only point to one property file.

cacheSeconds is the number of seconds to to cache loaded properties file, put 1 second so spring will reload every one second (I guess? Anyway 1 works).

demoBeans.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd">

    <bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
     <property name="basenames">
     <list>
     <value>classpath:properties/database</value>
     <value>classpath:properties/language</value>
     </list>
     </property>
<property name="cacheSeconds" value="1"/> 
</bean>

</beans>

Now you just need to create an ApplicationContext to grab the demoBeans.xml and then you can use this context to access the properties files, just use getMessage().

DemoController.java
package demo.controller;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class DemoController {

ApplicationContext demoBean = new ClassPathXmlApplicationContext("classpath:beans/demoBeans.xml");

@ModelAttribute("hostname")
public String getHostNameViaProperties() {
return demoBean.getMessage("hostname", null, null);
}

@ModelAttribute("driver")
public String getDriverViaProperties() {
return demoBean.getMessage("driver", null, null);
}

@ModelAttribute("reading")
public String getReadingViaProperties() {
return demoBean.getMessage("reading", null, null);
}

@ModelAttribute("writing")
public String getWritingViaProperties() {
return demoBean.getMessage("writing", null, null);
}

@RequestMapping("/demo")
public String showDemoPage(Model model) {
return "demo";
}

}

Now let's start the application server and then run the demo.

Initial Load

Now let's make some changes to the properties file.

database.properties
hostname=192.168.1.1
driver=my.car.Driver.lol

language.properties
reading=tamil,japanese,korean
writing=russian,italian

Finally let us reload the page WITHOUT restarting the application server.

Reloaded Page Without Restarting Server

Hope it helps!

14 August 2014

Woman Relieves Herself in Public

Source

Wow, seems like she took a dump, in public, and at the MRT station! It's getting worse, the last news that I read about such incident was a young boy pissing into a bottle on the train, are these people mad or what, we are not living in the jungle, you don't shit or piss wherever you like, not in public view, at least take cover, find somewhere isolated, shit or piss onto grass patch, it will be useful as fertilizer, but this woman is the ultimate, she outright shits on the floor, so who is going to clean up after her, at least the boy pissed into a bottle.

12 August 2014

My Job is Secured for the Next 8 Years

Today we just took over a new project, this is the one where I was supposed to be the lead but luckily my boss decided to let my senior take the lead, I find that I'm not leader quality lol, no actually being a lead is quite a pain in the ass, have to prepare monthly reports, attend meetings, just taking over this project I've already attended a lot of meetings and I don't really enjoy it, I'm the hands-on type of person, I prefer to get things done, meetings are a waste of time to me. Another thing is I realized that I won't get a promotion even if I get to be the lead, haha now you know why I say lucky, more responsibilities for the same pay.

Anyway I heard from my lead that we won the project with a contract of 8 years, that means I will have a job for the next 8 years unless I resign or get terminated, I don't think I will get terminated, I got to really screw up real bad in order to get terminated but of course I will be trying my best not to. So in this 8 years, I'm aiming to save as much money as I can, wonder if I can save $150,000, I hope so.

11 August 2014

How Much Will I Leave Behind If I Die Now?

Recently this question popped up in my mind a few times, I think maybe because I'm the only person working so I'm a bit worried about my wife's future if I should suddenly leave this world. I should take this chance and find out how much I can leave to my wife if I die.

Dependants' Protection Scheme
$50,000 in the event of death or total permanent disability.

Term insurance with rider
$100,000 for main plan, $50,000 for rider, total $150,000 in the event death or total permanent disability.

Company term insurance
24 times of my monthly salary, 24*3944=$94,656.

Home Protection Scheme
It will fully pay up my HDB loan so my wife won't have to pay anything more.

CPF monies (as of today)
Ordinary Account (OA) $4,151.53
Special Account (SA) $20,147.32
Medisave Account (MA) $23,386.47
Total $47,685.32

So she can get $342,341.32 and a fully paid 2-room resale flat, not bad huh, she can either sell the flat and go back to Thailand or continue to stay here, but it's up to her, by then I am no longer around to decide for her.

If she sell the flat at $250,000, in total she will have more than half a million, good money, she can retire in Thailand and never have to work again IF she knows how to manage the money, but I bet she will probably lose it all, she's never good with money. I'm still thinking whether I should make a will, currently if I die, everything will be distributed accordingly to our intestacy law, which means 50% will go to my wife, 50% will go to my parents, unless if I have a child, 50% wife, 50% child, but it sounds fair, but I'm afraid that my mother will give her problem, I think I better make a will to have everything dumped in a trust.

Oh just found something important, everything including the flat can be distributed according to my will, only the money in CPF must be either distributed via CPF Nomination or our intestacy law.

http://mycpf.cpf.gov.sg/Members/Gen-Info/FAQ/CPFNomination.ht

Q: What happens to my CPF savings if I did not make a CPF nomination?
A: When you are no longer around, we will pay your CPF savings to the Public Trustee for distribution to your family member(s) in accordance with the intestacy laws or inheritance certificate (for Muslims) in Singapore. This ensures that the welfare of your dependants is provided for.

The following assets are due to the beneficiaries of the deceased’s estate:

(a) Cash and investments held in the CPF Investment Account under the CPF Investment Scheme-Ordinary Account (CPFIS-OA);

(b) Investments held under the CPF Investment Scheme-Special Account (CPFIS-SA);

(c) Discounted SingTel (ST) shares;

(d) Claim proceeds under Dependent Protection Scheme (DPS)*; and

(e) Properties bought with CPF savings**

* For DPS claim proceeds payable by NTUC Income, if a nomination has been made under the Co-Operative Societies Act, it would then be distributed according to the nomination under the Co-Operative Societies Act.

** These will be distributed according to the manner of holding. If the property is held as joint tenancy, the deceased’s share of the property will pass by operation of law to the remaining surviving owner(s). Otherwise, the deceased’s share of the property will form part of the deceased’s estate.

Watch our 5 minute webcast on CPF Nomination to find out more on how CPF savings are distributed when one passes away.

10 August 2014

Fix XML Error When Adding Read More Function

The read more function is here.

Easiest way is to remove the entire highlighted part

The reason why it throws error is because in xml, every tag must be closed, so other than removing the entire line, you can also do it in following two ways:

Method 1 - add a slash to close the tag.

<img src="http://1.bp.blogspot.com/-RikrI-c_pyQ/T2DTcP6aMvI/AAAAAAAAAL0/H6v7PVoHM_w/s1600/1x1juice.png" />

Method 2 - add a closing tag.

<img src="http://1.bp.blogspot.com/-RikrI-c_pyQ/T2DTcP6aMvI/AAAAAAAAAL0/H6v7PVoHM_w/s1600/1x1juice.png"></img>

That's it!

Google Adsense New Payments System

They updated their Terms and Conditions.

They also have a new payment system.

One of the main changes is that they are calculating my earnings directly in Singapore dollars instead of US dollars. Another change is that my payment threshold is now $150 Singapore dollars instead of $100 US dollars, overall it's higher but well, doesn't really matter much.

Now I'm more curious about how they make the conversion from USD to SGD, I hope I don't suffer a loss in payments after the conversion! Anyway let's see how.

09 August 2014

Just Added a Read More Function and a New Related Posts Script

Haha, finally I found a good related posts script that looks nice and is easy to customize, the last one was terrible because I have no idea how I can customize it, the read more function is also great, now I can put more posts in my home page, previously some posts were too long and my home page looked really messy, at least now my blog has a more professional feel lol.

Thanks to the following sites for the scripts.

How To Add Automatic "Read More" Button/Hack in Blogger.
How to Add Related Posts Widget with Thumbnails to Blogger / Blogspot.

KFC National Day Celebration Combo at $4.90

Just now we went to KFC for a quick snack, there were long queues, most people were queuing for the Celebration Combo, why not, cheap and good deal at $4.90. So what is included? Two pieces of hot and crispy chicken that comes with a small flag that says " HAPPY BIRTHDAY SINGAPORE", a regular whipped potato and a Nestle Sjora mango and peach drink, not bad right, I'm not sure how long does this promotion last so go grab yours today.

Adjusted My Blog Layout

A few weeks ago I added a Qoo10 link to try out their affiliate program, it didn't work out, worse of all it probably is more distracting than useful, I think a lot of clicks are wasted on it, so today I took it out and changed my site layout to focus more on Adsense, we'll see how it turns out.

08 August 2014

Britons Murdered in Kuching

Source

Neil Dalton and Aidan Brunger, both 22, were on a six-week work placement along with five other medical students to put the skills they had learnt during their time here at the university into practice.

The two were found murdered at 4.15am on Wednesday with stab wounds on their chest and back following an early morning quarrel with several men in Abell Road.

SAC Chai said initial investigations indicated the incident started when the two Britons, who had been drinking, began arguing loudly between themselves in a bar. The four suspects, who had also been drinking, confronted the medical students and told them to be quiet, he added. "One of the British students slapped one of the men, turned over a table and walked out," he said.

When the students left the pub on foot, the suspects pursued them in a car. One of them got out of the vehicle and attacked the duo.

When you are in a foreign land, always respect the laws and the people there, the worse thing that can happen is to die in a foreign land, just imagine what went through the heads of these two students, I bet they must have regretted their actions but it's too late. It's probably not the first time they slapped someone and turned over a table, not everyone is a pushover.

When I visit Bangkok, I always encounter people touting their services like tuk tuk or taxi at exorbitant rates, I don't tell them off or stare at them or what, I just smile and say no thank you and continue my way, that's it. Or when I drink, I drink within my limits, you don't go get yourself drunk and behave like an idiot in a foreign land. Caucasians are usually the bad eggs, the way they talk to locals disgusts me, and the way they drink and party is also disgusting, they get drunk, take off their shirts and roam the streets, and talk loudly, stupid, no wonder a lot of Thais don't like Caucasians, and then Caucasians say Thais who like them are only after their money haha, so stupid.

Bought 2 Lots of CDL Hospitality Trust at $1.65

Just about 2 weeks ago it was at $1.795, today when I checked out the price I was quite shocked to see it at $1.65, lowest was $1.64, so I quickly went in and grabbed 2 lots, that's all the spare cash I have now haha. I like this counter very much because it has properties in different places, especially in Maldives, and the price fluctuates a lot which means this is a popular counter, anyway I'm now focusing on Cambridge Industrial and CDL Hospitality trusts, I realized that I don't have to buy too many counters, I just need to focus on a few good ones.

07 August 2014

My Utilities Bills So Far and U-Save

My utilities bills so far.

JUN, JUL and AUG

First two months was low because we haven't move in yet, by the way first month they charged a $60 deposit so the actually bill was $7.18.

So for this month it's $97.39, much lower than expected, every month I set a budget of $150 for utilities and service and conservancy charges (S&CC), my S&CC is $28.50 because mine is a 2-room flat, so 150-28.50=$121.50. I think my utilities bill can be lower because last month we had a leak in one of our toilet bowls, I fixed that about two weeks ago, so next month my bills should be slightly lower.

I also checked with SP Services how come I didn't get any U-Save rebate, the lady on the line said I am eligible and it should have been credited in my July bill, she will check and get back to me.

Setting Up J2EE Development Environment Using Eclipse 3.5.2 and Weblogic 10.3.3

Just to share with everyone how I setup my development environment at work, I'm using Windows 7 and you will need to download 3 softwares:
  1. Java SE Development Kit 6u24 - i586
  2. Eclipse Galileo SR2 Packages (v 3.5.2) - Windows 32-bit
  3. WebLogic Server 10.3.3
Step 1 you download and install the JDK, it's very straightforward, just double click to run and install with default settings.

JDK Installed to My C Drive

Step 2 you download Eclipse and extract to whichever folder you like, I put it in my C Drive.

Eclipse in My C Drive Too

Step 3 you extract WebLogic to whichever place you like, for me is also C drive.

WebLogic also in My C Drive

Now go to your WebLogic directory, edit configure.cmd, add MW_HOME and JAVA_HOME, MW_HOME is the place where you extracted the WebLogic, JAVA_HOME is the place where you installed the JDK.

Add MW_HOME and JAVA_HOME

Open up a command prompt and cd to the location of the weblogic directory, for me is C:\weblogic\wls1033_dev, you need to run configure.cmd.

Run configure.cmd

Now cd to location of the common binaries at C:\weblogic\wls1033_dev\wlserver\common\bin, run config.cmd.

config.cmd will open the domain configuration screen

Click Next to Create a new WebLogic domain, Next again with default settings, then you can change the Domain name if you wish to but I leave it as base_domain and click Next, then configure the administrator name and password to something you can remember and Next, then Available JDKs should be selected so just Next, then check only Administration Server and click Next, listen port listen address all default and Next, finally click Create and then Done.

Only Create Administrator Server

Run eclipse.exe, it will take a while to open up, after that go to Servers and right click on the empty space, New then Server.

Add New Server

Now you need to download the WebLogic adapter. Sorry I downloaded earlier on so I can't show the next step, anyway after you click on the Download additional server adapters button, it will display a list of server adapters to choose from, just download and install the Oracle WebLogic Tools (or something like that, forgot the exact name), it will take a while, just let it run and when it prompts you to restart Eclipse, just click Yes.

Download Adapter

So after Eclipse restart, go to Servers, right click New and Server again, scroll down and expand Oracle, select the Oracle WebLogic Server 11gR1 PatchSet 2, that is for 10.3.3, and only this one will work since your WebLogic is 10.3.3.

Select 11gR1 PatchSet 2 for 10.3.3

Next you have to set your Weblogic home and Java home, just point it to wherever you extracted the WebLogic server, and wherever you installed the JDK, can refer to following screenshot.

Point to WebLogic and JDK

Now select the domain that you created and then click Finish.

Point to my base_domain

Now you can double click the server to open up the settings, or right click to Start the server.

WebLogic Server Added in Eclipse!

Let's try starting the server! Go to Console, it will show the server log, if you see RUNNING mode means it's up and running.

RUNNING mode means started successfully

Ok, now you have a development environment up and running, you are ready to build some application, I'll save it for next tutorial, we can try playing with Spring framework, now I'm still learning at work haha.

You can also use other application server instead of WebLogic, there are other more popular ones such as Tomcat or JBoss, we usually use JBoss for smaller applications, WebLogic is more used by large organizations as their core application server.

06 August 2014

Today I Played with Spring Framework

Currently I have a tool written in JSP, all the java code is running inside the JSP, it's very messy and not easy to maintain, well, I had to do it this way because it's piggyback onto an existing application, I don't want to touch anything existing, and doing it this way is very easy to deploy.

So anyway, I was thinking of doing it in a more standard way using a framework, so today I tried struts and spring, I find spring easier to implement, just need to download the spring libraries, and apache commons logging, dump it into WEB-INF\lib, configure web.xml for the servlet, create a controller class, create a JSP, create a servlet xml, that's it, so easy haha. If you are interested you can check out this tutorial, it will get you started real quick. I think I might be able to convert my tool into spring by this week.

Oh by the way I'm using weblogic server 10.3.3, I run it from my Eclipse, so after I make the change, I just deploy and run locally, very easy to test ;)

05 August 2014

Qoo10 Auction Looks Promising

After I bought my chin-up bar, there was an option to give feedback after which they will give you some points, and from there I realized that they have this daily lucky draw, you just need to log in, click on the Open button, and then Q-chance. It's a wheel of fortune style kind of lucky draw, everyday you get to draw once, and after every purchase you also get to draw once. I still haven't fully figure out what I can do with the stuff there but I learned that I can bid for items using the green, silver and gold mameq, but so far I haven't won anything but the beauty of it is that it's not difficult to get the mameq, just log in daily and click the lucky draw and then try your luck in bidding.

04 August 2014

Singapore's 49th Birthday

I didn't know it was our 49th birthday until I Googled lol, every year pass by so peacefully that our National Day seems just like any other day, most years I don't even watch the parade, not even on TV, yeah we have had some scares in recent years, SARS, financial crisis, terrorism, Nicole highway collapse and etc but nothing our ministries cannot handle, to be honest I find our ministries very efficient and effective, yeah some policies are crap but our ministries are always open to feedback from the public, and they actually do something about it, which is a good thing, how many countries out there bother to listen to what you say and then do something about it?

Anyway when was our last military conflict, none after World War II, we have enjoyed a long period of peace, some scares here and there but nothing catastrophic, I think it's easy for me to say now that I am a reservist but I feel that military service is very important, as an NSF if you ask me whether NS means anything, I will probably tell you it's bullshit and a total waste of time, but as a family man, a husband, probably a father in the near future, NS is what keeps the bad guys away from us, just imagine Israel without a defense force of their own, of course our neighbours are much nicer but when it comes to the negotiation table, if you don't have a trump card, you lose, and SAF is our trump card.

But to be really honest, I still find reservist a waste of time, even though it's something necessary, I feel that MINDEF should focus more on making MORE effective use of our time and taxpayers' money, we don't really need 10 years of reservist duties, on my 5th or 6th year, I went for a graded military exercise, it's like exam for reservist, we get graded to see if we know our stuff, my unit passed the exam but still we have to serve the full 10 cycles, 7 high-keys and 3 low-keys, I think if we can pass, then just let us MR, no need to serve 10 cycles, no point and waste of resources, unless if we fail then no choice we stay back to train more, at least we have a realistic target rather than 10 cycles, what the hell is 10 cycles, it's like just serve and f*** off, nobody really gives a shit, but if you have a realistic target, I think people will be more motivated.

And nowadays MINDEF is listening, these few years they have made a lot of improvements to NS, too bad only after I ORD then they change, but it's never too late, at least it will benefit the generations to come. See the recent IPPT changes, I find it a good change, at least more people will be motivated to try since they will remove chin-up and standing broad jump.

03 August 2014

IKEA Meatballs Okay

This morning me and wife went to have our "brunch" at IKEA, unfortunately we were a bit late for their breakfast menu, I wanted to eat their toast set but anyway I took 15 pieces of their famous Swedish meatballs for $8, 4 veggie spring rolls for $2, two Sunkist bottled orange juice for $2, a chicken cordon bleu for $7.50, a poached salmon for $7.90 and a almond cake for $3, all for $30.40 GST included and no service charge, it's all self-service so obviously there should be no service charge.

The meatballs were okay, that was my second time and my wife's first time eating it, meat-wise I think their fried chicken wings are the best but I didn't order any today, my wife don't really like the meatballs. The chicken cordon bleu is quite nice, it's a large piece of fried chicken breast stuffed with a bit of ham and cheese and it comes with some veggies and mashed potatoes with a buttery sauce, not bad. My wife's poached salmon was fresh, if you don't like greasy food this is the one for you, it comes with some veggies, two pieces of soft bread, I think they put garlic cream on the bread, the bread is quite nice, and they put a creamy sauce on the salmon, not bad also.

Spring rolls were very crispy, 2 pieces for $1, and the almond cake, wow, damn good, but I still like their chocolate and butterscotch cake and overall, I think we had a very good and filling meal at a very competitive price, the same kind of standard in a restaurant will probably cost us much more than $30.40, no wonder IKEA restaurant is always crowded, good food at reasonable prices.

And then I noticed something, as you know IKEA restaurant is cafeteria style, you grab a trolley, some trays and you join the queue, as you move on you can take or order whatever you want to eat, after that you move to the payment counter to make payment, just now one of the cashier commented that there was a group of people who did not make payment and went ahead to eat, I think IKEA has a lax and friendly system but some people choose to exploit it, and also their drinks, you have to buy and then they will allow you to have unlimited refills, but so many people did not buy and they went to get the drinks anyway, wow, I think their system is too lax, I wonder if they will lose money by giving free drinks.

And I always see people resting on the sofas, beds and chairs, I think if you want to try it out it's okay, but you don't sit down there and think it's your house, that's not nice. Last visit I saw one guy holding a bag of fried chicken wings sitting down on a sofa and enjoying his wings lol, I wonder how he clean his hands afterwards, I hope he brought along some wet tissues or is aware that there is a toilet, imagine he wipe his hands on the sofa! These people come down from the mountain or what.

01 August 2014

Credit Counselling Singapore (CCS) Can Help

Today I read about this story where a 33 year old man paid about $70,000 in interest to a licensed moneylender over two years based on a principal loan amount of $20,000 and every month he is paying $4000 which is 88% of his salary, so as you can see his salary is actually very high, but unfortunately he got himself into such a situation because he did not control his spending.

Initially he only owed banks money via his credit cards but due to pressure from the banks to take him to court if he was unable to pay, and out of fear that he might lose his job if his financial situation was made known to his employer, he turned to licensed moneylender. That was a very bad move, and also because he was not aware that CCS can help him, so here I want everyone to know, CCS can help you if you are in debt, I also don't think it is limited to credit card debts only as what you might see in online forums, no harm checking it out, no matter what it is still better than approaching licensed moneylenders, their interest rates are ridiculous, more like daylight robbery.

But in the end you still have to know how to manage your finances, or else it doesn't matter how much you earn, in the end it will come to nothing.

Credit Counselling Singapore