Numbers to the soul’s rescue.

When was the last time you were not happy getting more marks?

When was the last time you were not happy getting more number of hits on your blog?

When was the last time you were not happy having more number of friends on facebook?

When was the last time you were not happy getting two chocolates than one?

When was the last time you were not happy you could do 10 push ups than 5?

When was the last time you were not happy getting more points while playing tetris?

————————————————

Those questions make my point pretty much. However, this is not just a number line with whole numbers only. We’re considering integers. As such,

When was the last time you were happy seeing your high hospital bill?

And as for that matter your electricity and telephone bills crossing a threshold?

When was the last time you were happy seeing millions had died in a catastrophe?

————————————————

We attach numbers to almost everything we do and the higher the value, the stronger our emotion regarding it is on the ‘happy-sad’ integer number axis. The questions I’ve written in the first part lie on the positive x-axis and as the numbers go up, it means we’re having more fun and enjoying our lives.

On the other hand, the questions in the second part lie on the negative x-axis and as the numbers go up, we get sadder. So our soul reacts to the events that take place around us depending on the numbers we have attached to it.

It might be alright if we just don’t take that for granted. There is the natural tendency of high numbers indicating strong emotions. But putting more thought into it is sure to give shades of gray too than just black and white.

Time, the fourth dimension.

During my 12th standard, I had a teacher by the name of Arun Kumar. A cute and charming person dedicated to teaching and family. He used to give us free times in the class now and then so that we could discuss with him and the whole class about any sort of weird ideas that we had.

I still do not remember how this “weird” idea came to be in my mind, but it did and I did ask him about it. (Hola! I suddenly remembered! I had read the book “Time machine” by “H. G. Wells” and I think something of the sort was mentioned in there)

My teacher was not a very highly educated person, but he loved to know how students thought and he encouraged us thinking out of the circle. He told me he had heard about such a thing during his college days but had not looked into the matter much. But he did push me to find it out.

But somehow I dropped the idea.

Now after all these years, it comes back to me all of a sudden when I was talking with my Professor at college about how much time I was actually wasting in the name of “attending classes”.

But coming back to the point, is time a dimension? We use dimensions in order to represent an object or plane right? If we need to represent a square plane, we need to have two axes minimum. But the thing is, the square existed in this world when we represented it. It existed for an amount of time while we were busy representing it with two axes.

Suppose we used x and y axes for representing it. Then just like saying that the square doesn’t have existence without either x or the y axes, we can say that the square can’t exist without time either. So time is a necessity for representing anything and everything. So shouldn’t it be an universal axis? Maybe that is the reason why we don’t use it explicitly in order to represent things.

Even though I researched about the matter, I’m trying my best to not any Wikipedia information interfere with my thoughts on the matter. For this is science and we all have a say.

As such, the question of ‘what is time?’ becomes confusing. Is it just a measurement standard that we use to specify the occurrences of events in our lives? I mean just like we use mass to represent the amount of substance within an object? Or is time something that has an existence of its own waiting to be explored by us?

My thoughts on the matter have reached this point and I’ll be carrying on with it later. After all, I need more time.

When the tide flows your way.

This is a real life experience related by my dad to me one fine night. I jotted it down and made up into a story as best as I can. My dad is the narrator.

———————————————————–

I was sitting with my father along with my brothers. We were very poor and were very lucky if we got anything to eat for supper at all. One day, we were fortunate enough to get a bowl of rice soup each for supper. By the time we were starting, we heard a knock at the door. My father opened the door and there stood a very weak and thin man shivering with cold. He begged for some food.

My father, without saying anything to him or to us, welcomed him in and poured a fraction of soup from each of our bowls into another bowl and offered it to him. He drank it with much gratitude. Finishing it and then praising, blessing and thanking us with all his heart, he went away.

Naturally, out of curiosity, we all asked father who he was. Our father replied:

“Children, I’ve started working for my livelihood since I was five years old. And one day, when I was so full of hunger and exhaustion, I went and begged one of the owners of the shop for some food. He treated me very kindly. Instead of giving me food, he gave me five or six lashes with his whip and made me run for my life. And do you know what is the most interesting thing that has happened to me over the past few years? It happened just now. The man whom I gave food to just now was that shop owner’s son.”

Campus life.

