Saturday, May 8, 2010

Array of single & double bytes

@arun_ragh asked me this interesting question.

Given an infinite array containing single and double byte entries in random order. A one bit flag is used to identify if the given entry is single or double byte. If the first bit is set to '1' then its double byte number else if its set to '0' then its a single byte number. Given a pointer to a number somewhere the middle of the array. One needs to find if the previous entry is single or double byte.

Note: There are cases where one would not be able to find out the solution. But assume there exists a possible solution.

Sunday, April 11, 2010

Using my wife's credit card is Fraud

I ordered a merchandise from a popular vendor using my wife's credit card and shipped it to Friend1 and gave Friend2's address of billing.

Soon...

My account was blocked and I get a response:
we believe it may have been accessed and used by a third-party to make purchases without your permission, but it appears they did not use your credit card to make these purchases.
I learn my lessons the hard way.

Ehh, Whats up doc?

Too many things, simply too long to write. To summarise I can call it - Change

Not just the fact that I got married. I moved to a new city with a new job. So I have enough challenges everyday to keep me busy from logging into Gmail. Fortunately I live in a locality close to Electricity board minister Arcot N. Veeraswamy and that give us no power failure, despite the who of Tamilnadu celebrate Earth hour daily. But I'm yet to receive my first EB bill. The city I live in is hot, super duper hot. Like the ganges that flows from shiv's head, sweat starts tickling down. (FYI: Agni Nactachitram is yet to start). Work is fun. I will not talk about the rest, since I need to come back home everyday for my food and shelter.

My office is nearly 18kms from home. So I spend nearly 3 hours in commuting. Been listening to all the radio stations and even know the program schedule for the hour across channels. Slowly learning the road routes, Its a big city you know!

Tuesday, March 23, 2010

Update post: Vocabulary

Original post here.

Update:
After all the writing the above post author blurts out, "Ayoo, intha Tablet ah kudikanuma! Ena 'kudikanuma', paaru un kuda senthu ipidi aiyeten."

Me: job done for the day! :-)

Sunday, March 14, 2010

married

Now with this post I can officially call the sabbatical I took from this blog is over. Guess I need not give more reason.