Skip to main content

Desktop search vs good old grep

Been installing various desktop search tools like the Google Desktop, Copernic (once free), Microsoft Search etc and after a few weeks / months of usage, eventually felt happier to uninstall them. One of the primary reason I need a desktop search was I needed a tool to quickly search for mails. I would seldom search for files on my machine.

But one assumption that we need to keep in mind is that, these search engines are not exact. That is, the engines fetch you results, but they may not be comprehensive. The web crawling spiders that scour the web for data and index them, it is possible thet the server's index may be out of sync with respect to the actual web site as new data would have been posted after the spider index the content. In the Internet, sure, if you have a few sites missed out, it does not matter much. But desktop search apps seem to work in very similar lines. If at some time, for want of speed or to free up available memory, you stop indexing your mails or documents, chances are, these mails might not be indexed at all.

So, there were various instances where I was searching for that particular mail and it did not show up. Be aware that such search engines are not comprehensive and it is a good idea to resort to the good old linear search just it case. Though they may take time, they give you comprehensive results.

The same would apply when searching for keywords in code that you plan to manipulate. You would want to get all of the matching sources and not want to miss out even one.

Comments

Popular posts from this blog

Battle of Wesnoth Been on the lookout for a free turn based strategy game and chanced upon the Battle of Wesnoth . Despite it being an open source game (meaning, you get the source), it was incredibly polished akin to any of the other turn based strategy game (Alpha Centauri), be it the background score or the graphics or the tutorials. The game itself is set in a period similar to the D&D or nethack era. For the film buffs, if you have read or seen the Lord of the Rings, you would probably be able to relate to the clans that populate the game world. The game play, as with any turn based strategy game requires background information on each of the units that you own, their strengths and weaknesses and a lot of planning (a kin to chess, but with a lot more parameters) where factors like day - night cycles are taken into account (e.g, humans fight well during the day, but the orcs are better during the night). It is encouraged to keep your older units as they gain experience and beco...
Going forward... Happy Diwali to anyone who has managed to reach this site! With this being a long weekend, by next novel that I recently read was NEXT by Michael Crichton, based on the new advances that are being made in the world of genetic engineering and the implications of their effects in the social world. Good read which changes the perspective of the darker side of generic engineering in the ever changing world.
Hypermilers... One of my earlier post glanced upon the techniques to achieve better fuel economy while driving. And I chanced to stumble upon an article that has expert advise and a group obsessed with saving fuel. Some of their techniques match mine, but most seems specific to highway driving and/or driving a hybrid. But with a little effort, these can be applied to city-driving too and you may be able to reap some benefits while driving through the traffic laden routes at Chennai! A point to note: Safety comes first, fuel economy next. In the mean time, I am trying to layout a traffic simulation application, where you can try out different kinds on signals (the regular contdown style, more intelligent ones that can sense the traffic buildup) and to find the right timing and location to ensure your car / bike keeps running. Will post the architecture / design of this system when it is done...