Thursday, October 28, 2010

Backup the Pod

I have found it very hard to backup the music from the iPod to the system. Especially when the music inside is encrypted in some weird fashion. To see this go to /Volumes/Ipod/iPod_Control/Music from the command line and look at the contents inside. They are categorized in a weird fashion and make no sense.

I was done with those softwares which let me backup only 100 songs or so. Therefore I tried what I could do programmatically to get those lost song names (file names) right.

I went through those Meta Data accessing libraries written by brilliant people and managed to find a good one. The Library had very much of what I wanted. It could access those meta tags like title, artist and album. All I needed was a API thing for Ruby (I love Ruby :P ). TagLib also had language bindings for the ruby language !

You need to download the package  and then run

./configure
make
sudo make install
make clean


Thats it ! You have installed the C stuff. Now do a

sudo gem install rtaglib


for the ruby package. The help docs are here. Try it out in irb and you will be pleased.

Now for the backup. I did a

cp -r **/*.mp3 /My/HOME/NEWDIR/.


to get all the encoded mp3s in a directory from the iPodControl/Music directory.
Now came the ruby code ....

require 'rubygems'
require 'tagfile/tagfile'

f = Dir.glob('/My/HOME/NEWDIR/*mp3')

f.each{|i|
begin
tag=TagFile::File.new(i)
nn = i.split('/')
nn[-1]=(tag.title.to_s + '-' + tag.artist.to_s + '-' + tag.album.to_s).gsub('/','') + '.mp3'
nn=nn.join('/')
p 'Renaming file '+i+ ' to '+ nn
File.rename(i,nn);
sleep 2
rescue
print "An error occurred: ",$!, "\n"
break
end
}


This gave some warnings and stuff but generally did the trick for me. I now have an organized view of my files !!!!

Monday, October 25, 2010

Mac on Lenovo

Franki just did the most amazing thing by installing OS X - 10.6 on a Lenovo. He tried out with Pally Sir's CD at first but that did not go well. I would confer with him and convince him to write about the set up and hacks here. Stay Tuned.

Tuesday, September 28, 2010

Pune Post

I went for a short trip to Pune this friday. To meet up with Amit and Gitesh and to see how Pune was.

I was startled to find Pune to be developing. I had thought that it would be some what like Noida, but it was not. They say the people in Pune are generally lazy and traffic is all haywire. The roads are being made and water rises when theres rain. There are places where you see malls and greenery but otherwise its all dust and the locals. IT is the main source of income for the people there I would suppose.

Monday, August 30, 2010

Minimum diff between dates of a week

Problem statement:
The UI contains a set of checkboxes. Each signifies a day. The list starts from a Sunday and goes upto a Saturday. The task is to find out the minimum difference between the selected days.

Eg:
If Mon, Thur and Fri were selected, then the minimum days between the selected days would be 1 (Thu and Fri).

Take into consideration that if Sun and Sat were selected, the difference would be 1. :)

Thursday, August 5, 2010

Scratch

Bangalore is a crowded place and therefore traffic is a killer. Today when I was coming to the office, I overtook a car guy right on the side. I took the at-most care in not touching his vehicle. The guy comes out after a couple of minutes and blasts me. He says that I had scratched his vehicle, 2 times ! I start think when I had done so and if I had done it wouldn't I know ? He goes back after lecturing me about responsibility and stuff and I take it. After I overtook him, there was a guy on an old bike, who came in quite fast. He had also overtook me, took his bike on the pavement and had gone further. The guy must have probably scratched him and then taken it further to avoid a clash.

To the car guy:
It was good that you were very calm during the whole incident. But before you start giving lectures and blaming people, you would want to make sure that you have got the right person. You would also want to check your eyes.

Wednesday, July 21, 2010

Inception

I and Jayasurian went for 'Inception' yesterday. We reached 10 minutes early and watched all those people, you know what I mean, going around all excited about watching the movie. The movie started off confusing. Where are these guys, what are they trying to do. Why is there so much chaos ? Then as the story slowly starts to reveal itself, the complexity of the script is exposed. Wonderfully crafted and nicely told. It closely knits to the stuff that we have experienced. Like waking up in the middle of a dream when you life is threatened.

Adding other people to a dream is like social networking :) . Some parts where confusing as well. Like the part where Arthur constructs a loop to defeat an assassin when he is not even in his dream. But those things are trivial when you consider the effort put in for the movie. Visually it was a treat, it made you think.

Joseph Gordon Levitt was awesome. I loved him from the days of '3rd Rock from the Sun'. Ellen Page was ok. Ken Watanabe was great as always. Leo did justice to his part. A surprise was Tom Hardy, who I thought did a nice work.

Memento is still a better movie !

Monday, June 28, 2010

World Cup Frenzy Too

The Germany - England match was a treat to watch. Germany played a fast paced attacking game and England helped them with having very little defending. The Argentina - Mexico game was also tight. But Argentina came out all guns blazing with a smashing second goal from the right foot of Tevez. Yesterday's Brazil - Chile game was wonderful as well. Chile really played great even though they were 3 goals behind. They played aggressive and attacked. But the Brazilians were too much for them. A great team performance complimented with extravagant passing and finishing saw Brazil win by 3 goals to nil. Im eagerly waiting for the Spain - Portugal match today. Torres would want to come out and exhibit his skills, period.

Saturday, June 12, 2010

World Cup Frenzy

We, at our flat, constantly follow the FIFA World Cup 2010 with great enthusiasm. Most of us support Argentina, 1 Italy and 1 Brazil. We saw 4 matches up until now. The France v/s Uruguay match was a total waste of time. South Africa proved to to be a great match for Mexico and managed to draw a match which was thought to be Mexico's. South Korea destroyed a poor Greece by 2 Goals to register the first win for a team in the World Cup 2010. Argentina could have easily scored 6 goals in the match against Nigeria if it were not for the Nigerian Goal Keeper Enyeama. Great work from Nigeria anyway and they would give South Korea a run for their money. 

Thursday, June 10, 2010

Javascript Debug

I started working with Javascript some years back and at those times to get hold of a js issue was hard. Then came firebug. The tool analyzed the js stuff, gave a console where we could assign new Javascript variables, call functions etc. The Dom tab gave the variables currently declared in the DOM so that analyzing a variable got easier. The Net tab gave all the access made by the page. This included the images, css, js files and even XHR ! Debugging a script became easier with the Script tab.

But that was not enough, as for all things. YSlow came along which gave you a precise idea of the stuff that made your web page slow. Page Speed from Google also gave a great idea of the same. Cookies was introduced which let you view a cookie and modify it.

The debugging in IE was also some thing that developers looked forward to. Developer Bar gave many of the options that Firebug gave. Companion JS is a great tool that let you debug Javascript. Fiddler let you act as a proxy between IE and the server so that you could change a request to fetch a file (js/css) from the local disk.

Smush.it is something that I got to know recently which gives you a compressed version of images thus increasing the response time for a web site. Javascript compression and obfuscation are techniques that we use every time for the js response time reduction.

Many stuff to keep in mind and many to implement to create a great web app.

Wednesday, May 19, 2010

Dependencies

The last two weeks were hectic. Deployment and making the sufficient stuff necessary for deployment is tough. I tend to really appreciate those people who stay the whole night resolving production issues. May it be Garbage Collection issues with the server/java or CPU spikes. These seemed to be problems which took most of the time.

Packaging is also a problem not to be taken lightly. Resolving the dependencies and making sure that no major update goes unnoticed is a tedious job. Just to look into the set of packages is boring and one tends to lose patience quite frequently. I still think that having test packages and using them on a QA machine makes sense only if the QA is not meant to replicate the actual production instance. If they do, then the packages that must be installed must be stable packages. YUM is be given great credit for the fantastic work they do.

Sunday, May 2, 2010

Back after a wait

Its been some time since my last post. And frankly I had a lot of work. Getting systems to work in Yahoo is a tough job. To understand a system, evaluate and determine the best approach ought to be a highly paid job. I have been thinking about the growth and progress of my career and Im still uncertain. 

We, in the BTM house, have been discussing a lot about investments in land and real estate. Tourism is an industry which is starting to catch up in parts of Kerala aand having some land and setting up a small tourist spot is an ideal way to earn a return. 

The personal life is starting to suck a bit and ideas are hard to come by. Telling stories to Binil has been something that I have been doing for some time. It might pay off one day and probably I would publish a story.

Wednesday, March 31, 2010

Vella Kuuraan

It was at a very young age that I had first witnessed what an after death ceremony looks like. My grand mother had passed away while she was washing her face. She fell on my mother and ma tried desperately tried to wake here up. Dad was working in Dubai and had started from there along with his brothers when he heard the news. I still remember the blood shot eyes that my Dad had when he came in the big room where grand ma laid. He did not cry aloud like all the women did but the eyes told a lot.

The second time was when Dad's brother, Unni Krishnan Kunjachan, died. He had high blood pressure and tensions of his own when he passed away. I dont actually remember where I was when he passed away. The one thing I remember clearly was Prasanth walking around with the 'sheesham' tied around his waist. Dad was there taking over all the after death rituals and their setups.

The third time was shocking. It was my own Uncle's death. He was one of the best guys I had seen so strong with the english language. He had the capability of doing stuff of on his own. He would help you no matter what and you could trust your life with him. His life was full of desperation and loneliness. This might be the reason why he thought to go to God on his own. My youngest uncle had taken the phone and started crying on hearing this. Mom could you keep it to herself and started crying aloud. Everyone but me when to Chalakudy where the body was supposed to come. Dad had gone to take the hanging body from the hotel as the hotel authorities did not want to touch the body. I remember Murali Uncle, pretty drunk at that point of time, telling me that after seeing the half degraded body that he had to get drunk as he could he forget the scene.

This week witnessed yet another loss in the form of the loving Ganga uncle, Dad's 2nd brother. He was the silent type, who will not complain even if you hit him with a pole. The calm and down to earth person who would help even if he were sick. Dad had just undergone a minor operation and we needed to go to the hospital. As we did not have a vehicle, we called Uncle. He still came even though he had fever. It was by evening that we understood this and by night he had to be admitted in the hospital. It was by 5:30 the next morning that he passed away due to a heart failure. He was analyzed with pneumonia and it had spread very bad to his lungs and heart. I remember every time I used to visit him that he would come down the stairs and say hi and then say nothing at all unless I spoke to him. He used to stay with us when we were in Dubai and he used to make fun of this north Indian friend of mine who was very fair. HE used to call him 'VELLA KUURAAN'.

Monday, March 22, 2010

Lists

50 Lists to Write to Lift Your Spirits from http://demandingjoy.com/?p=1027


1. People who have influenced or inspired you
Dad, Mom, Sis, Ravindra Sir, Sony

2. Things you are grateful for
Health, All the things that my parents gave me including education, love and life.

3. Places you have been
Dubai, Delhi, Uttar Pradesh, Rajasthan, Jammu, Kerala, Bangalore, Trichy.

4. Places you want to go
Europe, Leh-Ladakh

5. Books you’ve read
Just the one I remember clearly is Dirty Harry

6. Your favorite things – what brings you joy?
Spending time with friends and having a good time.

7. Good things that happened this week
NONE

8. The best things that happened in the last year
I loved.

9. The best days of your life.
June 21 2006 - Sept 4 2009

10. The songs for the soundtrack of your life
take it easy - eagles.

11. Acts of kindness you’ve committed
Helped Sony and Teddy.

12. Things you want your children to know about you
That I love them very much.

13. Reasons why you love your significant other
Unknown

14. The high points for your autobiography
I tried to become what people want but failed miserably.

15. People who love you
Dad and Mom

16. The cutest things your kids ever said
Waiting

17. Everything you would do if money were no object
I would travel.

18. Favorite gifts you’ve ever received
A coffee Mug from Gitesh and Srinath.

19. Favorite gifts you’ve ever given
A perfume to Shilpi

20. Occupations that you have ever wanted to have (including when you were a child)
Being a pilot

21. The best advice you’ve gotten.
Learn to say 'No' from Srinivas

22. The worst advice you’ve gotten.
Try to do this another way from many people.

23. Things you’re procrastinating
Getting the bike to my name.

24. Ways you calm yourself down when you’re angry.
Think of something else.

25. The best ideas you’ve ever had
Take a short movie

26. The best projects or organizations you’ve ever been involved with
Globallogic.

27. The ways you have grown since your early 20’s
Intellectually, physically.

28. The most beautiful things you’ve ever seen
Snow @ Patni Top

29. The greatest lessons you have learned
You cant change who you are but you could adjust to other people.

30. Life’s lessons that you learned the hard way
People are not what they seem to be.

31. Things that have mad you laugh until you cried.
None

32. Qualities you most admire in others
Patience, openness.

33. Qualities others most admire in you
None

34. The elements of an ideal year
No mental tortures, no allegations and no health problems

35. All the compliments you’ve ever gotten
None

36. Foods that you have eaten that are so good that others could hear you enjoying them
None

37. The times you have asserted yourself
Many.

38. Things that inspire and energize you
Work, games and short talks.

39. The places where you feel completely comfortable to be yourself
Home.

40. The most important turning points in your life
Getting admitted to NITC

41. Times when you looked and felt your absolute best
None.

42. The things you’re good at
None

43. What you would do with the power of invisibility
Cant say.

44. Things you want to teach your children
To be independent and learn stuff the hard way.

45. Things you still want to do in life
Travel.

46. Bits of trivia that most people don’t know about you
I love to walk.

47. The things you love about your body
I could exert myself.

48. Accomplishments you are most proud of
Performance award from GL.

49. The things you love about your home
Dad and Mom's there.

50. Who (living or dead) you would invite to your dream dinner party
Everyone who understands me.

Something that I stumbled Upon

I've Learned. . .
Author Unknown
I've learned. . . that we don't have to change friends if we understand that friends change.
I've learned. . . that no matter how good a friend is, they're going to hurt you every once in a while and you must forgive them for that.
I've learned. . . that true friendship continues to grow, even over the longest distance. Same goes for true love.
I've learned. . . that you can do something in an instant that will give you heartache for life.
I've learned. . . that it's taking me a long time to become the person I want to be.
I've learned. . . that you should always leave loved ones with loving words. It may be the last time you see them.
I've learned. . . that you can keep going long after you can't.
I've learned. . . that we are responsible for what we do, no matter how we feel.
I've learned. . . that either you control your attitude or it controls you.
I've learned. . . that regardless of how hot and steamy a relationship is at first, the passion fades and there had better be something else to take its place.

Wednesday, March 3, 2010

Dark Side and the Bright Side - Goa

This was my first time in Goa. Expectations were high. We expected it to be hot and humid. We expected lots of tourists and desis. What we saw met our expectations. We had lots of fun and a genuinely great time. I dont want to talk about the great stuff that you see in Goa. Everybody talks about those stuff. Im going to talk about the stuff that I thought to be BAD.

Goa is projected as a tourist destination. These tourists come and lay on the beach reading or just getting a tan. Theres bound to be some sort of extortion. It was holi there and I saw a bunch of kids, may be 5 or 6 years old, smearing a foreigner with the traditional colors and then asking him for money. The amount that they ask starts from a hundred. They ask him five hundred. The foreigner is not let to go unless he pays and he succumbs and gives the kid a hundred rupees. I never saw any kid asking an Indian that amount of money. They dont ask coz they know they wont get it. It would be a waste of their time and the money they spent on the color.

Normally the bike that we get for rent in Goa costs about 200 rupees. They hike the prices to a thousand we they see that there is demand. We reached late on a saturday and a person asked for 800 rupees under the condition that the bike had to be returned @ 9 pm that same day.

They also provide roof less Maruti Gypsies for people. These Gypsies are not allowed in Goa. They dont tell this tiny detail. The police wait for these Gypsies and once they get one extort money from the tourists. The tourists are made to pay the whole amount upfront and complaining on return of the vehicle doesnt matter.

We got into a bus when we started from Baga to Calagute. We were told by the owner of the place we stayed that the fare was 5 rupees. The conductor of the bus asked us for 10 rupees. He doubled the price. We told him that we knew the fare was 5 and that he was trying to trick us. He argued for a while but took the 5 per person after we said we would complain.

We got down at Margao to go to the railway station to catch the train. A bus was parked in a petrol pump and the conductor told us to get in after asking us the destination. We got in and sat. Just then another guy came from the bus stand and told us that the bus wont go. We didnt get out then. The conductor then came in and asked for the fare and we gave him a hundred. He went upfront after taking the money. Then the bus started and went inside the bus stand and stood there for more than 10 minutes. When asked why he didnt tell us that the bus wont go now, the conductor said that the bus would go in some time !

Dont ever go on the beach without foot wear. You would only get you foot split by broken glass. Get sun tan lotion or you will burn to death. You will have to buy water. No one, not even when you dine in a small shack, will you get some drinking water. The most time wasted will be for food as the shacks there take 3 hours to serve a single meal. Take some light food along if you intend to roam about in Goa.

JS Snippets


function myFunc(param){
if (!myFunc.cache) {
myFunc.cache = {};
}
if (!myFunc.cache[param]) {
var result = {}; // ...
myFunc.cache[param] = result;
}
return myFunc.cache[param];
}



function lazy() {
var result = 2 + 2;
lazy = function() {
return result;
};
return lazy();
}

lazy(); // 4
lazy(); // 4

Tuesday, February 23, 2010

The VIM

:sp will split the Vim window horizontally. Can be written out entirely as :split .
:vsp will split the Vim window vertically. Can be written out as :vsplit .
Ctrl-w Ctrl-w moves between Vim viewports.
Ctrl-w j moves one viewport down.
Ctrl-w k moves one viewport up.
Ctrl-w h moves one viewport to the left.
Ctrl-w l moves one viewport to the right.
Ctrl-w = tells Vim to resize viewports to be of equal size.
Ctrl-w - reduce active viewport by one line.
Ctrl-w + increase active viewport by one line.
Ctrl-w q will close the active window.
Ctrl-w r will rotate windows to the right.
Ctrl-w R will rotate windows to the left.

Class Path !?


String myResource = .... ;
InputStream is = getClass().getResourceAsStream(myResource);
System.out.println (myResource + " is " +  (is==null?"not":"") + " on the classpath");

Thursday, February 18, 2010

Cook me up

This post tries to focus on the topic of Cooking or escaping in Web Applications.

The process of stripping/changing/modifying user input so that it avoids attacks like XSS is cooking. There are many ways to do it. One way is to strip off every input that the user provides. Let it be tags like <script> or <img> . The quotes are also removed so that javascript errors are avoided. 

The other way would be to take in what ever input the user provides and store it as it is in the database. The only place you would cook it would be in the UI. Escape/change what ever stuff you feel would cause your app to succumb to XSS and then display. This, I feel, is the right way to do it. 

Many applications that you see now may also have a JSON part to it. It might also be the case that the application is accessed by many other applications and these apps use the data. Not cooking this data is kinda buggy and cooking it defeats the purpose if this data is shown in a simple textarea. So I would rather let javascript cook this using the functions available.


update: The buzz has a problem with this. My blog title is  << Dinks >> and look how it came up in buzz .. 





The 18th again

I was a boring bday ! I remember the previous time when I got hit hard by friends who smeared me with chocolate cake and I was made to go to the temple. Nothing happened this bday and I got to understand that people change with time and distance. Thanks a bunch to Salih, Gayathri, Srinath, Gitesh, Swati, Shilpi and Sajith who called me up to convey their regards.

Thursday, February 4, 2010

Roamers

Coffee Shop. Its pretty bleak. People flow in, very less flow out. They like to enjoy but the coffee makers want them to get out after they have finished their coffee. That said they also look at the customer before they get into any argument.

Joy has just joined them. He is pretty good at talking to people. A real People Manager. Real d##k at heart but his kid like face makes up for the f##k up. He notices a table wasting their customer space by just ordering some black coffee. When a group comes into the shop asking if there were space, he proceeds to ask the seated to leave.

He walks through the rush like an ant and faces the person he feels is the most alpha.

Alpha (to the public): Screw those as...
Joy : Excuse me sir.
(This grabs the alpha's attention)
Joy : We have other customers coming in Sir. So we would appreciate if you could please let them enjoy their coffee as well.
Alpha (Looks at his with cool but menacing eyes) : Do you see me coming to your desk and telling you to get up coz there are better f##king unemployed guys who could do your job ?
(Joy is taken aback. Does not expect that sort of a response from a customer)
Alpha : Well ? Do ya punk ? (Takes up the Clint Eastwood face and laughs at Joy)
Joy : No.
Alpha One : Good. Dismissed !

Seems like Alpha is a movie buff. Clint first and then Jack ! Joy retreats very pissed.

Alpha : That would teach him a lesson.
Theta : That was not good of you. He works hard for money you know. He is frustrated and wants some thing for himself. Your insult must have depressed him.
Eta : Well he must have known that before he asked. We are here to enjoy ourselves and we pay to enjoy.
Theta : Imposing something that you think is correct is not validated by any action. We should at least order something else.
Gamma : Hmm .. Lets do that. Lets make him feel fresh again. Its said that a single action of kindness can do wonders.
Alpha : I dont have any problems with having a cup of coffee. But I dont agree to that saying at all.

Alpha turns and looks at Joy. Whistles him. Joy, unimpressed at this point of time, comes slowly.
Gamma : Hi, how are you ? Can we get another cup of coffee ?
Joy (Startled at this point of time, but regains his sense) : Yes, sure Sir.

Gamma (After Joy goes happily) : See. His face was glowing. Making a person feel better does make your day better !
Delta : Im not sure that that is true. How can making someone happy make you feel happy ?
Alpha : Suppose I give a beggar some money. The thought of what he would do with the money would make me feel UNCERTAIN.
Epsilion : To think about some thing like that makes me stressful. Takes a lot out of me. Its better not to think.
Theta : As the 'Bhagavat Geeta' says 'Do your duty, to the best of your abilities, for the Lord without any selfish motive, and remember God at all times - before starting a work, at the completion of a task, and while inactive'.
Beta : I cannot start saying how awesome was Bhagavat Geeta. I wish that was part of the curriculum. Not that there was anything wrong with the curriculum now.

Eta is thoughtful. Alpha does not like this. Alpha does not like anything much.

Coffee comes along with Joy. He places the coffee right in the middle of the table. Leaves.

Epsilon : Let me have some. It really soothes me. Just to have some hot coffee and to close my eyes.
Eta : A cigarette soothes you. Not coffee.
Theta : Coffee does not kill.
Gamma : Coffee does not burn either. (Chukles)

Alpha : The feeling that you get when you rest is unique. Its so fucking great. And thats why drinks excel.
Delta : I thought that was to escape from the problems.
Epsilon : I must have some.
Theta : Try some thing which you are sure would destroy your life ?
Epsilon : Destroying something that you think would go no better is the same as mercy killing.
Theta : So you support mercy killing ?
Gamma : I dont !
Beta : The whole world doesnt.

Its pretty noisy with all the traffic outside.

Alpha : If some one doesnt kill you, this noise will. Silence is just an illusion.
Eta : Killing for someone's sake is one thing, killing because the person is a burden is murder.
Gamma : Like that movie 'Kill Bill'. Never saw that much blood in one movie before that.
Theta : That movie promotes murder. Its no better than a live murder caught on tape.
Epsilon : With the kind of people around us, death might just come at any time.
Delta : Wonder what happens after death. I mean will we see all the things as we see here as ghosts ? Will we be reborn as insects. The same insects that we kill. Like a mosquito ? A bug which we think is insignificant ? Pretty confusing stuff !
Alpha : Who cares ? Live you Life now and dont think about something in the future.
Eta : But isnt thinking about the future the same stuff that make you live each day ?
Delta : Interesting perspective.
Beta : I agree to Alpha.

Joy comes up to the table. He is all happy and stuff.
Joy : I shall I get you the bill Sir ?
Gamma : Yes, please.

Alpha (after Joy left) : What a f##k up. Just happy because Gamma was nice to him. Thats as nasty as it gets. He really has problems. He cares for what we think ! Hah!
Theta : The thought of helping a person does a whole lot of good.
Eta : Good is perspective specific.
Gamma : Good is something that make a person fresh.
Delta : So we could categorize killing a person suffering from a malicious disease that is mercy killing, good as we are helping him suffer less.
Beta : A valid point.
Theta : I would suppose thats why in some countries its legal. But I dont approve.
Alpha : I thought we dropped this topic long back. It really pisses me off.

Joy comes with the bill.

Alpha (looks at the bill, takes some money from his pocket, throws it on the table) : Keep the change.

Joy, confused, takes the money and moves away.

Melvin gets up. Walks, opens the door and enters the world again.

Wow Bash


bash:~$ ping yahoo.com
PING yahoo.com ...

bash:~$ ^.com^.co.in^
ping yahoo.co.in
PING yahoo.co.in ...

Sunday, January 31, 2010

Pre Initialization Technique

An interesting piece of code which does a pre initialization.

XMLHttpRequest = (function () {
try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); }
catch (e1) {}
try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); }
catch (e2) {}
try { return new ActiveXObject("Msxml2.XMLHTTP"); }
catch (e3) {}
try { return new ActiveXObject("Microsoft.XMLHTTP"); }
catch (e4) {}
throw new Error("This browser does not support XMLHttpRequest.");
})();

Wednesday, January 27, 2010

Rough Waves

The past month has been the worst ever. Previously I have been very confident of the code I write or even what I say. But now, the confidence has gone haywire. I create atleast 4 bugs for every line of code I write.  Its very depressing and I feel lost now. A very much needed revival is necessary. Let me see what I can do about it. Leaving the past behind and enjoying the work may be a way to go.

Monday, January 11, 2010

Path to follow

This post, after along time, is long time pending. I have been traveling constantly through a road without any aim. I just traveled the way the road goes. Some times the road diverts leading to a road with shades and comfort. Taking that road may not be upto the liking of your parents, but you still wander through these roads. We divert back to the main path because we are afraid of the consequences / we dont know what waits for us. I would have preferred to have taken this road. Now I understand that the shades are unreliable and dont care for the traveler.