One day in May, my cousin, Pinku, from India was visiting us. She had just wrapped up a business trip in New York City and was going to spend three days with our family in Toronto before heading home.
Monthly Archives: August 2007
NicheBOT – free keyword research service
A nice service to use for those starting an internet business and are concerned about the best keywords to use in their site.
OfficeTimer – simply, the best way to track your time
I just found out about a nice Time Management tool via the "Internet Business Mastery" podcast series of Sterling and Jay.
It is called Office Timer and it seams to be a quite impressive and helpfull tool for managing your time and tasks in a day.
Derren Brown – Subliminal Advertising
Pin / Number input validator
I recently ran into the following problem:
"We have an application which reads a kind of PIN number (having unlimited digits) from the console (or gui).
We need a simple and elegant algorythm to check if the introduced number does not have the following format i(i+1)(i+2)…(i+n), (eg 123456789)"
Whell the problem is really chalanging, mainly becouse we are talking about numbers having unknown digit count.
After some tinking time I ended up with the the following code:
If you have some other ideas, or just have something to say concerning the presented approach, feel free to comment.
Till next time
Happy coding
