Posts

in.com - India on the world stage

Image
Its rather rare that you come across a site with content really geared towards Indians with a look and feel matching any world class website. Take a quick look at the layout and source code of sites such as CNN-IBN and Aaj Tak and you will realize that we are really retards as far as decent site layouts and navigation is concerned. However, in.com was a really refreshing change. The interface is quick and snazzy and the site runs on blazing fast servers - in fact, I would go as far as to state that I had a better experience with their quick registration and speedy interface than I had with GMail on Google servers. Oh and just not to forget, they've gone onto internet overdrive and I'm constantly receiving targeted ads that lead me to their site. Well, what can I say - you have me hooked! :-) The first thing that I tried out was their radio service - its awesome! Have a look at the screenshot below: Despite it being an obvious ripoff from last.fm , I really don't mind. T...

Enjoy Everything You Do

Live the life of a dolphin, Travel the world without fear, Whether to the top of a mountain, Or where the water ain't clear. Fear not to push the ceiling, Try to reach for the sky, Go with the flow if you want to, Or be left high and dry. Speak your words with feeling, Enjoy everything you do. Play from dawn to the evening, Is that not everything you do? Follow the world in its footsteps, Or make the world follow you. Do everything with feeling. Enjoy everything you do.

Bird of Fire

Fly, Fly, Fly little bird in the sky. You own the heavens - the Earth and the Sky. Lie, Lie, Lie, asleep in the clouds, Free from cares, from worldly bounds. You creature of mirth, of joy abound. Live, Live, Live, a life full of dreams, Unchecked by dearth of form or means. Pray, Pray, Pray for a life full of song, For finding a rhythm to play along. You creature of milk, to heavens belong. Say, Say, Say, the words in your heart, Bring a smile with a kind remark. Day, day, day a day in your life, Opens a door from formless night. You warrior of words, of shape and light. Inspired by - To a Skylark by P. B. Shelly

Wordle and SEO

Image
An image is worth a thousand words. This image is a tag cloud generated by Wordle from the text at http://www.drkapoorsclinic.com . I don't need to tell you how such a map is helpful for SEO - do I? And yes: despite my earlier post on Mac v/s Vista - that *is* a screenshot taken from my laptop running Vista. You might call me a hypocrite, I just call myself a pragmatist - if you can't beat 'em, join 'em. ;-)

Walking through your first template metaprogram in C++

From the Wikipedia article on Metaprogramming: Metaprogramming is the writing of computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at compile time that is otherwise done at run time. In many cases, this allows programmers to get more done in the same amount of time as they would take to write all the code manually. Unfortunately, metaprogramming is not directly supported by C++ and resources on template metaprogramming are few and far between. I'll try to document my knowledge of metaprogramming as I learn it and hope that it proves useful for one such as myself hunting the web for information. First, lets get the preliminaries out of the way: Templates are used to create generic code (but you already know that, don't you?) Code like: template <typename T> std::string to_string(T const & object) { return object.to_string(); } is used to allow the to_string function to be called on all objects tha...

I'm Back

Hey all, Its been ages since I last posted on this blog and its been rather sometime since this blog had been taken off the internet. However, I'm back on the internet after being *really* busy at college and the blog is back online. Well, in the time my blog was offline, I was completing my second year at college and in the summer vacations was developing a website for my dad and mom's Ultrasound clinic . You can see the final result at their home page: http://www.drkapoorsclinic.com .

Mac v/s Vista

With Apple now shifting to the Intel platform - the Mac has become another shark hungry for the market share being doled out by the beleaguered Microsoft Vista. To quote from the Apple web site: Why upgrade to Vista when you can upgrade to Mac? Especially when you can move all your stuff from an old PC to a shiny new Mac in less time than it takes to add the memory, hard disk space, and graphics card you’ll probably need to install Vista. Here are three easy ways to make your move. That's a pretty strong statement coming from the Apple stable and yet another indication of the poor feedback offered by Vista users. Personally, I feel Vista is still just as secure as Windows XP from the user's point of view but more secure from the programmers viewpoint. The whole crux of the matter being that Microsoft forgot its end users while trying to implement new revolutionary (read: proprietary) technology for its programmers. With the .NET platform still stuck onto Windows due to the poor...