He came to his first day at college finally. A long time had he waited for this day. Nervous, a bit too tensed and above all, with many a memory he craved to re–live again, he took his books in his hand, let go of a deep sigh and lugged his somewhat unwilling legs out of his room slowly. With each step he took, his heart grew only heavier. He was finally back where he wanted to be, but was this how he wanted to be back? Will any of those old moments come running back to him? He had no clue.

“Well”, he thought, “things can’t be all that worse”

As in a dream where we live for almost double the time than in the real world, his ten minute walk to the class seemed to him a lifetime.

The trickle of water from the ruined tap in the courtyard out front seemed to him now like an ever flowing stream that took with it all the joy, sadness and the whole life of a kid with it from the moment he set his foot in that place.

As for him, his yacht had sailed down it already and went into the depths. He smiled at the thought of once pushing his birthday buddy into it and camouflaging him. But fortunately for the birthday boy, their Principal came to see them loitering around during class time and they got busted while he lied still in his camouflage.

He was nowhere near reaching his class while finishing these thoughts. Just two or three steps had he taken.

The steps seemed much more heavier for him to take now. Unexpectedly, he saw his two worst enemies coming right at him. But the usual shudder did not come back up his spine. Instead, he saw himself going out to meet them.

His thoughts were cut short by a call. “Hey newbie, having trouble finding your first class?”

It was one of the teachers who had helped him through his admission. They had grown to be quite close friends in a short while. “I’ll manage on my own”, he said with a smile.

Things seemed weird around him and his mind almost grew blank. Thoughts of his own seemed too much of a luxury now. He remembered the silent lad he was. And how the teachers used to tease him just for the sake of it.

He had never even once complained about it. But the scars that he accepted were never to be healed.

How he once was made to sit in front of the class mimicking sitting in the toilet. How that day all of his so called “friends” laughed and how none of them stood up for him.

He was an entertainment tool.

How he was caught and made to strip by a bunch of his drunken seniors…

All made it clear to him the one thing that gave people the kick of doing things. Power. And he had it right now.

Fire in his heart and mind, his nervousness dropped away and his limbs moved faster.

He almost reached his class and could see the students sitting there. It reminded him of chickens in a slaughter house.

He got in the class and all the students sat in their places. He was the boss now. He was the teacher.

“I am your new teacher”, said he and he said in his mind, “and boy are you guys going to suffer”, with a grin.

In the name of love.

One of the few ‘perfect’ songs that I have come across. U2 has never stopped at anything or stuck to any specific rules. Its always trying and trying with them. And a few of those songs that came out during their disciplined follow of music are just wonders. Always a song that raises my spirit. Hope everyone enjoys it! 🙂

Heal the world.

When the world doesn’t make much sense and I try to put things in perspective, I look for a common denominator. And what better option is there than trying to make the world a better place to live? Even if only words, this song does inspire. For a life that has lost its innocence, Michael Jackson surely soothes the mind with his music. A lovely song.

Captain Majid.

Actually called Captain Tsubasa in Japanese, it was an anime football cartoon. It was dubbed into Arabic and I met the hero as Captain Majid when I was in gulf. I loved this guy just more than anything in the world and I would actually pray to God day and night to let me see him just once. (Oh those were the innocent and sweet times. 🙂 ) I would lie down and dream going to places with him, playing football with him… I was such a kid. 😉

The music below is from the Captain Majid 8-bit game for the NES. Its actually a compilation of all the musics in the game and I love each one. The game was no different for our family too. Me, two of my cousins, Hafiz and Afsal, and my brother have devoted dedicated time to the playing and finishing of the game. Of course, the game was purely either in arabic or in japanese. Japanese I say! But none of that stopped us. We played and we won! Lots of memories of my childhood are on this one game. I always feel good when I think about those days and also when I hear the musics… 🙂 Here it is for you!

http://www.youtube.com/watch?v=xgJm4-lAKj4

Golden Sun – The Lost Age.

This is from a game called Golden Sun for the Nintendo Gameboy advance. A lovely game with a storyline that brought tears to my eyes at the end. A superb adventure over weyard! The following music is from the second part called ‘Golden Sun – The lost ages’. It is played while our team travels the world map when the game nears its end. Really epic. 🙂

Iku ze! I’m back!

Those first two words are spoken by Kyo Kusanagi, a character in the gaming series King Of Fighters.

After two weeks of nothing but exams, I’m back on the road. Let’s get going.

