Thursday, January 20, 2011

The Robin-Hood syndrome

Glancing back at the year 2010, a few characters keep on coming to my mind. And these characters seem to be bound together by an eerie similarity. Eerie because at first sight these characters do not seem to have the remotest connection to each other and yet all of them seem reincarnations of a particular person.

Before talking about the similarity itself, I must introduce people with those characters itself. Not that 2010 is limiting factor to this list of characters, because some characters who share this similarity are from distant eras too.

Since we have to start somewhere, why not with an easily recognisable figure like Julian Assange. He created probably the largest ripples in international diplomacy and the international media by becoming the defiant face of Wikileaks – a website that has become a milestone achievement in exposing the internal machinery of governments. In the eyes of law though, he is guilty of “espionage”. (I’m keeping the Sweden cases out of picture here because they are not relevant in my piece).

Another international character who figures in my list is Mark Zuckerberg, the founder of Facebook. The Zuckerberg I’m talking about here is the one we can see in the film The Social Network, the guy who begins with a plan of taking revenge on his girlfriend and ends up creating the world’s most popular website in a single night, that too when he was totally drunk. The real Zuckerberg as far I know is not totally like it has been portrayed in the film, but not too different as well.

Prabhakaran also is another character from my list. For those who don’t know, he was the founder and face of LTTE. The LTTE, although militant in it’s way of operation and thus termed as “a terrorist organisation” in international forums, was basically founded with the objective of getting Tamils their deserved rights.

A person with similar objectives inside India itself is Kishenji, who can be termed as a leader of all “naxalites” and “mao-badi” people in central and east India. He and his people are responsible for deaths of innumerable people but their fight also initially sprouted out from a demand for rights, opportunities and economic support which the state took too lightly then and now is paying heavily for. Kishenji has been has stated on the national media that he himself condemns such killings and that it is not that he ever directs his people to take innocent lives.

Talking about Kishenji brings me to Beera Munda. Didn’t click?? Arre yaar, Abhishek Bachchan’s character in the movie Raavan. The film of course is no great piece of art, but it brings to us Beera, who is certainly an outlaw but one who cares for his people. My list of characters also contains another person played by Abhishek Bachchan, Guru Kant Desai, from the film Guru. (oh, did it strike you that both have same directors and same co-stars too?? But Guru certainly scores more than Raavan as a film). Guru is a fictional character but is heavily based on the life of a great industrial pioneer and entrepreneur of India – Dhirubhai Ambani. Guru Kant Desai does rub the government the wrong way (by cheating the national exchequer millions of rupees) but ends up making a whole family of shareholders richer by a gold mine.
Bollywood films are often based on lives of such legends. Once upon a time in MUMBAI is another such film. Sultan Mirza, the character played by Ajay Devgn, is an almost perfect portrayal of Hazi Mastan on screen. The defining dialogue of Sultan Mirza in the film i.e. “I only smuggle goods banned by the government not those banned by my conscience” sums up his character in a single sentence – the antagonist with a conscience. (The film does not have a protagonist at all).

Vivek Oberio plays another such “based on real life” character, Pratap Ravindra / Paritala Ravindra, in Rakht Charitra. (albeit with much more blood and gore). Another villain with conscience, and very much like Sultan Mirza, is slain by the other villain who does not have that conscience.

This year’s biggest (probably biggest ever) commercial success was Dabangg, a full on “masala” flick, with the typical ‘hero’ (yes hero and not protagonist. Such roles are called ‘hero’ roles. Protagonist is just not the right word for it). Chulbul Pandey is a funny man indeed. He finishes off the bad guys, but he himself is no Miss Goody two shoes. He takes bribes, dances with a ‘chokri and a botal’ and does not know how to respect his father, but he is the ‘good guy’ of the film no doubt.

Lalit Modi. So where from does he jump in?? Well, you see, the names in my list have no relation with each other except that ‘eerie similarity’ they share (about which I’m going to say just a bit later). But anyways, wherever he jumped in from, he certainly gave us IPL – a brand with which the world recognizes Indian sports industry. It took sports related entertainment to totally new heights. On the way though, Modi misplaced a few thousand crores here and there as if he were carelessly arranging his wardrobe and misplaced his shirts here and there.

