2009

Normally we download Sun JDK installation binaries and install them. Then we configure the PATH environment variable to point to our JDK installation. But some times there will be conflicts between the native gcj and Sun JDK. So it is always better to install Sun JDK through debian repositories.

But unfortunately, the Debian repositories have Sun JDK in non-free repositories and do not always have the latest JDK.

So this is how we can install the latest JDK natively on Debian.

Steps to be followed:

1. We have to download the JDK or JRE binaries (a .bin file) appropriate for our architecture.

2. Then we have to create a .deb package from the Sun JDK binaries we have downloaded

*Requirements:

a.Install java-package which will help us to convert the Sun JDK .bin file to a  .deb file installable on Debian.

b. Install fakeroot.

3. Then do as non-root user,

fakeroot make-jpkg <Sun JDK binary filename>

If there is an error like ‘Plugins not found’ or similar errors, it means that the version of the Sun JDK you are trying to install may not be supported by ‘java-package’. Fortunately, there is a work-around for this:

Edit usr/share/java-package/sun-j2sdk.sh like this:

Add the following to that file:

"<Your Sun JDK/JRE bin file name") # SUPPORTED
j2se_version=1.6.0+update<version>${revision}
j2se_expected_min_size=130
found=true
;;

at the end of the list of similar directives for various versions of JDK/JRE and save the file.

Now repeat step 3 and it will not give the ‘Plugins not found error’ and a .deb package will be created with some warnings which you can ignore safely.

4. Then install the .deb file as a root user by the command:

dpkg -i <generated .deb file name>

5. After the JDK is installed, we have to configure the installed Sun JDK as the default JDK. So we use the following commands:

update-alternatives –config java

This command will show a list of Java installations available (including gcj) and prompt for a choice.

Choose the choice which corresponds to your Sun JDK installation. In my case it was something like this:

/usr/lib/j2sdk1.6-sun/bin/java

Now your Sun JDK installation will be the default JDK. 🙂

I have got so used to life with Internet at college that when at home without hi-speed internet connectivity, I feel so uncomfortable. I can’t check emails very frequently, I can’t download stuff, I can’t google and find out answers, I can’t do this and I can’t do that etc.. Life away from the Internet now seems so alien to me and without google I only feel half alive.

When at home I have to go to nearby browsing centers to surf the internet at moderate speeds, whereas at college I have unlimited, free, hi-speed internet round the clock which I am so used to using. Life without Internet seems so different and eerie, but I do realise that I live a more orderly, proper life at home without Internet connectivity than at college.Of course Internet is a great boon and an unlimited reservoir of knowledge and information, but most of the times I am so immersed into the Internet that I spend too little or no time for other essential things.’

Thus, the stay at home is kind of a welcome break for me from the Internet and I do realise now that such breaks are really good for me than bad. So I am shelving my plan to get a broadband Internet connection at home for now, so that home remains home!

This year has been so tortuous for me with regards to academics and the trend clearly reflected in my results of the 6th semester exams. I scored 8.39 GPA, my lowest ever! This semester subjects involved a lot of memorising and writing loads and loads of pages. Unfortunately for me, I am miserably poor at memorising stuff. I can write pages and pages of stories, but even that is inhibited by my small handwriting due to which I write in 1 page what my friends write in 2-3 pages. So memory-wise and pages-wise I had a severe handicap. Also I didn’t do my internal tests properly which resulted in poor internal marks which virtually ruled out scoring above 90.

In fact, my highest internal mark was in ‘Numerical Methods’ subject at 25/30 which tells a big story in itself. The subject was one of the enjoyable ones in the semester and we had our beloved Dean who taught us so wonderfully that we didn’t realise the semester ended and the course for that subject was over. Hats off to the great man!

I didn’t do the exams well as my preparations weren’t there at all. I am happy and relieved that I didn’t fail in any of the subjects which would have been a big indelible blot that would have affected my life totally in all possible ways. Even in the last semester, I had noticed the beginning of the downfall but I didn’t do anything about it. Even in things that were in my control, I went astray and out of control and as a result, the results are there for all to see.

I am getting more and more interested in the real learning rather than what & how I learn in college courses. Being a server administrator in my college helps me learn a lot of wonderful things than the things which I can’t memorize from the book and reproduce verbatim in the exam.