First of all, there is going to be a lot of reorganization because I plan to take down a few pages and make them categories instead. So I’ll have to post them and your inboxes are going to get flooded with my posts. Please do not mind that for a while.

Thank you!

Quito San.

“Disgraceful, I call it!”, shouted Agronak.

“What is the world coming to these days? 200!”, and he fell silent. The court members were petrified at his rage. None dare raise their voice when Agronak was in rage.

The draft rustling the leaves was to be heard along the room. Small and faint murmurs coming from the incube room was also audible. But none moved. Three years had it been since they established their stronghold and things were only becoming worse for them.

After a few moments of silence, Agronak raised his voice again.

“Note it my trustworthy companions! 200 is no meager number. Reports have come in from the Amazon that our brothers had almost felled a whole village! But here we are sitting, lost to us 200 young bloods on a scout mission at the hostel. Pah! No respect for the ecological balance do these pathetic humans have…”, He again fell into deep thought.

At the beginning, they had seen people from the hostel drawing and leaving pools of water behind it. Very soon they understood that the humans referred to the actions that they were doing as “vashing”. Whatever it was, the water they left behind was plenty during all seasons and a few meters away, a lot of junk food and waste were available. Agronak had found out pretty soon that all this garbage was laid behind quite a big room referred to by the humans as “mess”. He wondered how literally it should be taken.

Anyhow, the place was apt for their spending. And they had established their stronghold behind the hostel. Three years had it been now and Agronak had risen to the top in ranks. His military tactics and training was what had kept them running over the years. But time was running low and he had thought of making Rijkar his heir. However, he was in doubt now as the last day’s 200 deaths was not a meager issue. Their existence was threatened and it called for drastic measures. He feared for the worst… A deal with viruses!

Without concluding his words, Agronak went away. It was long before he came back. He went to the incube room and saw his most precious responsibility. The eggs. He walked among them. A king walking beside his loyal disciplined subjects. He knew not what their part in this was nor their fate.

He went back to the council and gave his final orders. “Hear me out my loved ones! For a long time have we dwelled here peacefully prospering. But I’m afraid that time must end.”

“We have done well on the part entrusted to us. But so many have died among us due to their poison gas and hand slaps. Oh! The humiliation! But no more. We either fall or we stand. We have to make a final stand for our lives.”

At this there rose a small murmur all along the castle walls. Especially the women were a bit louder. The sudden announcement of war had filled everyone with both excitement and anxiety. Suffice to say, most of them were in a confused state.

“Silence!”, roared Agronak. “We are a battling race. We live for blood and we shall die for it. We fight to survive!”

At this, a loud war cry rang out from the loyal subjects. “Long live Agronak, long live Quito San!”

Then a song broke out.

“Day and night, do we go

to war, to war, to war we go.

We strive for blood,

till we’re dead.

To war, to war, to war we go.”

As soon as the song fell silent, Agronak’s voice thundered. “Let the preparations be made. On the night of the third from today shall we leave.”

A few young ones had come out of their eggs that day. Agronak, along with Rijkar, went to meet them.

“Welcome aboard my lads! How feel all of you?”, said Agronak in a fatherly tone.

“We are fine sir Agronak. Ready for training!”, shouted all of them.

Agronak let out a contended laugh and said, “Well, well, well, it seems you have already been briefed by Umbrug. Very good. And since you are already in such excitement, I won’t keep you waiting. You shall be trained by Rijkar here. Learn fast and well children.”

“Aye sir Agronak!”, said they in a chorus.

“May your stings be pointed”, wished Agronak

Just as he was about to leave, Umbrug, the guard of the incube room came running and said, “Oh Agronak, hail be to you. I wanted them to be ready as soon as possible. That’s why I had briefed them.”

“You did well Umbrug, my dear friend”, said Agronak as he walked away.

That night, Rijkar got a chance to train his newly entrusted troop. Some fellow had come from the hostel at a rather late time for “vashing”. Rijkar told his comrades, “Hear me out my lads. That thing is our target”, pointing to the fellow. “What you should beware of is his two limbs hanging from either side of his body. They have small spike like things called “fingers” at their ends. And once these spikes bend and forms a grasp and you are inside it, then God have mercy on your souls. However, from my experience, which is considerable, I have seen that most of them are not skilled at using their fingers effectively. We can simply find our way out from between them. But do not take that for granted.”

