Noetics?


9:58 pm. Sunday the 27th,2009.

He was busy reading The Lost Symbol. It had been long time since he had been so engrossed in a book. It told him a fascinating idea about the power of the mind. "Like matter, the thoughts in a brain also contain mass. This 'particle' if focussed correctly could be used to alter physical matter..."

His concentration was suddenly broken when out of no where two loud speakers started singing loudly and rather annoyingly. He tried his best to ignore it. "Thus if the mind is trained well and made to focus on a particular thought, it can be used to affect the outcome of an event. While this may seem like advanced magic it.." Darn loud speakers, he thought. What the f*** did they ever actually accomplish. "..has already been mentioned in the ancient literatures itself. One only needed to see the Vedas or the Bible or any other similar text. They say the same..".Arr how I wish they shut the loudspeakers.And just like that, the loudspeakers started malfunctioning and was forcibly switched off.

"Our fore fathers have always believed that the mind held supernatural po..".Wait a minute. Did I just shut the loudspeakers using my mind. Did that happen because a lot of minds in my area thought the same?.Maybe I do possess super powers,his heart said. You need to get some sleep, said his intellect.

Note : To know about noetic science, read The Lost Symbol or see theintentionexperiment.com

See C

Well having attended a few C debugging contests, I found C can get very interesting even at the very basic levels. Here is a few questions that are worth understanding if you got any interest in C :)

*)First is the simple printf statement. Consider
int i=5;
printf("%d,%d", i, ++i);

If you guessed output as 5,6 - sorry.

Thing is printf first evaluates all the expression from RIGHT TO LEFT before printing the actual values. So actual answer would 6,6.

*)Now the comma operator. They always asked questions involving this. I didn't even know what it meant till I saw this.

*)The playing with increment/decrement operator. Consider
i=5;
j=i+++++i;

If you split the second line as j= (i++) + (++i) and calculated the appropriate value, then congrats, you made the same mistake as me :)
Seems it actually gets divided into (i++) ++ (+i) so it becomes an invalid expression.

*)Problem is to print "Hello World" without a single semi colon in the program :D

Now I thought of macros,recursion,function calls blah blah blah but as always the answer was one hell of a simple solution.
Just put the printf statement in the if condition or for/while condition thing and job done :)

*)The mother of all C questions :D
int a,i=5;
int *b=&i; //Creating pointer to i
a = i/*b;
What is value of a?
If the answer 1 popped up in your mind (after all we divided a value by same value), ha ha ha! Compile,run and see :D

Naming Convention

It always makes me wonder how people can mess a name as simple as mine. Let me tell you what I mean.

My EDC mam thought my name was Sai Shankar.
HOD thought it was Shankar.
EDC Lab mam thought it was Sai Saravanan.
So did the other sec boys for sometime. :D
Apple lab mam thought it was Sarvesh Gautham/Sai Vignesh.
uP sir thought it was Sowmya Narayan.
OS mam thinks(still :D) it is Sai Krishna.

I even had a boy from the other sec come to me and ask earnestly "Dei unnoda unmayana per ennada?" Lol!

Note : My real name is Sai Santhosh :)


Shift+Delete


I have a drive full of movies. And soon I ran out of space. So I decided to remove few movies. Cars got shift+deleted. Next was Angels and Demons. But this popped out an error. "The file does not exist in the system" or something very similar to that. I tried deleting the folder again. Same error. I restarted my system. The error didn't change. I couldn't understand what was going on. How could the file not exist??? I mean, it was right in front of my eyes.

I googled and found many strange solutions for this strange error. I tried many of them but in vain. I tried to create a rar file out of it and encountered same error. Yet the movie inside the folder ran perfectly fine. This kept me wondering for a few days. Then I did what I always do under these circumstances.

Restart. Go to Ubuntu. Mount the media. Now I tried Shift+Deleting the file. Angels and Demons was deleted successfully. What Windows failed to do, Ubuntu accomplished without a fuss. Ofcourse I still don't have a clue why that error came. But from experiences like these I have learnt something.

If something doesn't work in Windows, try in Ubuntu.
If you want to do something, try Ubuntu.
If it doesn't work in Ubuntum it's not worth doing.

Ode On Friendship



When I was born, I inhertied my family
And all my childhood it was all I had;
I can't forget how times passed happily,
For I always had my mom and my dad.

Then as time passed new problems awoke,
I knew not how to speak on this to them;
Then something called friendship arose,
I felt like I was on the world's helm;

I know now that friends are not inherited
And that you gotta be lucky to find real ones;
To lose them would make our hearts devasted,
For they show us the reality of life's essence.

With friends around, one can rule the world,
Atleast that is what they can make us believe;
All my life around me they have swirled,
I only wish to repay them before I am to leave.

IV To Ooty :)

Just a small poem about my dept IV. I haven't gone into any specific details of the trip, just an overview :)





The IV started on the 9th of July,
Into the sky did the crackers fly;
Our industrial visit was to Ooty,
For it was finally time to party!

An hour before midnight we started,
Into two big buses were we seated;
The drive at night didn't scare us,
Cos all the dancing made it no fuss.

It was drizzling when we saw our hotel,
Ah, the chilling climate had a lot to tell;
All day we were shivering under the sky,
Yet somehow all our moods were on a high.

All the places we saw had their own view,
I cannot fathom how fast the time flew;
We all danced to tunes, even the shy ones,
The questions session involved many a puns.

With many sighing hearts did the buses return,
The trip to ooty cannot easily be forgotten;
The co ordinators had done one hell of a job,
Remembering reguar classes all I can do is sob.

Square Root Of 3

This is a direct rip from the movie Harold and Kumar Go To White Castle. It is a poem recited by Harold in the climax. I know it sounds geeky but hell, I like it :)

I fear that I will always be
A lonely number like root three
A three is all that's good and right
Why must my three keep out of sight
Beneath a vicious square-root sign?
I wish instead I were a nine
For nine could thwart this evil trick
With just some quick arithmetic
I know I'll never see the sun
As 1.7321
Such is my reality
A sad irrationality
When, hark, just what is this I see?
Another square root of a three
Has quietly come waltzing by
Together now we multiply
To form a number we prefer
Rejoicing as an integer
We break free from our mortal bonds
And with a wave of magic wands
Our square-root signs become unglued
And love for me has been renewed.