Monday, 5 August 2013
It's not the spoon that bends, it's your mind.
Tuesday, 10 January 2012
Rockstar
1) Well all my friends are living it up while am freezing my arse off.
2) I work in an all encompassing area to make some miniscule progress in a period of five years, which probably no one cares about.
3) These are best years of my life !
But then mostly the pleasure of creativity keeps you ticking and you ignore the larger picture bogus questions and focus on enjoying the silent battle with yourself.
Few weeks back, some time around thanksgiving, I happened to watch a movie called Rockstar, pathetic in every other sense except for the music, the movie had one touching moment. The protagonist is kicked out of his house and spends three homeless months in a dargah ahhh, where out of nothingness he sings and sings and sings and sings and sings some more..........
Beatles spent a lot of time playing for no-one in a club in germany.
Einstein spent years as a clerk in the patent office in a mind numbing job.
Nirad C Chaudry spent years of oblivion before being labelled as the Indian with best hold on English language.
So on and so forth.............
If you can't connect the dots then maybe you don't need to, stop thinking and let it go.........
this is ur rockstar period....work for urself.....play for urself, write for urself, think for urself........live for urself.
Saturday, 8 October 2011
Hmm..
meteors.
The tall unknowable city takes over the countryside.
Sure of my life and death, I observe the ambitious and would
like to understand them.
Their day is greedy as a lariat in the air.
Their night is a rest from the rage within steel, quick to attack.
They speak of humanity.
My humanity is in feeling we are all voices of that same poverty.
They speak of homeland.
My homeland is the rhythm of a guitar, a few portraits, an old
sword, the willow grove’s visible prayer as evening falls.
Time is living me.
More silent than my shadow, I pass through the loftily covetous
multitude.
They are indispensable, singular, worthy of tomorrow.
My name is someone and anyone.
I walk slowly, like one who comes from so far away he doesn’t
expect to arrive.
- Jorge Luis Borge
Sunday, 4 September 2011
Feel for yourself
Tuesday, 12 July 2011
I just wanna be supportive...
Saturday, 2 July 2011
Wake Up Thought (Life and its heartening instances)
Thursday, 16 June 2011
Really fulfilling your childhood dreams?
Saturday, 7 May 2011
Prayer
Friday, 6 May 2011
Mission Statement
Monday, 18 April 2011
Always connected to this!
Writings of light assault the darkness, more prodigious than
meteors.
The tall unknowable city takes over the countryside.
Sure of my life and death, I observe the ambitious and would
like to understand them.
Their day is greedy as a lariat in the air.
Their night is a rest from the rage within steel, quick to attack.
They speak of humanity.
My humanity is in feeling we are all voices of that same poverty.
They speak of homeland.
My homeland is the rhythm of a guitar, a few portraits, an old
sword, the willow grove’s visible prayer as evening falls.
Time is living me.
More silent than my shadow, I pass through the loftily covetous
multitude.
They are indispensable, singular, worthy of tomorrow.
My name is someone and anyone.
I walk slowly, like one who comes from so far away he doesn’t
expect to arrive.
- Jorge Luis Borge
Thursday, 14 April 2011
The pedestrian
Wednesday, 16 March 2011
Quitter or winner.
Saturday, 26 February 2011
Friday, 4 February 2011
Dhobi Ghat: A Review
It is not a thriller, not a romantic movie, not a comedy, doesn't have a protagonist or antagonist, doesn't really begin or have a clear ending.It is what you can label as a good editorial column expressing the insights of the bored and the helpless but the aware mind, the musings of an artist on canvas when he paints without trying to convey his feelings but to soak in them himself, a research project which is not done to justify some funding but because true knowledge is about dispassionately observing something and getting to realize that knowing that you don't know is much more liberating than knowing that you know.I personally call it a window movie, which shows a small portion of the characters' life where they happen to touch each other in explicit/implicit ways.
Shai the hot shot alpha female. Banker, researcher, pretty, sultry, photographer , confused and caught up in the mess of being independent or accepting her femininity, she has got it all. Heavily attracted to a guy who is completely into her(feminine), but not being able to call a one night stand what it stood for(confused) and unable to understand the rejection from a seemingly wonderful person after a wonderful few hours of passion she chases him like a blood hound to unearth the man behind him, a combination of the typical female instinct of solving mysteries and a typical male egoistic thought block of "how could he??".........today's woman.
Yasmin belongs to the times gone by, to a set of people who are accidentally born in today's age.The quintessential girl next door, who is happy with the flavor of "being" and kills herself because the sense of being has no synonyms without the concept of a happy home.My heart went out for her.
He moves from place to place seeking peace, loneliness, but only from the surroundings, not from the people who make him feel alive, like his dhobi or his manager.He doesn't dig today's alpha female but a virtual person on the TV whom he can turn off at will, basically someone he doesn't have to demand his space from.But even this true loner, who doesn't want the burden of having close relationships, gets deeply deeply hurt from the knowledge of what happened to yasmin and moves away from that house eventually.
We work hard, we move places, we hope, we forget it all to rejoice and move on but the stark reality(represented in the form of a city) refuses to go away. This movie is a true dedication to all your shattered dreams, unfulfilled hopes, peace that is never found, mysteries that are never solved, crushes that live on to hurt, memories that live on to haunt and all of these interspersed with a few moments of "human goodness".And all that survives are a few photographs, a video cassette, memories of a wonderful night or a painting that you love to hate.
My first reaction after I finished watching the movie was, "Finally, here is a movie which will forever be loved by bibliophiles and people who care for the unspoken words."
Saturday, 11 December 2010
Quitting
Wednesday, 17 November 2010
Freedom
For some it is the state of mind..........(I feel free, am different, i enjoy my work, am so special, i stand out,i achieved, i proved myself blahblah).
For some it is the state of grind...........(All the above is a self help books generated lie, i live for good health, good company and life is not about winning or losing, it is about making people happy)
For some it is a point somewhere between this hypothetical bimodal curve.
The desire for freedom, which includes freedom from peer pressure, societal norms, the beaten paths, stuff like making a difference, changing the world; in short all the stuff protagonists in academy award winning movies are made of, is just another cage.
The desire to eliminate your desires is just another desire, the proclamation of freedom just another cage and so is the realization of am sooooo special just another way of saying "all in all am just another brick in a different kind of wall".
So what did great people say to this.....Buddha suggested the "middle path", yoga suggests restrained indulgence so on and so forth.
I suggest just remember the second law of thermodynamics......"the amount of disorder keeps increasing(entropy is always positive)".
Every piece of automation generates the desire for more comfort, every patent ends with a section for future research.
All in all, you are not finding the answers , ur just generating more questions.
"Freedom is opening your mind", beyond all judgements........judgements is where freedom ends............don't judge ,be free.
Thursday, 2 September 2010
Defense
1)Down to earth.
2) Nasty and arrogant.
It is almost a bimodal distribution, is what i used to think, now i feel otherwise,the more nasty one is, the more insecure he is, and the more he uses his intellect as a defense mechanism.
Tuesday, 31 August 2010
You have just one life!! really?
So, what exactly was multimedia built for:entertainment. How exactly do we get entertained: escapism. Whether it's the picture of a perfect lover as edward in twilight which women all over adore, whether it's the picture of success after years of struggle in all the oscar winning ones and tonnes of power in every punch kinda ceremony which every man loves, whether it's the arabian nights, avataar or harry potter kinda, "give the user a blood rush" sorta fantasy world's ride, whether itz a virtual meritocratic world,like the role playing games or the books of ayn rand, or some melody engineered for ur eardrums............blah blah ........it takes u away from reality for a while, makin u think that you are thinking, making you feel that you are feeling and for once making you look at a reflection of who you think "you are, you can be".
What could be the greatest form of escapism? Escape the cycle of life birth and death and worldly possesions, and all that surrounds it, Buddha called it nirvana, vivekananda is reported to have gone into days of samadhi(meditation in one difficult position), sexual orgasms make you feel that for a few seconds,so on and so forth. So escapism or pure pleasure is when your mind reaches zero,or the feeling that it can't think or the feeling that it's feeling exactly what it wants to feel. So make his mind numb or put his mind under trance........he's entertained.
Now,the next point. You are born in a certain family, you go to a certain school, go work in a certain place,have a few friends and spouses,so on so forth. Your life is your set of decisions and sadly life has no undo button, no redo task,so we have regrets, intimacy hungers, recognition hungers, structure hungers etc. Your decisions shape you and you end up creating your own universe and live "there", The famous hindi song by raj kapoor "jeena yahaan , marna yahaan, iske siwa jaana kahaan" , which means , am a clown in a circus, this is my life , i shall live here , die here , be here.
BAAM, achilles the soldier, alexander the emperor, ramanujan the math guy, einstein the physics guy...........sounds boring and dull, the messge is better captured by rockstars proclaiming their existence in form of "itz my life , i want no peer pressure, i care not for the world etc.
So whoever you are, you will have a job and some hobbies and your definition of fun and adventure and hence your choice of esacapism varying from slapstick comedy to mind boggling books.What if you could escape your universe, what if someone could tell you the boundaries of your universe, what if tomorrow you could create a new one,what if you could live in it,what if tomorrow i can go live in a lionel messi's(argentina football star) universe and be back without that affecting my life at all. What if i can live multiple lives, what if i can go do the job i wanted to do when i was 3,marry the woman i fancied but who is not compatible with me, what if i can juggle between these universes, what if i always knew what grass is like on the other side, what if " jeena yahhan" song as quoted earlier is proved to be bullshit, many famous people have done that, "super politician quits career to become dog trainer", u think they were full of conviction,maybe, i think they were too pleasure seeking...........
So if i can find out the limits of my universe, dodge it and live in multiple universes in one life, would i need multimedia, or will that be the greatest form of multimedia ever, shutting down hollywood and gaming companies.Now how can this be done, i don't know.It is just a thought an idea, which sounds good in my head. Good Night all, enough blabber.
Saturday, 17 July 2010
Totem
Creep
I wanna have control
I want a perfect body
I want a perfect soul
I want you to notice
when I'm not around
You're so fuckin' special
I wish I was special
But I'm a creep
I'm a weirdo
What the hell am I doin' here?
Thursday, 1 July 2010
Binary Search
low = 0
high = N
while (low <>
mid = (low + high) / 2
if (A[mid] <>
low = mid + 1;
else
//can't be high = mid-1: here A[mid] >= value,
//so high can't be <>
high = mid;
}
// high == low, using high or low depends on taste
if ((low <>
return low // found
else
return -1 // not found
It feels perfect, looks perfect even the Prof in your class must have written the same, then why am I talking about it. Well ,it has a major bug which had stayed undetected like for ever and detected sometime very recently. (Google for more details and timeline)
Problem: Well line 4 says, mid=(high+low)/2.Say if "high" is the highest integer your compiler can access and if low is any number greater than zero then mid goes out of range and causes overflow problems. :O :O
Solution: Do (high/2 +low/2) or low+(high-low)/2
Come to think of it: While implementing many other array based divide and conquer algorithms like merge sort etc, we do the same to get to the center of the array.
Caution :Don't take the average.
Friday, 28 May 2010
Romeo and Juliet
Romeo:If the world was to end today and we were the last two people to be consumed into a sea of artificial intelligence, would you still want me?
Juliet:Objectively??
Romeo:Yes , because love, care,longing is just a chemical imbalance,causing a dispersal of electrical signals in our neurons giving us lag periods which provide moods like "i wanna work", "i wanna relax" creating statistical processes which give name to our outcomes like success and failure at the end of the day,you wanting me is you moving towards a greater state of imbalance.
Juliet:I still do, cause that's the only thing that keeps the process random, the fact,that am capable of loving,its what answers the age old question of indeterminacy the debate between free-will and destiny.
Love separates free-will from destiny.Love towards your work ,family,friends or for those few minutes of life left with us.
I don't want a predictable life, I want to love.
Thursday, 20 May 2010
Sufified
Friday, 30 April 2010
The "FRIENDS" Conundrum
Sunday, 7 March 2010
My favorite poem, truly inspirational.
Ulysses
Alfred Lord Tennyson
It little profits that an idle king,
By this still hearth, among these barren crags,
Matched with an aged wife, I mete and dole
Unequal laws unto a savage race,
That hoard, and sleep, and feed, and know not me.
I cannot rest from travel: I will drink
Life to the lees: all times I have enjoyed
Greatly, have suffered greatly, both with those
That loved me, and alone; on shore, and when
Through scudding drifts the rainy Hyades
Vest the dim sea: I am become a name;
For always roaming with a hungry heart
Much have I seen and known; cities of men
And manners, climates, councils, governments,
Myself not least, but honoured of them all;
And drunk delight of battle with my peers;
Far on the ringing plains of windy Troy.
I am part of all that I have met;
Yet all experience is an arch wherethrough
Gleams that untravelled world, whose margin fades
For ever and for ever when I move.
How dull it is to pause, to make an end,
To rust unburnished, not to shine in use!
As though to breath were life. Life piled on life
Were all to little, and of one to me
Little remains: but every hour is saved
From that eternal silence, something more,
A bringer of new things; and vile it were
For some three suns to store and hoard myself,
And this gray spirit yearning in desire
To follow knowledge like a sinking star,
Beyond the utmost bound of human thought.
This is my son, mine own Telemachus,
To whom I leave the scepter and the isle
Well-loved of me, discerning to fulfill
This labour, by slow prudence to make mild
A rugged people, and through soft degrees
Subdue them to the useful and the good.
Most blameless is he, centered in the sphere
Of common duties, decent not to fail
In offices of tenderness, and pay
Meet adoration to my household gods,
When I am gone. He works his work, I mine.
There lies the port; the vessel puffs her sail:
There gloom the dark broad seas. My mariners,
Souls that have toiled, and wrought, and thought with me
That ever with a frolic welcome took
The thunder and the sunshine, and opposed
Free hearts, free foreheads you and I are old;
Old age had yet his honour and his toil;
Death closes all: but something ere the end,
Some work of noble note, may yet be done,
Not unbecoming men that strove with Gods.
The lights begin to twinkle from the rocks:
The long day wanes: the slow moon climbs: the deep
Moans round with many voices. Come, my friends,
'Tis not too late to seek a newer world.
Push off, and sitting well in order smite
The sounding furrows; for my purpose holds
To sail beyond the sunset, and the baths
Of all the western stars, until I die.
It may be that the gulfs will wash us down:
It may be we shall touch the Happy Isles,
And see the great Achilles, whom we knew.
Though much is taken, much abides; and though
We are not now that strength which in the old days
Moved earth and heaven; that which we are, we are,
One equal-temper of heroic hearts,
Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield.
Sunday, 14 February 2010
Dreams development lifecycle!
Monday, 21 December 2009
Friday, 11 December 2009
Adios another year!
Tuesday, 1 December 2009
In the name of the best within us
"In the name of the best within you, do not sacrifice this world to those who are its worst. In the name of the values that keep you alive, do not let your vision of man be distorted by the ugly, the cowardly, the mindless in those who have never achieved his title. Do not lose your knowledge that man's proper estate is an upright posture, an intransigent mind and a step that travels unlimited roads. Do not let your fire go out, spark by irreplaceable spark, in the hopeless swamps of the approximate, the not-quite, the not-yet, the not-at-all. Do not let the hero in your soul perish, in lonely frustration for the life you deserved, but have never been able to reach. Check your road and the nature of your battle. The world you desired can be won, it exists, it is real, it is possible, it's yours."
Sunday, 22 November 2009
Thought block
Sunday, 15 November 2009
Halloween
Tuesday, 3 November 2009
Invictus
Friday, 30 October 2009
My current research pursuits
Sunday, 6 September 2009
Intution
Monday, 31 August 2009
Self Obsessed
Wednesday, 26 August 2009
Guilty.
Monday, 24 August 2009
Travelogue:NYC
Friday, 21 August 2009
Life is not measured by the number of breaths we take, but by the moments that take our breath away-I
Monday, 16 March 2009
Could not find installable ISAM.
There are 3 ways to do this using C#:
1)Add a reference to the Excel Object library and use the Accessor class.
2)Use the data binding mechanism already provided in Visual Studio.
3)Use the OLEDB class to run SQL queries on it.
If you are a lazy programmer who hates writing too many lines of junk code and who would rather spend a bit more time in figuring out an easy way of doing things then the first method strikes out, itz a lot of functions and a lot of properties.
The second one is the easiest to implement and use but gives you almost no flexibility.So that one is crossed out too.
I personally liked and implemented the third approach why?? simple easy instinctive.
An excel sheet is a like a database,every sheet inside it is like a table and the name of the header is like the name of column.
So if I have a an excel sheet called Jobs.xlsx where first sheet is called Emps and i would wanna have the employeed ids which is the 5th column and has a header called ids, I just have to say:
[Select ids from Emps$]
Here is the sample code:
string conn = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + @"D:\s.xlsx" + @";Extended Properties=""Excel 12.0 Xml;HDR=YES;""";
OleDbConnection connection = new OleDbConnection(conn);
connection.Open();
OleDbDataAdapter dataadapter1 = new OleDbDataAdapter();
OleDbCommand cmd = new OleDbCommand("Select * from [Sheet1$]", connection);
dataadapter1.SelectCommand = cmd;
DataTable tbls = new DataTable("aa");
dataadapter1.Fill(tbls);
DataRow dr = tbls.Rows[1];
object[] obj = dr.ItemArray;
So because I had done this earlier, so I just sent over my code to my colleague.
The code crashed in the 3rd line:
connection.open();
>.NET exception:Couldn't find installable ISAM.
Whoa itz running on my machine then why not his and wat the hell is ISAM, huh.
The first thing that we do when something puzzles us is search:
But guyz here don't look at the results returned by the search, it will talk about unchecking just my code in System properties,it will talk about two Jet OleDb providers present in your machine blahblahblah.
The remedy is just check your Connection String.
If you have problems with connection strings which probably every developer has u can visit,http://www.connectionstrings.com/
The connection string is consumed first but validated later by the compiler, and when it does it doesn't know what to do as it doesn't have a base value to validate with probably.So what does it do, pops out the last message from the error queue. HUH.
It's funny even today in the age of super duper compilers and debuggers we still have errors and exceptions which are handled so badly.
Tuesday, 30 December 2008
Saapnon se bhaare naina, toh neend hai na chaina
For a very long time since "Sarfarosh", I was a die hard Aamir khan fan and admired him for the fact that he probably was the only honest story-teller in bollywood.He still is, but i guess i have fallen for someone else's charm.
Just heard the songs of "Luck by chance".
Pure Nirvana.Period
Anyone else joining the Farhan Akhtar fan club.???
Wednesday, 3 December 2008
Who the hell is invisible?
Disclaimer. Period.
Back to bashing.
Do u sometimes wonder as to who among your friends are currently invisible on their Gtalk account. For beginners, the invisible option doesn't show up on your gtalk chatting client, it only shows up when you login through ur gmail account and use the cloud gtalk.
Well,now am gonna tell u a simple trick.
1) Login to gtalk.
2)Go to settings
3)Go to the Notifications tab.
4)Check the box, show friend when online.
From now on whenever anyone logs in u get a irritating message saying "Jackass is online."
Sometimes or rather many times it also shows people who are invisible .
I have checked it with multiple accounts and with some other friends of mine.
Well am not the one who found it first, lotza other people have noticed this too.
I strictly cannot predict how to reproduce this bug,coz it doesn't work many times.But yeeah, i do know most of the times, the names of some those who are invisible.
Just a piece of code which might be hitting a global variable by chance. That's my take.
Wanna be invisible still??

