Python Keywords Sample

Posted in python on August 26th, 2011 by Aditya – 2 Comments

Recently I was attempting to follow tutorial on python from LearnPythonTheHardWay.org (yes the name explains it pretty well). I am currently on exercise 37 where I need to review list of Python symbols among many other things. I decided to go slightly beyond what is required and jot down some snippets code too. Here are they read more »

List of Budget Airlines Between Jakarta Singapore

Posted in list on June 22nd, 2011 by Aditya – 1 Comment

Booking via online travel agents might be convenient and easy. Not to mention, their names always popped up on the first few rows of popular search engine. However, those online travel agents might not , for whatever reasons, list regional airlines in their sites which in all fairness cheaper than full fledged carrier. This post will list budget airlines that serve routes between Singapore and Jakarta as well as around the South East Asia region. You can definitely book those airlines via their own website and in many cases cheaper than what online travel agent offers.

read more »

Find Canon G10 Actual Actuation or Shutter Count

Posted in howto on June 13th, 2011 by Aditya – 2 Comments

Many people mistakenly believe the name of the last photo (e.g. 101-4511 is 14511st pic) is the indication of the shutter count of the camera. While it might be true most of the time, those number is not accurate as the software can be modified. Finding the REAL actual actuation or shutter count from Canon G10 can be done with a bit of effort.
read more »

String Split() with special character

Posted in java on February 28th, 2011 by Aditya – Be the first to comment

Being an Information Systems Management, I have not been really exposed to much nitty gritty details of programming – even on the language that I am exposed to the most – Java. Yes I have done my fair share of debugging and such, but even so I often stumble in some random stuff that waste quite a number of minutes. For example, with String split() method that I was worked with. read more »

How to Solve GWT IncompatibleRemoteServiceException Error

Posted in gwt, howto, java on February 27th, 2011 by Aditya – 3 Comments

I started GWT development few days ago and encounters these rather unfortunate stack trace error.

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Expecting version 6 from server, got 5.)

read more »

Configure Managed Bean with XML

Posted in java, jfs on February 8th, 2011 by Aditya – Be the first to comment

I jot down this note from one of the JFS tutorial by MKYong. Just in Case I forgot about it.

With XML configuration, you can use the old JSF 1.x mechanism to define the managed bean in a normal faces-config.xml file. read more »

Singapore Bad Shops [Updated Regularly]

Posted in list on December 28th, 2010 by Aditya – Be the first to comment

This post is my attempt to list as many Singapore bad shops as possible. In short, these are shops that I would not recommend to my friends. These are the list of Singapore’s shop that has history of being questionable especially to tourists and the clueless. You can safely ignore STB’s blacklist cause they are pretty much useless anyway.
read more »

Setting up DTAC SIM Card on any HSDPA USB Modem

Posted in howto on December 18th, 2010 by Aditya – 1 Comment

These settings should be pretty much the same across any self-respected USB based HSDPA modem.
read more »

Singapore Shop Scam Tactics at Sim Lim and Lucky [Updated Regularly]

Posted in list on December 13th, 2010 by Aditya – 5 Comments

Having lived in Singapore since 2001, I realized that this fine and orderly city of Singapore is not free of vices associated with third world countries. This article will list various scam tactics employed by shops in Singapore. Yes majority of sellers and shopkeepers are honest and reliable people but there is nothing wrong in preparing yourself for any eventuality – it is always caveat emptor after all.
read more »

Using Factories to Do Ruby on Rails Rspec Test

Posted in ruby on November 7th, 2010 by Aditya – Be the first to comment

Sometimes we need certain instance of model class to perform certain test. In this example we are going to test for showing instance of user via RSpec. This test obviously will require the use of an instance of the User model. I do this test using a technique called factories.
read more »