All this apart, I have to pick myself up from the free fall I am in and score some very good marks to satisfy myself and all my near dear ones and of course for a better career.
Luckily for me, my CGPA has not gone below 9 and I am glad about it as probably this is the CGPA which I have to enter in my resume when I face placement interviews in this semester and immediately after this semester hopefully.

chart

On 13 May 2009, I participated in the democratic process of the world’s largest democracy. The election process has become so cliched and ripped apart by the insatiable politicians that electors feel in fool’s paradise only till they cast their vote. This time I cast my vote and felt somewhat emotionless and empty. Come whatever may, the political parties will woo the voters during the time of elections and make political issues out of anthills and bend truth as they wish and create so much of a ruckus to fool the normal ignorant Indian voters.

The moment the results are out, we get to see a different persona of the politicians. I can’t help feeling like crap as whomever I vote for, even if he is going to get elected, is not going to any good at all or the good-bad ratio is going to be hopelessly bad for the good things.

So when a provision like ’49-O’ was present, I was hopeful that many people could use it to express their displeasure at such a meaningless exercise called ‘General Elections’. But unfortunately, the voters have to fill in a form and submit it to be able to cast a ‘Do not wish to vote for any of the candidates’ vote, which is starkly against the secret ballot system being followed in our country. An individual casting such a vote can be at mortal peril too as his choice of vote is not a secret.I heard rumours that a button for ’49-O’ option will be present in the EVM itself from the next elections, I don’t know if it will be implemented and even if it is implemented, how effective and useful it will be is a big question.

The political parties try to woo the voters by showering them with illegal bribes and compete fiercely with competing parties. It is no longer the agenda of the parties, what they have done for the people and what they promise to do, that matter, but only the damn money! In a world where extremes like counting more votes than polled happens so silently and easily, bribing voters is absolutely normal and sane.

The ink mark on my nail hasn’t vanished yet and it is still dark and black looking to stay on a lot more days. It will go off in some time, but our nation is getting newer indelible and permanent blackmarks every instant that people like me tend to lose faith in democracy. I can’t help feeling that good-bad ratio is far more better in cases of a monarchy or a dictatorship rather than “Democracy”

I wanted to install OpenSolaris 2008.11 in a machine that had 512 MB RAM which is just about enough to install and use OpenSolaris. But to my misfortune, GNOME Desktop environment took too long to load from the LiveCD and the system hung up every time I tried starting the installation. I was irritated and wanted to try the Text mode provided in the LiveCD and wanted to see if OpenSolaris has a text-based or ncurses-based installation available but to my misfortune, it left me at a login shell beyond which nothing happened. On googling, I found out that OpenSolaris doesn’t yet have a text-based installer and there were a few workarounds that were given like ssh X forwarding which was Greek and Latin to me and I couldn’t do it either.

So I decided to post this issue to BOSUG and immediately Moinak Ghosh, the man tirelessly and enthusiastically working for Belenix replied by telling me how to start the installation without loading the GNOME stuff at all and it worked perfectly. Here are the steps.

1. Boot into Text mode in the Live CD.
2. Login as user ‘jack’ in the login prompt that appears. (password is jack)
3. See if there is a .xinitrc file in the home directory. If there is, delete it.
4. Type the command ‘xinit’ and it will start X with a terminal.
5. Click on the terminal and type the command ‘pfexec /usr/bin/gui-install’ and the installer will start fine.

Thanks to Moinak and BOSUG for letting me know about such a way to install OpenSolaris on machines with just about enough RAM. With this, I was able to install OpenSolaris 2008.11 on a lot of machines.