Other people who happen to be included in my little list are Bhagat Singh, and his contemporary reincarnation Daljit a.k.a DJ (from the film Rang De Basanti), who ends up assassinating the corrupt defence minister of the country.

So is this similarity that I’m talking about?? On asking it to one of my classmates, he said “They all were corrupt, they all did wrong things.” Now that is an extremely negative approach to it. The fact is that all these people are protagonists rather than antagonists. These are those people who have certainly flirted with the wrong side of the law, but have been on the right side of their conscience. And most importantly, they did not break the law only for personal gain, but for the gain of community at large, and that is what that makes them stand out from other ‘outlaws’.

I had started thinking about this from the last few weeks. In fact this similarity between these varied characters actually struck me while watching a film last month – Robin Hood. After watching the film, these characters, not even remotely related to each other in any way, suddenly started to make sense as a collection of very similar people. And the common factor in them is what I call “the RobbinHood syndrome”.

I’d read Robin Hood long back, at a time when I didn’t know most of these characters I just talked about. This time around, watching the film, all those names kept coming into my mind all the time. These are just reincarnations of Robin Hood, some fictional, some real. The outlaw who works for the people, the guy who breaks rules only for the good of all, but ultimately he is the good guy only, the protagonist, the hero no doubt.

If you have any doubts on them being the good guys, then contrast Gurkuant Desai with someone like Ramalingam Raju of Satyam, or compare Sultan Mirza with his successor Shoaib Khan (modelled on master gangster Dawood Ibrahim), or try to see the difference between someone like Beera Munda and someone like Veerappan, or see how Mark Zuckerberg is different from some petty cyber-thief or hacker.

It is very important to understand that doing something good while staying totally within the system is often not possible. The system and the law after all have been created by humans only, and what is right and what is wrong may have different definitions in different laws, but remaining true to the conscience is the most important characteristic of the protagonist. Often someone has to break free from the shackles of the system and take steps in order to save the system itself from collapsing.

What gives birth to a “RobinHood personality”, we can never say. It might be extreme oppression, poverty or even a strong desire of revenge, and sometimes just a crazy streak. But people with the “robinhood-syndrome” can be found on every page of history, and everytime a need arises, a robinhood-personality will be born I the future too. For that matter, even Yudhishthira, famous for his impeccable integrity, had to lie to Dronacharya about the death of his son just in order to win the battle of Kurekshetra.

I highly doubt the existence of the ever virtuous hero who takes the straight path to his goal. Often shortcuts have to adopted, so called ‘unethical’ manoeuvres have to be executed, but why should we worry if the ultimate result is in for the good of all? Breaking out of the system for personal gain might be the trait of the antagonist, but if the gain is for the society as a whole, then certainly it is a virtue of the protagonist instead.

The "purpose" behind it

I am a student of science and I strongly believe in the cause-effect theorem. Nothing in this world happens without a cause and almost everything has an effect on other things too. Often incidents and people I come across in my daily life try to seriously challenge my strong belief in this cause effect theorem. Often I am actually forced to ask myself the question whether a purpose, a cause, or a necessity is always the driving force behind whatever we see? But even more than that, what I do experience is that the notion of purpose itself has so different meanings for various people. Often a perfectly valid reason for someone might turn out to be a totally flimsy one for somebody else.

Let’s take the case of art itself. If we take a really materialistic outlook to our lives and the society we might find that the existence of art itself is purposeless. A person whom I know very closely (I’m not naming him here), is as anti-art as it can get. He is always looking for the bottomline out of everything. Believe me there are many such people out there. People who believe that listening to music, or watching a movie is a total waste of time if you do not learn any broad message from it. They are a stark contrast to those art loving people who are involved in the world of art purely for the pleasure of it.

But if I really try to reason out everything in materialistic terms it will be very easy to come to the conclusion that nothing other than agriculture, hunting, fishing etc (ie the primary sector) has any real significance or purpose. Millions of years ago when man first evolved on earth, he in fact had no job other than scavenging for food. As a matter of fact, any other animal, except human beings, are concerned with only these few needs – food, water, shelter, reproduction.

