About JanLokpal, Anna and misinformation

A lot of shoddy articles are doing the rounds on Anna Hazare and his motives. A case in point is this article

1. That the Lokpal, as envisioned by the civil society team, will have para-judicial powers of all 3 arms of the govt. This is misleading as the Lokpal will have the same powers as the CBI does in bringing the case to court. If you have differences with the version produced by Mr. Hazare’s team then you have been given the opportunity and the means to read the proposed bill and give feedback and suggestions. I doubt you have used the means at your disposal and yet you questions and level allegations without having the decency to do you bit to stop corruption. Instead what you seem to suggest it do nothing and let the situation be. Inaction this time around would be akin to treason and in clear violation of our Fundamental Duties as citizens of India (yes, there is something called Fundamental duties).

2. Also that Hazare expressed support for Narendra Modi and Nitish Kumar. I take offence when you club Mr. Kumar with Mr. Modi. It is an insult to use their names in the same breath. I respect Mr. Modi as he is a Chief Minister of a state and has done admirable work in governance and development of his state. People continue to hark on Godhra and the Gujarat riots but they forget the good that has been happening after it. They prevent the Muslims of Gujarat from becoming part of the mainstream and keep them solid as a vote-bank for so-called secular parties. We are supposed to be a socialist, secular democratic republic. This implies that no party and govt organ should invoke caste and religion for votes. Yet governments and parties openly woo vote banks of caste and religion, either in the form of reservations or in the form of the fear of the hated enemy. In this case, the very enemy of the minority in Gujarat is their friend who is bringing about development and reducing corruption. It is time we let the minorities develop a free and open mindset devoid of fear and propaganda.

It is foolish to say that when Anna commended Mr. Kumar and Mr. Modi on their governance, he also supported Mr. Modi’s non-governmental deeds. I have seen the news clip in question and it is a sad commentary on your skills as an articulate citizen. Whoever does good governance should be applauded and feted in a time of mis- and non-governance in India. Granted that the way Mr. Modi came into power was controversial but what he has done since is nothing short of commendable. Whom would you prefer, someone with a murky background yet committed to development and clean governance or the current dispensation who do exactly the same things or even worse in the garb of secularism but never deliver anything substantial?

Mr.Nitish Kumar is the most respected and clean politician in India who has changed Bihar from the mess of Congress-RJD. We always blame Mr. Lalu Prasad for the mess that was Bihar but we always forget that Congress supported all his policies throughout his tenure. Mr. Kumar is a politician whom India would be lucky to have as our leader. He has initiated reforms at the grass-roots level, streamlined the police, reduced political interference, locked up criminals and created an enabling environment for Bihar to rise fast. He does not indulge in religious and casteist politics, uses development as the barometer for the voters to judge his government. His government has pioneered in the use of technology for efficient delivery of services to the poor and by connecting all district HQs to report to the CM directly each day. He has pioneered a bill to seize the property of corrupt officials so as to deny them the unfair lure of money that often influences investigations and courts judgments. This has broken an important link in the chain of corruption. There is lot to be learnt from his methods and ideas.

3. People all around say repeatedly that ‘an overhaul of the system‘ is required. This is just the sort of shoddy fence sitting that has led to our current corruption malaise. You only identify the symptom and say that the symptom must go but never bother to point out the how and wherefore. JP proposed a solution but no one followed it. Now Anna is doing something and instead of joining in a constructive debate, you are resorting to character assassination. I had hope to read a well researched article on the nexus between Anna and the ruling class but have ended up reading lame-ass shit that only points fingers. Please get your facts right assuming that you are an affected member of the general public and not an ass-licking stooge like Mr. Digvijay Singh, Mrs. Ambika Soni, Mr. Chidambaram and PM Singh.

4. I do not know about Anna’s exploits in Ralegaon-Siddhi, what I have read in various articles is what you have stated so I will not dispute this point, but I have sufficient faith in the people and myself to not support Mr. Hazare in case we see the ‘casteist, communal and patriarchal‘ policies emerging out in the open.

Schindler’s List and related thoughts

