Posts

Showing posts from July, 2008

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 th

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 .