He reamined silent as if in deep thought and then continued, “But all things considered, what you should fear for your lives is their manoeuvre called ‘slap’. They use their limbs to slap you and in almost from one shot from any of them, you’ll be sent to kingdom come”. He grinned at this as he was aware of his troops fearing somewhat.

Rijkar explained to them about how to inflict maximum damage.

“Watch their necks. The veins there are your best bet. Of course, you can find it all along their body. But in most other cases, it will be covered by fat. And take care because once you penetrate their dermis with your sting, you’ll have to wait for a while before you can pull out your sting and that is usually when the slap comes. So watch out!”

“Let us spread out and do some damage! Oh. And one more thing. If you wish to have some fun, you can always buzz around their ears. Its actually quite funny to see what all they do just to get rid of the sound we make.”

The theory classes were over. Now it was time for practical classes. Rijkar went and buzzed around the guy’s head first. The young ones laughed on seeing how the guy waved his hands around his head and shook it madly just to get rid of the sound. But Rijkar skilfully avoided being hit. Right when the guy had settled down a bit, there went Rijkar on to his leg and stung!

“Owwww!”, cried the human and down came his hands on his legs. Slap! But by the time the slap had come, Rijkar had returned to his troops.

“See? That’s the way to do it. Now go forth my lads! Let that guy have it.”

Rijkar remained where he was and sought amusement in the fact that how well the lads performed. It was almost as if the fellow was dancing. The lads were working as a team, not allowing the guy to concentrate on one area at a time. The troop had their fun along with their training for a while on the guy and then left him alone. All of them went back to the castle along with Rijkar.

Meanwhile, Agronak was walking around deep in thought. The plan had been laid. He was anxiously waiting for his scouts to return. He went to his room to find peace. There he was greeted by Daer-jaa, the Queen, his beloved.

Both of them were silent for a while. The reality of the situation weighed heavily on them more than on anyone else. War was in front of them and that night might be their last.

“My Rose…”, said Agronak softly. There was no need for words. All that needed to be said had been conveyed in one single look. Such was the bond between them. Both owed their lives to each other. They had turned the tides of battle together. They had led generations together. They had stood side by side in battles, as a pair not to be moved by any even though abandoned by all. Hope, they held strong till the end, and hope, had bound them together.

They sat together, hand in hand. Love was in their eyes. Slowly their old faces’ wrinkles disappeared. The energy back in the young strong days came flowing back through their veins. Determination swelled up in them. All the times they had been together were reflected in their eyes.

“I’ll be beside you as always Gronak…”, said Daer-jaa caringly. “I feel the end is not far and I’m not strong enough. Not strong enough to live without you anymore….”

“You won’t have to my Rose”, said Agronak. “If we’re going down, we will go down together….”

With a gentle hug, Agronak went back to the council chamber to spend a restless night.

“Sir!”, called Umbrug. “The scouts are back”.

“Send them in”, cried Agronak.

Three of the scouts entered and gave their reports which, fortunately, Agronak found was liking to his expectation. He bade his news-bearers a good night’s rest.

********************

The time had come at last. The field was bathed in the golden rays of the setting sun. The soaring eagles all had their fill and went to their sleep. The troop was amassed at the front of the castle and Agronak was in front of them.

“Here we are! To make a final stand! Here we go to avenge our loved ones’ deaths…”. Agronak’s voice fell. Then he continued. “It is to war that we are going my people, maybe not to return forever. Our destinies usually lie on the road we choose to avoid it. So are you with me?”, shouted Agronak.

“Sir, yes sir!!”, came the reply in chorus.

“I say are you with me!”, thundered Agronak’s voice.

“Sir, yes sir!!”

“Good, very good. Come on then my men. Forward march!”

The troop marched together in high spirits and at last came to the front of the gate of the hostel. The battle plans had been laid out among them that morning itself. But just when they were about to start their maneuver, a long forgotten sound was heard.

“Halt my friends! You are not without aid in this battle!”, said that voice.

Everyone turned in awe towards the direction of the voice. But to their astonishment, they couldn’t find the voice’s source. In this state of surprise, Agronak slowly went forward and raised his hand.

“Blessed be the day old alliances are made again! Long have we been on our own. But let us now welcome our oldest friends to join us in our battle. My friends, behold the Plasmodiums!”, said Agronak in a voice filled with both pleasure and respect.