I watched Schindler’s List recently. To many this may come as a surprise considering that it is a film that has been generally acknowledged to be one of the best. This is the precise reason why I hadn’t seen it earlier. Such critical acclaim and multiple recommendations raise my expectations too high. To be honest, this level of expectation is unfair. The film was great, it now ranks as one of my favourites after Jaane Bhi Do Yaaron and alongside Lakshya, DCH and Pyaasa. But that is digressing from the point. The film showed what human nature is all about, how compassionate and caring it can be and how selfless can man become. The events shown in the film are historically true. Such a camp, factory and man did exist. The town is also still there in Czech Republic though it is listed in Wikipedia as Svitavy even though the film shows it as Brinnlitz.

But this blog entry is not about the film, it is about something more important, more manifest; this one is about human nature. The film shows the main protagonist as one who is kind at heart, but as I was watching the film, this question was coming up in my mind repeatedly, are human beings really so compassionate as to risk their lives, career, reputation and more for the sake of others? I mean, it is difficult for me to believe that humans can be so selfless. I am not a skeptic, I like to believe in human beings, in the inherent good qualities of human nature, I believe in believing in others till my faith is proven misplaced. I was not always this skeptical but recent events have made me into one.

What are those recent events that have changed my view? Good question, but the answer to which isn’t forthcoming. I am just expressing my thoughts. One may argue that not all human beings are such. Well, when the time comes we will know the true nature of every person and not always is the reconstructed picture rosy. One thing is for certain, I will never be the same person again, I have undergone a profound change, may not be for the best but I am hoping that I never have to go through such a harrowing experience again.

Uncompressing files

Install unrar command

Under Debian Linux, you need to type apt-get as follows to install unrar program:
# apt-get install unrar

If you are using Fedora core Linux then use yum command as follows (see discussion below):
# yum install unrar

If you are using FreeBSD, use:
# pkg_add -v -r unrar

If any of above, methods is not working for you, download binary package from official rarlab site:
$ cd /tmp
$ wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz

Untar file
$ tar -zxvf rarlinux-3.6.0.tar.gz

Both unrar and rar commands are located in rar sub-directory. Just go to rar directory:
$ cd rar
$ ./unrar

Now copy rar and unrar to /bin directory:
# cp rar unrar /bin

How to use unrar

unrar command supports various options below are common options that you need to use everyday.

Task: To open rar (unpack) file in current directory type command:

$ unrar e file.rar

Installing Applications from Compressed Files

i v just copied and pasted from another site and is for reference

This question comes up frequently on the Linux_Newbies list. There are various commands that work, so if you’ve heard something different, and it works well for you, then use it. There are variations of commands that one person, such as myself, uses more out of habit than anything else.

RPMS are packages compressed using the RedHat Package Manager (ergo, R P M). Both KDE and Gnome have graphic interfaces for installing RPMS, however, some folks seem to have difficulty using them and of course, one feels more like a Linux ace if they install via command line.

I am only going to cover the RPM, tar.gz tar.bz2 and tar.Z formats here. Slack and Debian have their own formats–for example, with Slack, you can use installpkg, but any distro will work with tar.Z, tar.gz and tar.bz2 files. (NOTE: Sometimes tar.gz files have the extension .tgz and tar.bz2 files may have the extension .tbz. This comes from the days when there were more limitations on file name length and calling something .tar.gz already used up 5 characters.)

RPMS are the simplest. First get your RPM, either by downloading it, or perhaps, by using the distro’s CD. For example, the RedHat 7.1 CD includes a variety of packages in a directory on both CDs named RedHat/RPMS.

Many packages have to be installed as root. So, if you get permission problems in trying to install something, simply log in as root to do so.

