Archives for July 2010

OK, I know the title of this post is a bit long, but it does put it clearly what I had been trying to achieve using CakePHP.

Let’s say you have a Product model with unique index Field1Field2 made up of 2 fields (field1 and field2) and each time you insert a new record into Product, you want to make sure that only the unique combination of field1 and field2 is saved. How would you do that?[Read more…]

Two of Australia’s largest insurance provider QBE and IAG share prices are not doing so good recently thanks to fall in net profits. QBE has warned markets its profit is likely to be 40 per cent lower than last year while IAG is expecting 1H net profit to fall by 50 per cent on the corresponding period. It all has to do with claims of losses from BP’s disaster, storms and severe losses in Britain plus some other natural hazards happening around the world.[Read more…]

If you purchased your iPhone 4 before September 30th, 2010 you’ll be eligible for a free case from Apple. In order to get this case you’ll need to download the ‘iPhone 4 Case Program’ app from the app store and follow the prompts on your screen.

I’ve recently migrated web host to Hostgator and have to say that’s it’s much more stable and reliable then my previous host.

Previously, I had my web hosting account with Anhosting/Midphase who had served this blog happily for the last 2 years. But strange things started happening mid June when my account was migrated to a new server and Tech Support kept suspending my account quoting that my wordpress blog was using too much CPU resources.

index.php and wp-cron.php were showing up in their logs but doesn’t make much sense even though I tried disabling a few wordpress plugins but still came up short. Their suggestions were to get into a VPS hosting or a dedicated web hosting to solve my problem. Having used shared web hosting for all through these years, I wasn’t even considering getting a VPS/dedicated hosting as that would be overkill IMHO.[Read more…]

If you look back at the financial charts and indexes of 2009, there were really lots of buying opportunities to be found. Stock markets has since rebounded from the sub prime meltdown and it’s not uncommon to see stocks/shares bought in June/July 2009 has now grow more then 20-30% in value.

To all developers making money online with Amazon’s Product Advertising API, note that Amazon has release a new “efficiency guidelines” and deprecating some API response operations and response groups which are rarely used.[Read more…]