“Hail the parasites! Hail the malaria!”, shouted the troop. When the shouting had died down, the owner of the invisible voice said again, “Go to your destinies my lads. Rest assured that although you cannot see us, we’re right beside you to do our job when you do yours. Death, to those who stand in our way!”

At this a new spirit cam flowing in through the troop’s veins. They were going to do this. Hope or no hope, fear or no fear, determination drove them for that was what Agronak’s presence brought along with the beautiful Daer-jaa.

The troop started their maneuver as planned. The veterans were assigned the second floor as high altitude attacks required much experience and composure. The other two floors were assigned mostly in random. Except one room.

The one room which Agronak had a personal vendetta against. The room in which he had lost his beloved daughter. The room 303…

After all the troops had taken their positions, Agronak along with Daer-jaa went forward to the front of 303′s window. The reason why he chose that room, was not spoken though known. The time was at hand.

“For our glory! For the glory of mosquitoes!!”, cried Agronak. “ATTACK!!!”

With this Agronak and his team went charging in.

“Let’s do this!”

The whole oncoming had not gone unnoticed. Most of the lights were on and many of the humans were up slapping and shouting. The war had begun. Screams and shouts were to be heard from everywhere.

Agronak and his team went forth. Just as when the battle was heating up, unsought help came. The Plasmodiums had not been idle. There came the dungue and chikun gunya viruses. Words were not spoken among any. But now Agronak knew what needed to be done.

Swiftly he flew and punctured the first one’s neck. The way was laid for their allies to do their work. And they did not fail to. The guy woke up with a shot and slap. But he was too late. The viruses had gotten in him. Agronak’s team was on a roll in the room. Three of the guys in the room had been infected. Now Agronak turned his attention on the next one. His blood boiled.

But just as when he was about to inflict pain, he heard a scream. He was pushed aside and there came a zapping noise. On regaining his senses quickly, he turned around. To his horror, he saw Daer-jaa falling! The reason hit him like .455 slug. The humans had not been idle. They had invented the zapping electric bats!

Agronak flew and got her. He retreated to one of the corners with her.

“Rose!”

“Gronak…”, her voice was feeble. “You must live for me… protect our children… I’m sorry my love. I won’t be able to keep my promise… I can’t be there any longer…. for you…”, and she fell silent.

Rage replaced all else in Agronak’s mind. He kissed his sweetheart one last time and flew back. On seeing him, the bat flew at him. He side stepped the attack. His troop was gone and only four in the room had been infected. The last and final one, the human who had stole everything from him, his wife and his daughter was yet to be infected.

Agronak roared, “Groarrrr!!” and buzzed around and around while the bat was being slung right at his tail. And at the final moment, the bat came straight for him. Death was in front of him. But he saw the small gap he needed. He, smiling, went directly through the gap on betwwen the net of the bat and went for the human’s neck.

Sting! The damage was done.

Now his attention was focused on his beloved’s dying wish. With the bats swishing and swirling, he dodged all of them and flew out. The war was almost over. The result needed to be waited for. There was no plan for a retreat. And hence Agronak went back to his castle.

********************

Two days later, there was news in the local papers : “Hostels shut down due to spreading fever”.

Agronak had seen the puny humans leave one by one. He knew his task was done. But his destiny was not yet completed. He foresaw what was going to happen and ordered an immediate relocation to the canal. But he had no energy nor motivation left in him.

But while the eggs were being packed up, his worst fear came true. There came the castle destroyers with their sprayers. It happened too quickly. Their castle was going to get sprayed with the toxin and that would mean the end of the eggs. He saw the only way out.

“Rijkar, arise and lead our kindred for my time has come!”, with this, he flew directly into the sprayer and blocked its nozzle. “Go now!”, shouted Agronak.

“Here I come for you my love….”, he said to himself.

The destroyer’s sprayer was blocked and he had to remove and replace his nozzle. But that time was all that Rijkar needed. He efficiently swapped up the eggs with his remaining troops and flushed themselves through the drain. Splash! Went they into the canal.

The destroyer had by this time replaced his nozzle and had sprayed away their castle. The war had come to an end.

********************

Thus ends the story of Agronak, the fearless leader. And in case you folks were wondering, I’m sitting with fever here right now and I’m the one who was the last to be infected in 303.

Hallowed be my name…

Hallowed be my name… 

 

I’m waiting in my cold room, when the alarm begins to chime,

reflecting on my past tries and it doesn’t have much time.