“FOSSConf will focus on new users and contributors to FOSS together with advanced learning sessions. People can improve their knowledge and gain experience in speaking on and presenting FOSS related topics” – so says the official FOSSConf website (http://www.fossconf.in).

Yep, this year’s FOSSConf was held at my college and the organizers were the ever-enthusiastic and cooperating ILUGC, my college FOSS Community and NRCFOSS. Last year, FOSSConf was held at MIT, Chennai and with feedback from the organizers of that event, we at TCE, had valuable feedback about the issues faced and areas to improve.

Sun Microsystems sponsored the prizes for the Quiz contest to be conducted during FOSSConf and myself & Venkatachalam designed a web application for the Quiz contest.
There were a lot of technical talks from expert speakers and budding students and there were also demo stalls on various FOSS technologies and FOSS projects. Perfect arrangements for the same had been planned and made well in advance.
We had thousands of visitors throng FOSSConf and participate in Tech-talk sessions and visiting the demo stalls.

Since I was held up with organizing Quiz contest, I was unable to involve myself much in other activities. Here I must thank Venkatachalam for creating the web application for the Quiz contest in no time at all and without him, the automated quiz would not have been possible at all. Hats off friend!

I wanted to attend a lot of tech-talks but could attend only a couple – Parallel Programming by Mr.Rajagopal from Yahoo and Badam Halwa of Embedded Systems by Mr. Shakti Kannan and they were excellent and interesting to say the least. Amidst all this, I also conducted a Ubuntu installation session for the audience.

FOSSConf 2009 was a great learning experience in terms of FOSS, team work and organization and I would cherish it forever.

I will soon post the link to the FOSSConf 2009 gallery here.

Here is something I scribbled some time back! 🙂

உன் கண்ணில் நீர் வழிந்தால்
என் உதிரத்தில் இனிமை கலக்குதடி
காதலி துயருர இனிமை காணும் காதலன்
மனிதனல்ல மிருகம் என்பார் யாவரும்
அவர்களுக்கு எப்படி தெரியும்
என் இனிமை என் விஷமென்று?

I have been going through an emotionally turbulent period of time where there are wild swings in emotions. One of the main things causing all this misery is the feeling of being used by someone so mercilessly with a precision a surgeon might envy with his surgical tools. It became obviously clear where my position is among the people whom I live amidst.

People have the tendency to be selfish and self-centered. But when it goes to this bad an extent, I can only rant in helplessness. But the feeling of being used, kills all the sanity inside me.

I have been in worse situations and this seems to top all those and itself every day that I can only gasp for breath.

In these testing times, it is only my fault that I got myself into a big big mess with my schedule, academics and the most important health – mind you I am a diabetic for the past 3 years. And my health is going nowhere but to shatters.

Distressing times such as this, make me think a lot of drastic things like thinking about breaking out of all the shackles and the commitments and living a stress-free life that I want to live. Another thought in me thinks that I should pay back the people causing me this misery in the same coin. But alas, sanity butts in and prevents me from degrading to such cheap levels of behavior.

I am just waiting with “This will change” in my breath and guarded optimism which is helping me survive in this merciless one-heck of a world!

I have been spending all my time by doing wrong things at the wrong time, hence I missed out on a lot of things that I like to do and reading books is one of them. My ‘to-read’ book queue had been building up into a monstrous one and as I too was fed up with the routine life, I decided to read some books for a change. I got my hands on Chetan Bhagat’s famous three – Five point someone, One night @ the call center and Three mistakes of my life.

I started with One night @ the call center the day before yesterday. One thing which I immediately felt after reading a few pages was Chetan Bhagat’s style was so similar to the of R.K. Narayanan’s (whose immortal Swami and Friends is one of the best books I have ever read). Very simple and easy to understand language and the plot always goes in a way that we are able to relate something with it. R.K. Narayanan was a genius at that and Chetan Bhagat is a really good one at the same.

Even though the story wasn’t a path-breaking or a mind-boggling one, I still enjoyed reading it because of being able to relate to a lot happening in the story. Five-point someone was slightly better than One night @ the call center coz the plot was over a longer period and the protagonists were students fighting their ways through their college lives like me. :-).

I was tempted to start reading Three mistakes of my life straightaway, but when I was a few pages into it, I realized that I having an overdose of Chetan Bhagat and hence was unable to get myself into the story or enjoy it. So I decided to push it to some time in the near future when I am cured of this very enjoyable Chetan Bhagat overdose. 🙂

Status update: March 6, 2009 – I finished reading “Three mistakes of my life” today and I could conclude that it was the best of the three novels in most ways, but still I couldn’t help feeling cliched about the way Chetan Bhagat has portrayed the female lead characters in all his three novels whereas the male protagonist is shown in an entirely contrasting light.