We humans on the other hand have so many other needs. And each time a need is fulfilled, five new ones arise. When men could easily gather food and still had idle time left over, they considered making clothes. In followed utensils and weapons. And slowly slowly the list kept on increasing. Of course it’s no big deal surviving witout cellphones, computers, internet, maybe even automobiles and electricity, but no one is going to try that out I guess.

Still the question remains unsolved. Why art? Are cinema, music, painting as important as automobiles and electricity? No one can answer definitively, but my opinion is that yes, art is definitely very necessary in our lives. Please don’t ask me to prove it, because that will be asking too much out of me. (And I cannot actually prove it with proper reasoning and logic). As a matter of fact art originated much before other technological advancements. There are thousands of years old cave paintings and other evidences that indicate towards the fact that art existed even at a time when man should not have wasted time on drawing stupid shapes on the cave walls and instead devoted more time towards more pressing issues like “development” or at least “improving agriculuture”. If we consider the proverb ‘Necessity is the mother of invention’ then we also have to accept the fact that there must have been some inevitable ‘necessity’ that man had to ‘invent’ art forms. And this necessity has been around right since humans have existed. But actually putting a finger on that necessity is very difficult. Only those who are intimately entwined with art can feel that ‘necessity’, but no one can describe it in words.

There are many other aspects of our society that prove beyond doubt the existence of that necessity. The fact that cinema captures the imagination of millions, the fact that paintings are often auctioned at skyrocketing rates, the fact that the whole world hums the latest chartbuster music are all proofs that art is certainly a necessity, with or without the message it may contain.

Yes, we can very well do away with art and still survive as well. But then similarly we could also do away with electricity, automobiles and packaged food. (Because these things enhance our ability to survive just as much as art does). You can of course get away with one, or two, or even  ten days without listening to music, seeing movies, appreciating paintings, reading or writing literary pieces. But then don’t you think you can do away with tubelights, your car, chocolates too?

Art is not something that always is required for any materialistic fulfilments, or to learn morals from. It is just needed. And it is best not to go hunting for “the purpose behind art”.

Saturday, January 15, 2011

Hacking a MapmyIndia Roadpilot

Okay, so I got my hands onto a RoadPilot (a navigation device offered by MapmyIndia)
Before Dad could install it in his car, though, I did a little "experimentation" on it.

let's have a look at the device