‘Cause at 1’o’clock, they take me to the exam hall,

the sands of time for me are running low.

 

When the sir comes to give me the papers,

I take a look through the bars at the last sights,

Of a sem that has gone very wrong for me.

 

Can it be that there is some sort of answer?

Hard to stop the surmounting terror.

Is it really the exam, not some crazy dream?

 

Somebody please tell me I’m dreaming,

Its not easy to stop from screaming,

But words escape me when I try to write.

 

Ink comes but why am I writing?

After all I’m not afraid of failing,

Don’t I believe that there never is a pass?

 

As my friends take me to the college,

Somebody cries from a room, “May bits be with you”,

If there’s a God, then why has he let me go?

 

As I walk all my leaves drift before me,

And though the end is near I’m not sorry,

Catch my hand ’cause its willing to write away.

 

Mark my words, please believe my will lives on,

Please don’t worry now that I have gone

I’ve gone beyond to see the truth.

 

When you know your time is close at hand,

Maybe then you’ll begin to understand,

Study leaves are just a strange illusion!!!

 

Yeah, yeah, yeah… Hallowed be my name

Yeah, yeah, yeah… Hallowed be my name

YEAH!

Hey there! My exams are just eight days ahead and I’m taking a short break of about 20 days from blogging. So just wanted to give you a short farewell. 🙂

And hey, the above song is not written by me. Its actually  a song by “Iron Maiden” called “Hallowed be thy name”. I just kind of raped that song with my own lyrics in between! Here is the actual song.

http://www.youtube.com/watch?v=J51LPlP-s9o

So long folks! Arigato!

Sayonara! 🙂

 

 

Sing me a lullaby lappy!

It is often the case you want to listen to some music before you drift away into deep slumber. Well, in order to do that, if you’re using your lap or phone, you’ll have to manually stop the music after a while. And that will be either at the time a nice sleep is at its verge or waking up in the middle of your sleep. But that’s not how a lullaby works, is it? Nope. A lullaby gets us to sleep, continues a little while after we are asleep and then stops. We are going to see how we’re going to do that with our computer.

Its really simple. As usual, I’m on my Ubuntu 10.04 while doing this and I’m assuming we are using totem movie player in the rest of this post.

We have already started the movie player and it is playing a list of our favourite musics. You have given the ‘repeat’ option and you’re ready for bed.

Since everything running on your computer is a process, totem too is a process and it will have its own unique process id. We need to get that first. We use the ps command for that which gives a ‘snapshot of the current processes’. We give an option -e to it in order to select and display all the processes and from that list, we grab (grep) totem by the collar. So this is how it will look:

haris@asylum:~$ ps -e | grep totem
 7315 ?        00:00:30 totem
haris@asylum:~$

That number to the left is totem’s process id. Now let’s say you want your music to last for 45 minutes assuming you will sleep within half an hour or so.

Run date.

haris@asylum:~$ date
Sun Oct  2 06:43:21 IST 2011
haris@asylum:~$

It is 6:43 now. Let’s say I want the music played till 7:30 and then totem should stop. There is a cool command called at. Here is a demonstration:

haris@asylum:~$ at 0730
warning: commands will be executed using /bin/sh
at> kill 7315
at> <EOT>
job 8 at Sun Oct  2 07:30:00 2011
haris@asylum:~$

That’s it. Now I can lie down to sleep and at 7:30 sharp, totem will be killed. Note that <EOT> is not typed into the terminal. You must press ctrl-d for that.

This is most useful when you have a torrent running and you don’t want to have your laptop suspended or shutdown for the night.

Otherwise you can use the shutdown command itself to have your laptop shutdown or halted after a specified amount of time. Its the trick we use while giving my 3 year old niece food. We use the shutdown command to make the computer shutdown automatically after 20 or 30 minutes and when it does, we tell her, “Oh, its a power failure. We’ll watch cartoons tomorrow, okay?” and gets her away from the monitor.

The shutdown command is pretty simple. If you want your system to be shutdown in say, 30 minutes, you do:

haris@asylum:~$ sudo shutdown -P +30
[sudo] password for haris:

Broadcast message from haris@asylum
    (/dev/pts/2) at 6:55 …

The system is going down for power off in 30 minutes!

You can hit ctrl-c to quit the order. The -P option is to power off. There are several other options. Refer the man page of shutdown for them.

Check it out.