Friday, March 26, 2010

Happiee Bday MM!

Date: March 26th 12 am

To the new guy in my life,, 
Who has been a Friend, a Boyfriend and is currently my Fiancee. He will continue to be my Fiancee for another 3 more months and then he will be promoted to the post of a "Husband"! :) :) 





"If fame were based on kindness instead of popularity, on understanding and not on worldwide attention, you would be the biggest celebrity on earth.  And to my heart, you already are."
~Anonymous








"We are all a lil' weird and life's a lil' weird. And when we find someone whose weirdness is compatible with us, we join up with them and fall in mutual weirdness and call it love"
~Anonymous








Happie Bday To You,
Happie Bday To You,
Happie Bday to dear MM,
Happie Bday To You! 
Hope u have a Gr8 day.. and a Beautiful Year with Me{lolz..}

Yours Lovingly,
~Shru!

P.S: The last Pic has 27 candles! :) Happy Bday once again ra!

Friday, March 19, 2010

Installments Issue!

I realized one thing, writing a piece of code anyone can do, but coming up with an efficient code is what only a good programmer can do! :) N i cant do that. At least now..!

This time I had been given a task to work on this installment portal which will let the customer choose the amount he wishes to pay in how many ever installments (<5) he wants. I did use the minuscule amount of programming knowledge that i have and wrote a 30 line code.  :) BTW my piece of code divides the principal amount as installments equally such that the balance money will be zero. I know its as easy as 
Each Installment = Principal / Num Of Installments ; 

But this was a user friendly one. The customer could make changes to any of the installments out of the 5 but the balance had to be a "0". This took some time, around a week i guess for it to be exactly like how my boss wanted it. 
One more stupid thing which lead to confusion was the dutch format which had a comma instead of the period.
                          Indian           Dutch
Rs 0                     0.00             0,00
Rs 83 30ps          83.30            83,30
Sometimes after the calculations the value generated was 67.98767456597... Waaa...?? So i had to round them off also. But if i round off a dutch number it would turn Indian{The round off method was for Indian format} To make a number Dutch i had to Parse it. At one point of time i had to use:
Parse(roundoff(parse(value));
It was such a khichdi in my mind. But the code seemed fine.

When i was having this talk about my code, boss made me realize the fact that i had used 5 for loops in my code, to take care of all the issues which would come up. He said that's like a whopping 5^5 iterations for  just 5 installments. That actually made me realize what a bad programmer i was.

P.S: More than coding i liked the trial and error part! Learnt so much. Future when i become a good programmer i will definitely read this post and have a laugh. :) ATB to me!

Friday, March 12, 2010

Hillarious Days!

P.S: No offense to anyone in this world!

I realized, walking from home to my company which is located in 4th block wont help me reduce even few kilo's, so i decided to go to work by vehicle and continue brisk-walking in my park after i returned from work i.e. at 7:15! N i don't own the park yet its mine :) These days people are so health conscious, hmm i guess along with me you can find at least a minimum 10 more health freaks in the park, excluding the pairs. Now i could tell my not-so-worried-about-this mother but my frenzied grandma that it was safe walking in the park at this hour!


Day 1:i.e. march 1st or so.
Today being the last day i was walking back from office decided to eat bhel on the way. BTW i cross 4 parks on the way from my work place to home. One being my-park and the other park where i brought bhel and 2 more were spare parks :P, i just walk by their side! 
I happened to see one pair a lil' cozy and this strange thought of "why not count the number of pairs today??" popped up... Aaaand the count that day was 23 pairs in a 20 minute walk! I saw 3 pairs snogging too. Such a sight is  pretty common these days and moreover it was  7 , so it was pretty dark.  I saw one woman in Burkha too. She seemed an invisible woman who could be identified only when the vehicle lights shone on her. Wierd! I donno why but i don't like parks.

Lesson learnt: Burkha becomes an invisibility cloak after 7!

Day 2: i.e. today :P
Work too was good today! I think my pace in finding the required function in that huge project has increased to a certain extent. But my inability to remember what functions i created and where i made the last changes still continues to give me the feeling of an idiot!
I was tired from work but decided not to stop this walking routine. With my ipod, i was walking and in the first round i observed there were many pairs today. The second round i noticed that not even one seat was empty in one half of the park. I don remember exactly how many seats are there in that half-side of the park but it was some what like the one i have "paint"ed! At the start of the third round, my ipod charge got exhausted. When this happens i usually return home, but today felt like walking as i was bored to return home. I didn't remove the earphones, so that meant i could listen to the outside world, but they thought i was listening to music and fidgeting with my mobile simultaneously. I already had thought of blogging about this and was errr hmm was takin down notes.
  1. A woman on phone: "....Ahh. Manege bandidira.....?? Dose thandra..??...."
  2. A pair, both were in 30's: ".....I donno what made him do that.. Thats why i yelled i guess.." {stong discussion. }
  3. A man was on phone: "....Naan avaginda kaytha-idini ningoskara....."
  4. Two grandpa's : ".....Jeevana hinge...." :)
  5. A couple who were in 20's: They were having this romantic talk i guess, sort of both were blushing kinds and talking softly {sensible!}
  6. A pair: They were up to something. I couldn't see much. I guess they were snogging.
  7. A elderly looking man and pretty young girl: "...Nahi, mujhe achcha nahi lagtha..."
  8. 2 gals were talking: ".......Nan maathu kelu Avnu beda...."
  9. Empty seat. i stopped and looked at the metro construction and it was illuminated very well, so thought of taking a pic but one pair came hand in hand and sat right there in front of me, so had to leave immediately.
  10. One husband and wife: ....hmmm.....{silence}