We’ll use openssh as an example. I don’t know the current version number off the top of my head, but let’s say it’s 2.7-9. If installing from CD, it’s easiest to first change your working directory to the RPMS directory–otherwise, you’ll have to type the full path, which, in RH 7.1 would be /mnt/cdrom/RedHat/RPMS/openssh-2.7-9. In the following example, we change to the RPM directory on the CD and install. (I’m assuming you’ve already mounted the cdrom–if not, the command

mount /dev/cdrom

usually works.

cd /mnt/cdrom/RedHat/RPMS
ls openssh*

(this will give you the version number and let you know if you might need or want other related packages such as openssh-clients)

rpm -Uvh openssh-2.7-9

You will then get a message that it’s preparing, and see hash marks as the package installs. At the end, hopefully you see a message that it’s installed.

The above rpm command is my habit. U means upgrade–this way, if I already have an earlier version of the package, it will be upgraded. If I don’t have the package on my system, then it will simply be installed. v is for verbose, to give me any messages that might be helpful during installation and h stands for hash marks, giving me a visual indication of progress. I find this combination works best for me.

tar.gz and tar.bz2 files are installed slightly differently. First, I’ll assume that you’ve cd’d over to the directory where the tarball is. Again we’ll use openssh-2.7-9 and assume we have a package called openssh-2.7-9.tar.gz.

tar ztf

will list the contents of the tarball. Now, we’ll decompress and untar it. Note that tar commands usually don’t require the – in front of the options. (This might vary with your version of tar.) That is, you can do tar -zxvf or tar zxvf and either one will work.

tar zxvf openssh-2.7-9.tar.gz

You’ll see various things happening on your screen as the tarball is unpacked and unzipped. (A quick note on this–if there is nothing else in the current directory named openssh then you could simply use tar xzvf openssh* and lazily avoid typing out the version number).

If you now do

ls

you’ll see that you still have openssh-2.7-9.tar.gz and a new directory called openssh-2.7-9. (The flags we added did the following: The z decompressed, or unzipped, if you prefer, the file, the x then extracted its various parts. The v is for verbose, helpful if there are errors and f is for file.) If you now cd to the new directory and do ls, you’ll see a variety of files in there. One of them will be called README. It will give directions of how to install the package. (It may simply direct you to read another file called INSTALL that is often included.) So, to view README

less README

From there, each package is different. A typical sequence of commands might be (but DO NOT try this one without reading the README as other packages have totally different commands)

./configure
make
make install
make clean

If the file is a tar.bz2 rather than tar.gz the process is almost the same. However, instead of typing tar -zxvf filename.tar.gzyou would type

tar -jxvf filename.bz2

From there, the rest of the process is identical to installing a .tar.gz as mentioned above, beginning with the step of cd’ing to the newly created directory.

With some distributions of Linux, they’re using different versions of bunzip2 and this won’t work. You will get a message that j is an unknown option. If this happens, then try again with y.

tar yxvf filename.bz2.

One of these should work, but if neither does then

bunzip2 filename.bz2 && tar -xvf filename.tar

The bunzip2 command decompresses the file. The && means that if the command completed successfully, then perform the following command which in this case is the tar -xvf. (As mentioned above, extract the various parts of the file, with the verbose and file options).

So, once again using our openssh tarball, it’d be

bunzip2 openssh-2.7.9.tar.bz2 && tar -xvf openssh-2.7.9.tar

Lastly, though they’re becoming less common, is one with a .tar.Z extension. In this case use

uncompress filename.tar.Z && tar -xvf filename.tar

Once again, you’ll have a new directory of the filename without the .tar.Z extension. CD to the new directory and follow the instructions given above.

Note that there are also non-tarred files that are simply compressed. If you have a file called file.bz2 and do tar -jxvf on the file you’ll get an error message that it’s an inappropriate file type or the like. If the file is called file.bz2 rather than file.tar.bz2 then just decompress it with the appropriate program. If it’s a .bz2 file then

bunzip2 file.bz2

If it’s a file.gz then substitute gunzip for bunzip2 and if it’s just a .Z then the command is uncompress file.Z

From time to time, you might have to open a Microsoft .zip format file. There are zip and unzip utilities. In FreeBSD they’re in /usr/ports/archivers/zip and /usr/ports/archivers/unzip. I think that they both install the other as a dependency, but I wouldn’t swear to that. Most Linux distributions also have these two utilities available.

Lastly, you might need to know how to collect and compress the files. Lets say you have a bunch of great bash scripts that you want to send your friend as a tarball. They’re all in a directory called bashscripts. Again, there are various ways to do it (and some that might be simpler than this) but, like everyone else, I have my habits. So, we’re in the directory that houses the directory bashscripts. You’re going to tar it into a file called scripts.tar and then compress that file into a tar.bz2 file. (I haven’t compressed into a tar.Z in a long time–most distros have bzip2 and gzip, so the following should work)

tar -cf scripts.tar bashscripts && bzip2 scripts.tar

(If your browser broke that, it should be on one line)
If you’d wanted to make a tar.gz file instead you would substitute gzip for bzip2.

tar -cf scripts.tar—this gives the name of the new file, which consists of the files that you tarred together. bashscripts is obviously all the files in the directory bashscripts. && means that if the command completes successfully, go on to the following command. bzip2 compresses the file (as does gzip). When you’re done, you’ll find that you have a new file called scripts.tar.bz2 ( or scripts.tar.gz)

The other way to do it, at least with most versions of tar (check the man page to see if it’s supported) is to compress it as you’re tarring it. This can be done with the j y or z option. In FreeBSD, at least, one has to put the j before the cf or it doesn’t work, for example

tar -jcf scripts.tar bashscripts

If you do it the first way, tar -cf scripts.tar && bzip2 scripts.tar the .bz2 suffix is appended to the filename, so you would automatically have a file called scripts.tar.bz2. If you do it the second way, with -jcf then the file will be called whatever you chose to call it—in this case, scripts.tar. Doing a file scripts.tar will show that it is a bzipped file. You can manually add the bz2 suffix or call the file that in the original command, e.g.

tar -jcf scripts.tar.bz2 bashscripts

(This can also work with the -z option.)

That’s all there is to it. This should get you started.

Be-title

Kuch dino se [shayad kaafi dino se] I have not written much or anything of consequence but today is a new day [or night should I say] and by a happy coincidence I was presented with food for thought by a bunch of bloggers themselves .

I am not what you would call a regular “Geeky” blogger and even though the things I do in my daily life are classified by most as geeky I hate to write anything technical. I mean to say that my blog is a reflection of my personality . It is very easy to form a mental picture of what a person is like by looking at his writings . The purpose of writing a blog is to be able to put your thoughts down in writing.

Power from salt

Read an scientific article today which promised that we could one day generate power from salt . Now thats something new … I mean how easy and simple would it become if we were to generate power from such a source . Reading this article I could not help but notice a parallel in history.

I believe power was generated from salt way earlier , real , manifested , coercive power which brought an entire government to its knees . This power was produced from salt , one of the basic needs of life , which was used as a weapon to subdue an entire populace . I am talking of the SALT SATYAGRAH of 1930 .

Caught in the cycle of birth and re-birth

Why does man get so attached?? So much so that he’s afraid of change?? Why do all good things have to end??

What is the ultimate purpose of life?? What do I seek from life?? What is MY purpose ??? What is the reason of my being??

Some pertinent questions for which I have not yet found any satisfactory answer … Plus why did I start thinking on these lines for is it not that one must do his KARM without worrying about the outcome ?? But then again any work or action without purpose is useless , there’s got to be some justification [not those served up by William].. so here I am at a crossroad in life thinking about why I have done things in a certain way , trying to put things into perspective , trying hard and yet not succeeding…

Microsoft Test

well aaj test tha .. hame topics jo bataye gaye the were Data Structures , Algos , C/C++ but we were asked  questions from Operating Systems and DBMS as well.. proper type lagi … uspar se pehle paper me itna kam time diya gaya ki kya kahu ,… C?C++ ke liye half an hour … wat were they thinking when they decided on the timings … so raha tha koi pakka

well OS and DBMS ko maine revise bhi nahi kiya tha .. hadnt dreamt of those parts as possible topics par pooch diya gadho ne .. so kya karen test kisi tarah diya … ab room par biatha hoon blog likh raha hoon ..

In B’lore

aaj subah B’lore pahucha … Chas came to pick me up .. these guys are living in a flat in Yelahanka … kal exam hai aur main ne ab tak kuch nahi padha hai …. koi asar bhi nahi lag rahe ki padhunga …. well timepass karne aaya tha , wahi kar raha hoon …. din bhar kuch khaas nahi kiya .. soya .. ek film dekhi … HITMAN … ab sone jane ka hai … kal subah test hai … hoping for the best .. well as always main ANANT ASHAWAADI HOON