Saturday, May 21, 2011

A note on Passive Aggression

This is the most difficult of all emotions that one could deal with; actually one can never deal with it but succumb. Often in our upbringing, we would have faced this. I know that parents do not know want their children to make any mistakes and suffer, but at times they do go beyond what is necessary and end up feeding them with a lot of negative thoughts and confuse them. By doing so, ever so cleverly, they ensure that their children follow/avoid following a particular path in their lives. This is perfect example for the saying, "Too much of anything is good for nothing!".

Of-course, parents are showing their affection this way, but I guess children are much better off, taking life as it comes. This need not apply only to the parent-child relationship; it is ubiquitous in any old-young, senior-junior relationship that one comes across. People should save their advices when the individual is actually looking for some. Otherwise, the younger ones should be left to do things on their own!.

This is certainly one thing that I will have etched in my mind forever!.

Sunday, May 15, 2011

Something on the Soundex Algorithm

The idea as such amazed me, when I first heard about this. I was rather under-estimating the power of Perl community, thinking that it is an obsolete piece of technology, before I got to know about the existence of some very good modules like Text::Soundex in Perl. Still, Perl is widely used hmm... Perl 6 will at-least have some takers.

Coming back to the Soundex, it is quite an interesting idea to think of ways to index words based on how they are pronounced. It is quite intuitive. Whenever we hear a new word, we try to spell it out based on the sound and based on our knowledge of the language, in that way idea is intuitive.

More importantly, it cuts the barriers of language apart. It unifies all the searches and therefore it is something special. However, it could be used only in limited places. Catalogues(Library/business) could have some soundex defined over them that can simplify the search. Basically, one can say that soundex algorithm can be used to index words more than anything else.

http://creativyst.com/Doc/Articles/SoundEx1/SoundEx1.htm I found this link to have good information about the Soundex algorithm. More importantly, it provides the implementation of the algorithm in several language. Free Source Code!.... Have fun!