It's small, but don't be deceived by it's size. I connects to 5-6 satellites in a flash and navigation is crisp and clear.
Powering it on will show you this screen.
Then you have two options. Navigation or Settings
I click navigation. (Sorry, the camera was not very stable .... couldn't contain my excitement you see)
So this is how the navigation screen looks like. (off the shelf software "Mireo GPS Black Edition 3.1, which is used on almost all navigation devices over the world).
That's all fair till now. But what grabbed my attention was a little label at the back of the device which proclaimed "powered by Windows CE 6.0". Which essentially means that underneath this navigation actually lies a windows operating system. An embedded system is like this. It runs on windows, but the manufacturer locks it onto some particular application of their choice, so that when the device is powered on, only the manufacturer's application can be run, and windows cannot be accessed.

Now I was determined to hack it. I got some vague search results from google. One particular post about hacking an ALTIS Navigator (the European counterpart of mapmyindia) did give me a head start on how to start hacking it. But essentially there is nothing much on the net about hacking GPS devices. So I set out own my own path, with all the risks that come along with it (like ending up with a bricked device and earfuls from my dad).

Well, let me make me clear, that there are lots of difficulties on the way. With freaks like me in India, MapmyIndia have taken a very safe approach. The device cannot be synced with the PC. It can only connect as "USB storage device". So that essentially prevents you from accessing the operating system of the device remotely from your PC. I'll go into the details later. First, some tools are needed to be downloaded from the net to get started with.

First download Tascal Registry Editor
Next, take an SD card, (empty would be better) an fire it up on your PC. Some files are needed to be transferred.
Extract the contents of the downloaded Tascal thingy into your SD card
Next extract the files of TRE.ARM ("arm" because this device in my hand has an ARM processor)
The files that you find inside that archive all end with .001 .002 .003 type of extensions. rename all to .exe
One of them will turn into an icon. Bingo. That's what we want. That's the executable. (It won't run on your PC. It will run on the device only)

Next is the tricky step. (Sorry, almost all my tutorials on this blog somehow end up having one "tricky step")

What we basically need now is to somehow open the explorer. Create a file inside the SD Card called "shell.ini" (without the quotes of course) This file directs the device to open the an application on startup.
Type \windows\explorer.exe into notepad and save the file as shell.ini and save it into the sd card. (not into any folder. just outside, in the root directory of the sd card.) This how we trick the device into opening windows-explorer.


What we need next is a taskmanager. Yes, the same thing that opens up when you press Ctrl-Alt-Del. In Windows Embedded it is not there natively. We need a third party software. Download it from somewhere. Same as with Tascal, extract the files and and rename the ARM files into exe.

So these are the files that should basically be there on the SD Card.
(strongARM is not Neil Armstrong's grandson or something if u started wondering that. It's just another type of processor.)


What we do next is put the card into the device. (If you are not an atheist like me, then you might consider praying to god a bit after doing this step, though my hacking experiment went well without prayers. Becasue here you set rolling an unstoppable wheel in motion. After this step there is no stopping. Now you just have to complete the hacking procedure)

Now power up the device. On the screen that comes click navigation as usual.

Nothing out of the ordinary till now??? Well the extraordinary starts happening from here. As soon as you tap on navigation, instead of navigation software, the windows taskbar (the thing with start button and all) pops up at the bottom. Well of course provided you followed my shell.ini instructions clearly then only.


Now take out a stylus from somewhere. The next few steps will need precise tappings. Not possible with your fat fingers. (What did you say??? Your fingers are not fat??? Really??? How fast do you type messages on a touchscreen mobile huh??? Very fast??? Ok then... as you wish... go forward with your finger... Don't blame me if you end up pressing wrong places)

Open programs>>explorer
That will take you to My documents folder. Explore your way into the SD Card and open that taskmanager.

Here is the taskmanager. Now close all gps related processes like gps.exe, navigator.exe etc etc

Don't dare close any other processes. I have no idea about Windows Embedded Processes, it may spoil your system. Once the processes are closed, you will find the good old desktop found on any windows device.
Isn't this just amazing??? Almost like a windows XP desktop right on your little palmtop device.
Now open tascal registry editor. (another tricky step in my guide, any mistake here and you have a dead device)
And change the launch settings as mentioned in the picture below (steps 2, 3 ,4 and 5)

Now let's explore a bit here and there.
Our little device has a "virtual onscreen keyboard" to type texts. (Where did that guy go who said his fingers were not fat??? Go and type your name on this keyboard with those thin fingers of yours if you can!!!)

Now a little exploration brings me to the folder where the actual navigation software exists. Here have a look at it. (mapmyindia_navigator.exe)
Create a shortcut of that application on your desktop.

So you have a Windows Powered PDA at your service (albeit without SIM card and phone functionalities, but nevertheless very useful) So your device that could earlier only navigate you can now be used to view photos, listen to music, play games, view word and excel documents and do much much more....
All you need is to download appropriate software into your SD card and put it into your device. Picture Viewr, Mplayer, WordVu.... the list is endless.


***A very important note
I have no idea how to get the device back to it's original state. You can try re-editing the registry to automatically launch the navigation softwares again. But whatever, I've not tried doing those things. So don;t ask me if you end up in deep shit trying those things.


anyways,
HAPPY HACKING!!!!!
-with best regards
ChampionSwimmer

Saturday, January 8, 2011

Making Corn (the perfect "home-alone" recipe)

So you are alone at home and you open the fridge (purely out of habit) and find a kilogram of corn (maize kernels if you like) lying there. So what can you make with it??? Need help??? Here I am at your service. Facing a similar situation, this is what I ended up doing last week.



 Transfer the kernels into a microwave safe bowl. If you are a hygine freak (unlike me) then please use latex gloves.

Now this is minimum cleanliness... So pour some water into the bowl, rinse it well, and let the water run off into the sink.
[CLICK READ MORE TO READ FULL POST]

Total Pageviews