Weird day.. yet the best was i saw a grandpa and grandma holding hand and crossing the road! Such a cute sight!

P.S: Yes i was jobless n that's why "paint"ed the pic of my park! :)

Tuesday, March 9, 2010

Bit - by - Bit!!

He he Bit by Bit...?? Read more and you will know...!

P.S : No offense to anyone!

The first two things an Engineering student can think of wen asked about B.E is Friends and Internals! Nothing can beat these i guess! Okies Buck up...My story begins:

In a class, there are always people who prepare well before hand; there are few who work hard the previous day; also there are few who slog during those 3 hours given and very few who chat / tease / slog / have-lunch / go-to-lecturer-to-get-the-number-of-questions-reduced in those same 3 hours!
The last kind mentioned are very rare because "Multitasking" can't be done/achieved by everyone. Fortunately/Unfortunately my class was blessed with majority of such people , whom i proudly call as my-friends!

Like always, our preparation was bad rather worse! Never had we prepared decently and written our Internals! It was Unix internals. It was in the afternoon. We had solid 3 hours to prepare. We had to eat, discuss about the paper we just wrote, comment on the gals who used to walk and tease, gossip and most importantly read.

M* was one of the rare kind of lecturers in our department. She used to hate me and S*. So we both were always trying to impress her and the other friends always found it funny!  Every time either of us impressed her, we would increase our "points". To be frank S~ managed to impress her with a score of 4 and i couldn't beat her and i always remained at 2{my score has been negative too!}.  This particular UNIX internals we had to prepare for 12 questions. I had learnt only 2 at home that too in my dream. So didn't remember anything! R* and N* knew almost 4. S* and V* didn't know anything and they planned to study in these 3 hrs and if they failed to understand the concept then they would bunk this one.

Hour 1: We went and sat in the same old place i.e. the small corner in 2nd floor. We discussed about the previous paper and opened our tiffin boxes and shared them. 20 minutes gone! V* says she is still hungry but she needs to study so didn't come up with "lets go to canteen???". Instead S* started "I badly need a walk..." n who else but me would respond to this! But then we all went for a walk and came back 10 mins later. We opened our sheets where all the 12 questions were there. 2 guys came and asked us what the questions were + we discussed what the page numbers were + we studied. One hour up!

Hour 2: H* and someone else came up and said come lets ask ma'am to reduce the number of questions! This brought a smile on all our faces. Few of them braced themselves up and went to the staff room! Its obvious me n S* didn't go... if we had then she would have definitely increased the number! They came back saying only 8 questions to study now! We were grateful her in the beginning.. but later we realized she had eliminated all the easy questions. She was too smart! Now we paced up and made sincere attempts to grasp the concept soon! One hour and 15 minutes left!

Hour 3: We didn't give up.. we studied harder, faster and louder! Amongst all the hushes and discussions another 45 minutes passed by! Time for us to pack up, pick books, wear chappals and gather tiffin dabbas and helmets and
V* says : "I can't! I am not writing, I know only two answers and nothing more. All of you carry on!".
After exchanging glances {We were pretty used to this!}
R* says :"I have studies 7 ya, I know what all questions you have studied, so i will enter the classroom and see the paper, if at least 4 questions you know  are there then i will call you in, else don't write. Is that ok?"
V* is still hesitating and now
S* says : "I too quit!"
R* speaks again : "Gals! come on.. get in and copy na,, i will show my answers".
V* shouts : "I am next to R*"
and N* decides : "Me n S* will sit together, I know only 6 answers".
Times was up! We ran to the class!

The exam: R* and V* in one long bench and N* and S* on the other. I was sitting on another bench next to these 4! All i remember is the paper being baad for me {I had learn only 4 and i knew only 2 in this paper} and me wishing "wish i was next to R*" and seeing these gals and the entire class copying Bit-by-Bit! I actually remember one fren sitting next to me and writing my answers.. dunno if it was for this paper!

The Results: The next thing i remember is the scores we got, which were :

V*  = 19
R*  = 18
S*  = 16
N*  = 15
Me  = 14

There were so many reactions to these scores! You are free to imagine :) Also,these scores favored S* . I lost the "Whom she likes more??" ka bet finally!  Whattt days... !!

Friday, March 5, 2010

Search Saga!

An entire web page, rather a pop up with the title "customer history" was done by me! So that means, i created my own action class {Dishoom Dishoom:P}, the java script page :) This page lists all the orders made by that particular customer till date.! Yee..! The best part is: an issue or a clarification or a new functionality to this page.. they ask ME {the creator :P} to do it! :P

Excitement OFF, Actually this feels very good! But you know its such a simple task and blah blah i had to spend almost one entire day for this to function to work exactly like how it was supposed to. So good So far!

The next day i was asked to make this hidden and when done with that, i had add a special search function which which would search according to First name, Last name, Mobile Number, House number, Email Id, Unique id n etc! I had to use drop downs for this!  Its not that i had to do everything from scratch , its just that i had to utilize all the functions and use them here. For this i had to know the flow of the code, which was the most painful part!This understanding session + implementing the understood portion took me 3 solid days! 

Its actually nice to code, there's so much logic in this and there's so much implementation! Wish  we had realized this in college, then at least we would have specialized in one programming language and would not be as ignorant as we are{about programming/coding}.

Result: They put this small chotu functionality in every page of the website :P