Author Archives: Siew Kam Onn

Deactivating Wordpress plugin blanks the page

Yesterday, I wrote a plugin and uploaded it to my website. I activated it and it activated successfully. But when I deactivated it, the page turns blank. On returning to the Wordpress admin page, the plugin was successfully deactivated. I was also getting problems when I added custom field. The cause [...]

Posted in wordpress | Leave a comment

should you host with Lunarpages, should you get your 'free' domain with Lunarpages

Here’s a response I got when I tried to transfer my ‘free’ domain away from Lunarpages: Lunarpages can become the registrar for .com, .net, .org, .name, .us, .ca, .co.uk, .biz, and .info domains. Before we can process a domain transfer request, we need the following to be acknowledged and/or answered: There will be [...]

Posted in boo | 2 Comments

I can shoot pretty good pictures with a Pentax

I used to think that only Nikon or Canon cameras can shoot great pictures. The more I use my Pentax K20D and the more I know of its features, the more I begin to appreciate the advantages of Pentax K20D. My pictures are also getting better. Some of the features that I think Pentax has [...]

Posted in pentax photography | Leave a comment

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!Read more
Uncategorized articles

Posted in Uncategorized | 1 Comment

doctest omits decorator functions / decorated def – a simple workaround

Apparently there is a known issue with doctests, in which tests in functions using externally defined decorators are ignored by doctest.Here’s a simple workaround.
 

@aspect.processedby(aspect.tracing_processor)def aa(): ”’ Returns None  — doctests —-  >>> aa() True  ”’ return False def [...]

Posted in python | Leave a comment

PyWin64 ?

There is no pywin64 (yet?). What do I use pywin32 for ? I use it for: .COM programming – Excel automation. There are alternatives for building Excel files without .COM but if you need to invoke Excel macros within your python program, you need .COM. This is yet another reason to stick to Windows 32 [...]

Posted in guide to buying a dell, python | 1 Comment

More Windows 7 upgrade systems from Dell

Previously, Dell only offered Windows 7 upgrade for the business series. Recently, Dell added some Windows 7 upgrade choices for the consumer series too. Read more
guide to buying a dell articles

Posted in guide to buying a dell | Leave a comment

My dream Dell laptop

Just for fun, I configured my dream Dell laptop. Key features : 1. 4 GB RAM 2. 500 GB hard disk – 7200 rpm 3. Intel P8700 (2.53GHz/ 1066 FSB/ 3MB Cache) 4. 3 year XPS Premier Service with 3-year CompleteCover 5. 512MB ATI Mobility Radeon HD 3670 Bonus: Merlot Red display with 2.0MP webcam [...]

Posted in guide to buying a dell | 1 Comment

A very good Dell deal – 500GB hard drive, 4GB RAM, 256MB ATI Mobility Radeon for under RM3,000 !!

This is a very good Dell deal – 500GB hard drive, 4GB RAM, 256MB ATI Mobility Radeon for under RM 3,000 !! This is the deal advertised on The Star today (29-Jun-09). Click on picture on the left to view larger version. It might be too good to be true. When I looked the [...]

Posted in guide to buying a dell, wow | Leave a comment

Free upgrade to Windows 7 – available now on Dell

Dell now offers free upgrade to Windows 7 for selected systems. However, as of now, the selected systems are: Latitude Vostro Precision   Source: DellRead more
guide to buying a dell articles

Posted in guide to buying a dell | 1 Comment