Categories
Uncategorized

Tomboy Rocks!

Most of this post is going to be about an application called Tomboy. Here’s where to get it from.

Just got Tomboy running on my ThinkPad a couple of minutes ago. It is an incredibly useful application. I use it all the time on my desktop at work to make TODO lists, to jot down ideas, to paste snippets of code, and other similar things.

The beauty of Tomboy is the linking between notes. Here’s how I use links:
I create a separate note for a complex task in my TODO list. So I might have an entry in Thursday’s TODO that says “Merge the FooBarBaz daemon sources for AIX and Solaris”. Now I have a few notes to make about this particular task, but putting them in the TODO list will only clutter the list. So I create another note in Tomboy, title it FooBarBaz code merge, and make the above entry in my TODO list a link to this note! Once you get used to doing things this way, your productivity increases exponentially! Of course, YMMV, but if it doesn’t work for you, you’re not quite in the same league as I am! ;-)

The other way I use linking is to link to documents. So I have an entry that says “Finish section so-and-so of the FooBarBaz daemon design doc”. After typingthat line, I simply drag the actual file from within Nautilus to the note, creating a link to the document from the note. So now, when I click on the link, the document just opens up in LeafPad! Wonderful!

Two other great features in Tomboy are viewing recently modified notes, and searching notes. These are of particular use when you have a lot of notes.

Returning to the linking part, Tomboy’s author Alex Graveley is working on support for linking to all Desktop Objects, including Evolution Todos and Tasks, appointments, email, IM Buddies, image previews, and playlists. Once done, tomboy will be a killer app for the Linux Desktop. No doubt about it. Imagine creating a note, dragging and dropping music files/playlists to it, creating on-the-fly playlists, merging, cropping playlists from within notes on your desktop! Writing email into a note and posting it from within Tomboy! Creating a task and adding it to Evolution! The beauty of this application is the ubiquitious prescence of a note on the desktop, the ease with which text within a note can be manipulated. We are only limited by our imagination as regards what is possible with Tomboy.

Actually, I ought to switch to SUSE Linux 9.2 Professional from Novell Linux Desktop 9. Although the latter is a fantastic piece of software, and currently ranks as my Number One Distribution, it doesn’t contains a lot of the *-devel packages that I need to compile and install a lot of software. I doesn’t come with Apache, or MySQL, or PHP… all of which I need for a lot of my work. Of course, Novell Linux Desktop’s not meant to provide all of this… SUSE 9.2 is the powergeek’s distro, so none of my complaints are against NLD 9. It accomplishes what it’s supposed to – being a full-featured business desktop, perfectly. Full marks to Novell for its great product line!

Categories
Uncategorized

Really Old Essays

My (First) Home Computer Setup (Undated, but really old)

How Windows Power Users Should Approach Linux (3rd July 2004)

Technology For The Sake Of Technology? (20th June 2004)

Why LG’s Linux-based MyPC Failed (3rd February 2003)

The SQL Slammer Scourge – Letter to the Editor of the Indian Express (28th January 2003)

Rebuttal to Mr. Sanjiv Mathur, Head of Marketing, Microsoft India (27th November 2002)

India’s Problem with Open Source Software in Government (20th November 2002)

The popularity of Linux in India – Reply to I.T. Nation Business Review Questionnaire (3rd May 2002)

Categories
Uncategorized

How Windows Power Users Should Approach Linux.

3rd July 2004

This essay is a result of an email conversation I had this week with one of my juniors from my alma mater, K. J. Somaiya College of Engineering. This guy, Prasad, is what one would probably call a Windows “Power User”, meaning he’s used, tweaked, programmed in Windows for the past few years. He’s the kind of guy ordinary people turn to when their “computer is broken”, and no doubt his friends (all Computer Science undergrads) ask for his help too. Now, he’s giving Linux a try (I guess power users get bored of Windows too, some day!) So he borrowed my set of Fedora Core 1 CDs. The other day, he sent me (and his friends) an email, which I have quoted below. Please note that this email has not been edited by me in any way.

Anyway, it was the most honest evaluation of a Linux install/preliminary configuration I had ever read. Perhaps that is because I knew the reviewer and his skill level personally. Towards the end, he also included some humorous and sarcastic ‘advice’ to his friends, who were still Linux virgins. In my reply to his email, I commiserated with his genuine complaints, offered solutions and agreed with him when he pointed out Linux’s (specifically, Fedora’s) good points.

When I finished my reply, I realised that he, like all such potential converts to Linux, approach the whole phenomenon of Linux in a wrong manner, with the wrong mindset. They look for in Linux the exact same things they were used to in Windows, right from installation, to the desktop, to the tools, to additional software. That is why they are put off by partitioning, multiple desktop environments, editing configuration files – because they never have any of this in Windows, and are equally enthralled by the “built-in” security, eye candy, the included software, even tabbed browsing – again, because Windows never offered them these luxuries. I concluded that this is because they know nothing of the Linux “culture”, have had no exposure whatsoever to the Open Source Community, have never known that there existed a UNIX hertiage, a UNIX culture – all in all, the “Tao of Linux”. Only when they imbibe all of the above will they ever feel comfortable with using Linux on an everyday basis. They probably have to “unlearn” Windows, to an extent.

I continued my email, then, with my advice to him on how he ought to think of Linux itself, and using Linux, differently from Windows. As I wrote in the email, I “poured my heart out”. It was spontaneous – I had not thought about it, not jotted down points or organised my thoughts – but what resulted was a surprisingly lucid and hard-hitting piece of literature that seemed to convey everything I had wanted to tell the dozens of people who had asked me for help on how to “use Linux”.

Here is Prasad’s email, and my reply to him. Do let me know what you think of it.

Hi Rahul and others,

Please read on and reply with your views or experiences.

Why am I writing this in vi?

A few days ago I got my hands on Fedora core 1 installation CDs. As per the tradition I installed the brand new Linux system and started working on it. The first thing that I always have to do after installing Linux is adding my windows drives to automount by edition /etc/fstab. I wonder why has Red Hat not come up with something that automates this procedure as only a fool will install Linux onto the PC without any windows version (Only Mandrake 7.1, I guess…., does this identification and auto mounting of windows partitions for you.). After completing my traditional installation configuration which cannot afford to include luxuries like KDE as my system runs on a 64 MB RAM chip and with onboard 16 MB video memory, I happily logged onto my brand new Linux FC1 machine. It is always nice to listen to some music when you are really happy. What the heck!!! Xmms does not support mpeg anymore due to some licensing problems blah blah blah….. This did not surprise me though, as after every fresh Linux install I always wait for something shocking (In some earlier version they completely forgot to include xmms…..). The real fun comes after this…..

I needed text browser for some reason a few days later. I had to install it using add/remove applications in the control panel as it was not included in the basic installation schema. I also thought of adding a few more applications like mysql which is surprisingly not included in basic database support by default, etc. I selected approximately 25 new apps. to install and 5 apps. to remove. Now before you read next part I want to first give you a few tips and tell you about a few mistakes that people always do and then later curse innocent Linux developing team.

Always see to it that you have plenty of time to do any system changes or installing Linux
for that matter as some unforeseen situations may arise which even linuxers (this term a references those people who claim to have a very satisfactory working experience with Linux) cannot explain. It took me 4 iterations and 3 days to install a basic Linux configuration on a PC in my college (Ah college PCs…..Always problematic. Isn’t it?). Every time some a new error message would flash on screen (that too after 25/30 minutes when the installation is almost complete) informing me that I am a fool and don’t know even the basics of installing an OS and that perhaps I should read a few reference books before trying something as adventurous as this. In an other incidence the installation simply refused to detect the extended secondary memory on my friend’s computer. The poor fellow did not upgrade his BIOS and so his BIOS could not detect the newly added 40 GB HDD. Windows though did not even complain of such a problem(Ah, these windows guys……I dont know how do they manage to be that over smart). Apart from these minor things Linux installation is fairly simple and even a novice could manage it.

Take a few hours’ rest before attempting to upgrade a Linux system.I will explain this later…but probably this is the most important tip as otherwise you may end up losing your beloved PC or have a nervous breakdown.

Forward this to everybody you know and ask them to please reply to me if anyone has any answers.

Now the rest thing. I selected all add/remove applications, put FC1 CD in my CDROM drive and decided to spend next half an hour watching Indianapolis GP as system was being upgraded. As this thought struck my mind my CDROM drive ejected and a message flashed on my screen indication to put the 2nd FC1 CD to continue installation. I was amazed at the speed of upgrade and thought of first completing the upgrade (as I thought it would take 5 minutes more at this speed) and then watching schumi. I was correct I guess, in less that 15 seconds my CDROM drive ejected out again and a message informing me to put in FC1 3rd CD into the CDROM drive to continue installation. Frankly speaking I was impressed by this upgrade speed. I put in the CD for upgradation to finish and again the same thing happened. My CDROM drive ejected out and a message informing me to put in FC1 1st CD flashed again. Believe me people this fun continued for next 20 minutes and involved at least 12 ejections and reinsertions. I have nothing more to say….Have Fun. the only question to be asked here is “Why am I writing all this in vi?”.

Prasad R. Shahane.

My Reply

Venky (Prasad is known as “Venky” in college; why is a long and irrelevant tale: Rahul) – please forward this email to all those to whom you sent the original email – Saket, Alhad, Mandar et al. I am not certain if they want Linux-related emails from a senior in their inbox directly!

UPDATE: I have not sent you any of the attachments I have talked of in this email – apparently your account is over quota, my original email was returned. Please clear up your acct, or give me some rediff address, so I can send you 1,) the IceWM article, 2.) The Art of UNIX Programming. For now, read my email:

Hi!

I am thrilled to read such an honest evaluation of a Linux newbie’s attempt to get a working Linux install! I am so used to the sheer indifference and lethargy that my classmates/seniors showed towards Linux, it’s refreshing to find juniors who at least take the first tentative steps towards trying Linux out. Please read my opinions on this below. Remember that I am not trying to defend Linux’s shortcomings – as an experienced Linux user, I am only too aware of them!

Installation Pains:
Well, everyone goes through this kind of trouble when they’re starting out with Linux. Venky, let me tell you that you’re very lucky to start with FC1 – Think of the 6 months that I spent unsuccessfully in trying to get my graphical configuration working with RedHat Linux 5.2 in May 2000!

Windows partitions:
Come on, Venky – during the partitioning procedure, did it not occur to you to mount your Windows partitions then and there? Just click on your Windows partition, choose the “Leave Unformatted” option, and mount it as /mnt/win2000 or something. That simple! In fact, this is an advantage over Mdk as Mdk chooses complicated names like /mnt/hdb1 or similar. This is something that any linux newbie with basic concept of mounting will get!

MP3 Support:
OK, the exclusion of xmms in previous versions (was it RHL 7.3?) was a blunder. The RHL team acknowledged that. And the exclusion of MP3 support in all subsequent versions of RHL/FC is a real pain. At least they should include clear instructions on how to download/install the plugin, rather than some bombastic statement about licencing issues that the end-user does not give a shit about. In case you haven’t figured out already how to install the plugin, here is the rpm:

http://dag.wieers.com/packages/xmms-mp3/xmms-mp3-1.2.7-0.rhfc1.dag.i386.rpm

As root, type rpm -Uvh xmms-mp3-1.2.7-0.rhfc1.dag.i386.rpm

KDE? GNOME?
Venky, with your kind of PC configuration, I think running a full-fledged KDE/GNOME desktop is out of the question. Perhaps you should try IceWM. Maybe use XFce. Find my XFce article at http://www.osnews.com/story.php?news_id=7002 . I have written a comprehensive article on IceWM, which I am still in the final stages of editing. I’m sending you the HTML page as attachment. Give it a try.

Use Mozilla Firefox instead of Mozilla – find it at www.mozilla.org/products/firefox . Use xterm instead of konsole/gnome-terminal. Use the command-line instead of konqueror for browsing the filesystem. Do research on using applications which use low memory instead of the default ones. Use a tiled wallpaper – the ones found in /usr/share/backgrounds/tiles/Propaganda – they are good ones. Finally, log into your graphical desktop using runlevel 3 + startx rather than boot into X directly (runlevel 5). Saves the memory of maintaining the Login Manager. Turn off all unwanted services. There is so much you can do to conserve memory! I am writing an article on this too.

As far as your repeated insertions/ejections go, this is a truly hilarious situation which I have never encountered – but really funny! What I normally do, is to copy the contents of all 3 CDs into one directory hierarchy on my HDD (kya yaar – 40 + 8.4 + 2.1 GB ke teen hard disks hain). then if I want to install say mysql, I cd into that directory, and type rpm -Uvh mysql-.i386.rpm. It usually fails, giving me a list of dependencies which must be satisfied. I then install them from the same rpm cache, and lastly install mysql. No, it is NOT time-consuming – it is much quicker than add-remove program.

Finally – why are you writing this in vi? Hmm – could be because you haven’t got your graphical system to work yet? But you would have mentioned that. Why not use Kwrite/Kedit/Gedit/Kate/Nedit? Hmm – nope – I can’t answer!

After replying to your email, I want to give you – a person who is an experienced, “power user” of Windows and is now giving Linux a try – some advice. Almost none of this advice is technical – most is psychological. Read on, and share this with poor Saket before he becomes totally anti-Linux!

Do not ever approach Linux with the mindset that everything will be the way it was with Windows. You might have the same sort of desktop – start button, menu, wallpaper, Control Panel, and so on – but underneath all that it’s still UNIX. Linux is fortunately/unfortunately still a techie’s OS. It needs experience before you can use it as a normal desktop OS. I began to use Linux full-time only 3 years ago – a full 12 months after I gave Linux a try. Till then I was constantly dual-booting, most of my data on Windows.

Approach Linux with a mindset – this OS is going to help me understand my computer better. I am going to learn about how an OS functions. By this I don’t mean learn about the scheduler/filesystem design or interrupt handling – not the kernel level – we learnt that in Engg. But we totally ignored the user level. For example, the entire booting-up procedure. We take for granted that we have the NT Boot Loader that will present us a choice of Windows OS, we will get a pretty graphical screen and soon a desktop will appear. How? Why? We will never get that chance with Windows. But with Linux, we first see /etc/inittab to see what file the “init” process looks for (rc.sysinit), how each service is started (you know services exist in Windows NT/2K/XP too) – in Linux that is via the “rc” script. Look thru these files, make simple changes, observe how stuff works – enjoy the experience of just exploring the OS itself. Even after 4 years and two months of first using Linux, I still discover new stuff EVERY DAY. Change your mindset – the moment you find a graphical utility to perform a task, say to yourself – I am going to find a way of doing this via the command-line.

See, UNIX (on which Linux is based) was designed by utter geniuses – Thompson & Ritchie – in 1969. From that time till today, the user-level OS has remained relatively unchanged for 35 years. Think of the hardware that was available in 1969 – the first PC was still 12 years away!! So the design decisions made by the two were so technically sound that they are viable even today! I want you to read this article (mini-book?) by Eric S. Raymond, one of the most respected figures in the Open Source Community today – “The Art Of UNIX Programming” – it’s already a classic. I have sent you a tar.gz of this book (taoup.tar.gz) . Read it – it is one of the most important texts you will read – far far more important than engg. notes!!

Given this craze for Linux, soon everyone is going to start offering courses for Linux, and many will then know how to install Linux, and use KDE + Mozilla, and connect to the Internet and so on – but is that Linux? No! We have not even scratched the surface! Using Linux like “another Windows” is stupid!! People will say there is a “trend” towards Linux, Linux has “scope” – say bullshit to all of this. Linux may or may not become the world’s most popular OS, it may or may not destroy Microsoft, but one thing is for certain – people who have truly “understood” Linux and the UNIX philosophy become the best computer professionals. Why do you think IITs and Universities abroad use Linux/UNIX throughout their campus? Because it’s cheap? Nonsense. In the 80s and early 90s, when Linux was not viable, univs purchased expensive UNIX licences. Why? Were they mad? No! The only way to teach true Computer Science was to expose students to an OS they could “play about with”, not something which is shut, sealed, packed and where a company decides how YOU should use THEIR OS. Please- I am not bashing MS – but it is true. How much can you learn about Windows by using Windows? Nothing! Windows does not have a heritage, Windows does not have a culture, Windows does not even offer any incentive WHY you should attempt to find out more about it in the first place!! That is why the first question that must be popping up in your minds is “Why do I need to know about my OS in the first place?” You will find out.

To Saket I say – try and try till you succeed – take it as an insult that you cannot get Linux to work on your computer. It is an insult to your skills that Linux refuses to install. Do whatever you can – even upgrade your BIOS – it can be done via DOS (go to your BIOS manufacturer’s site, download the exe, make bootable floppy, and run the exe from the floppy.) It is risky, but I have done it twice and nothing untoward has happened. You have a non-standard monitor – find your monitor specifications, edit the XF86Config file. You will never know about the X Window System if you want to stay hidden behind pretty graphical tools all your life. Sooner or later some “Computer Institute” will teach its students these tools – after all they are in the menu.) But what do these tools do and how? No one but you will be able to answer. Don’t have XConfigurator? Go into Windows, download the rpm or even source (actually source is better), reboot into Linux, compile it yourself, run it and get your monitor working.

You must have a sound technical knowledge of whatever tools you use. Trust me – Mihir’s and my knowledge of Linux has helped us on many occasions when we were giving job interviews. They really quiz you on such fundamental matters in computing that you realize that without a thirst for knowledge about UNIX, it will be very difficult. The fact that you are so experienced in Linux also gives you an instant edge over others.

Finally, I come to the programming side. I have used VB 5 extensively and VC++ 5 a little, in 1998/99. I know intermediate VBScript. So I do have experience of programming on Windows. Since 2000, it has been nothing but Linux. Believe me when I tell you that the programming environment on Linux – vi/emacs + gcc + make is the BEST way you can learn about project management, about good coding practices, about programming techniques, about how your applications should interact with the environment – because you don’t use all the advanced features that VStudio offers you. You are “on your own”. When you are a student, there is no use learning “industry standard” tools. These can always be picked up later. But no one is going to teach you the kind of things I have mentioned above. These are things you are supposed to learn in your undergrad education. But are we taught them in Mumbai U? Never. How else are we going to learn this? If we use VB/VC++ where automatic memory management, garbage collection, easy-to-use APIs are given to you, along with drag-and-drop interface builders, when are you going to learn ACTUAL programming? Surely you should be able to allocate/free/keep track of memory on your own. Surely you should be able to do low-level I/O, use actual system calls, to build your own interfaces (command-line or otherwise). Do it the hard way now, you will be KING when you have such a solid base! LEARN TECHNIQUES TODAY, TOOLS TOMORROW.

After pouring my heart out to you, I end this email. Apologies if I bored you. But you see, I never had seniors or classmates who were computer enthusiasts, who truly loved computers, who saw computers as tools, not just machines. You guys – Venky yourself, Saket, BP, maybe Akash, Alhad… are like that. The only hitch is that you have used computers/technology extensively, much more than your peers, but have not bothered to learn more about the tools you use. Maybe I am wrong, but that is the impression I got.

Anyways, hoping to hear from you guys.

Rahul.

Categories
Uncategorized

Blogs I Read

Ray Ozzie
Water Mossberg
Bob Cringeley
Rajesh Jain

IBM Lotus Software:
Ed Brill
Alan Lepofsky

News, Current Affairs, Economics:
BBCWorld
BusinessWeek
Business 2.0
TheEconomist
The Indian Express
Slashdot

Humour:
Sidin Vadukut
Abhinav Jain
Vinod Ganesh

Friends:
Pallavi Galgali (IBM)
Abhinav Kumar
Anil Dalvi
Sameet Dalvi
Niranjan Tulpule (Google)
Aalhad Saraf (IBM)
Prasad Shahane (TCS)
Gordon D’Souza (MDI Gurgaon)
Venkat’s Photo Album (Arizona State U)
Rohan Thakare (IBM)
Rohan Patankar (Atos Origin)
Paresh Murudkar (IIMA)

Categories
Uncategorized

Google Blog… and a Linus interview!

Google’s got a blog too: http://www.google.com/googleblog/.

Seattle Times has published an interview they did recently with Linus Torvalds. While it’s nothing spectacular, there’s one bit that interested me:
Q. Where do you expect Linux to see its biggest growth over the next five years?
A. I’ve felt strongly that the advantage of Linux is that it doesn’t have a niche or any special market, but that different individuals and companies end up pushing it in the direction they want, and as such you end up with something that is pretty balanced across the board.

I continue to feel that the desktop is interesting, because it’s how I personally have always used Linux, and what I myself have been interested in. It’s also the technically (and marketwise) most challenging area, which makes me appreciate it all the more. And clearly there is a lot of budding interest in the area from the commercial players.

I’m enthused by the fact that even Linus is interested in the development of Linux as a serious desktop Operating System. It’s all very well if we nerds on Slashdot keep hailing each passing year as the “Year of the Linux Desktop”, but unless someone who’s in a leadership role in the Linux community (and who better than Linus) believes that serious steps need to be taken to make Linux a real desktop-worthy OS, nothing’s going to happen. So I’m glad Linus recognises the Desktop as the next area for Linux to make inroads into.

Linus also recognises the role that commercial players will play in Desktop Linux, while also conceding that it’s the most challenging “technically and marketwise”.

Categories
Uncategorized

After Google Toolbar, Google Desktop Search!

Google’s launched a desktop search tool, Google Desktop. A Windows-only tool for now, Google Desktop can search your Outlook emails, AOL IM conversations, plain text files, cached/saved web pages, MS Office files, and a few more (can it search PDFs? I dont know).

The Google Desktop first indexes the above files (you can choose which ones to leave out) when your computer is idle. An interesting feature is that while there is a system tray icon, the search tool itself is completely web-based. Clicking on “Search” or “Preferences” on the system tray icon will bring up a browser window with a search form, a la Google’s own home page.

This marks another step in Google’s foray onto our desktops. Not content with being merely a web-based search tool, Google has quietly released a few applications for our desktops. Think Google Toolbar, Picasa, GMail Agent.

Categories
Uncategorized

Reply to a Request from the IT Nation Business Review

The popularity of Linux in India

What are the different Linux flavors available in India?

Well, I have seen RedHat Linux installed on nearly all Linux PC s that I’ve seen. Mandrake Linux seems to be the only other distribution that has any sizable user base. There is a disturbing perception here that “RedHat” means “Linux” and “Linux” means “RedHat” . Whenever users refer to the version of Linux they’re using, it’s always something like “He’s using 7.3 still, even though 8.0 is out”, referring to RedHat Linux 7.3 and 8.0 . I even saw a poster of a training institute that said that they offered courses on “…..Windows 2000, Linux 7.2, Solaris……”. What Linux 7.2?!

How will the different companies in Linux stand to benefit with the recent initiatives taken by the Government of India?

The government, tragically, seems to be taking a very narrow view of Linux and free software in general. It considers only the “free as in cost” aspect of free software, saying that India is a poor country and thus Linux has a very strong case in India….

But free software is much more than that. Indeed, the “free as in freedom from licencing issues”, and access to source code, is a much more important aspect of free software. The Government needs to understand that by adopting free software, it is achieving control over its software and data, that its software systems are owned by itself and not by some third company.

The Government still needs to do a LOT more as regards its “new initiatives” with Linux and free software. To cite a crucial example, in our school computer syllabus, students are taught that “A computer consists of 2 parts, hardware and software. Hardware means either a Intel 486, or the newer Intel Pentium processors, and software means MS-DOS or Windows.” Further, the syllabus goes on to teach them MS-Word. Thus we have a generation of students, who have been insightful enough to opt for computer subjects in their schools, but who end up learning just about Microsoft products. These students wrongly believe that Windows is the only OS that a computer can have installed, and that only Intel makes processors. They do not teach word processing, but rather MS-Word. This is a shocking scenario and needs to be rectified very soon. Imagine the chaos when the industry moves to Linux and Linux-based products, and our students are still learning this stuff!

Further, the Government has to stop falling at Bill Gates’ feet every time he visits India, and not treat him like a head of state. For more of my views on this please refer to an article I wrote to the Linux India Mailing List, which can be found on my website at http://www.geocities.com/tuxonline/writings/ossingovt.txt .

Still, these initiatives taken are a positive step, better than none at all. Let us hope that Linux companies can take advantage of these initiatives, particularly in Government computerisation.

With an increasing number of low cost PCs in the market, what will the future of Linux in India be?

In India, as well as worldwide, prices of computer hardware are falling rapidly and regularly. In contrast prices of Microsoft products are rising, examples being MS-Office and Windows XP. Thus, the price of software is increasing in terms of percentage of total computer costs. There will come a time when this percentage will just be too high to be acceptable to users.

We are also seeing OEMs in India offering PC s preinstalled with Linux. For instance, LG is offering its MyPC with RedHat Linux 7.3 preinstalled, Compaq is also introducing a similar package. However, these same vendors, in their advertisements regarding their other models, they put up a sign that says “Compaq/IBM/LG recommends Microsoft Windows XP” . This confuses prospective buyers (one of them was my aunt, so I know!), who are attracted by the costs of this Linux PC (almost Rs. 7000 less), and on the other hand they see this sign about XP. These vendors should define very clearly the intended audience for the Linux PC s and the XP ones.

Further, what about the after-sales services? Are there technicians who have enough knowledge about Linux that they can tackle most problems? There still exists this huge fear complex in the minds of most small-time computer vendors about Linux. About a year ago, my speakers developed some problems. When I contacted my vendor about it (he’s a medium-sized assembler) he promtly sent over a technician to investigate. The moment he found that I run Linux, he not only refused to help me, he even terminated my warranty, saying that I had violated his terms, that they did not support Linux, and, to top it all, that Linux had caused the problems with my PC!

The version of Red Hat Linux that LG is supplying with the MyPC is pretty old now, and can hardly be considered for desktop use as a replacement for even Windows 98. So it is hard to imagine any organisation that would switch to the MyPC. Software also needs to be provided along with these machines. For instance, Linux does not have the number of games available for Windows, but one can run most Windows games on Linux using special software. This software needs to be bundled with the PC.

What are the robust desktop versions of Linux in the market today? Which is a strong contender to Microsoft Windows?

There are excellent desktop Linux versions available today. The first one that comes to mind is Xandros 1.0 (http://www.xandros.com) . This version of Linux, which unfortunately sells for as much as $99, is a very very advanced Linux distribution which can safely be declared a competitor to Microsoft Windows XP.

Another distribution is Lindows (http://www.lindows.com), which a lot of OEMs in America (Walmart, for one) are already offering as preinstalled. Among the traditional ones are Mandrake 9.0 (http://www.linux-mandrake.com) which has for long been consistently providing high quality desktop software. Sun Microsystems and RedHat are working separately on a distribution of Linux specifically aimed for the corporate workspace. These distributions are being watched closely, as both Sun and RedHat are touting it as the “next-generation” Linux.

Finally, India has its very own desktop Linux distribution, ELX Linux (http://www.elxlinux.com)! This distro has received favourable reviews from various sections of the computing industry, and is on par with Xandros and Lindows.

How do you plan to promote Linux awareness on the desktop?

There are some very obvious steps that all of us Linux advocates should take. The first one is to maintain relationships with various OEMs and resellers, to encourage them to start providing good desktop versions of Linux preinstalled on their PC s. This will immediately cause mass awareness about Linux. Next is to work collectively to remove all the FUD (Fear, uncertainty, doubt) that ordinary users still have as regards Linux. I was invited in October to deliver a seminar on this very topic : Linux on the desktop. Right after this, I was flooded with calls on how to obtain Linux, how to install it, and so on. So, given enough correct information , people are certainly willing to switch to Linux.

We also need to drop the mindset of “Linux is cheaper than Windows”, because as more and more is expected from Linux and free software, developers and software vendors will have to put in more resources. This will cause the price of most free software products to rise. So we must be prepared to pay.

The biggest advantage that Linux and free software enjoys over commercial software, is the control that it grants to the end user over the software. Issues such as access to the source code, freedom to modify and redistribute it, and other such principles are crucial in the long run. No software vendor will be allowed to dictate terms to the user. These freedoms also encourage multiple software developers for the same product, leading to the proliferation of choice for the end user. These are the issues we need to be talking about to people. This is the argument that’s going to make them shift to Linux.

Evolution of Linux

Licensing and cost issues

Free software is released under a number of icences, chief among them being the GPL, the BSD Licence, and the Netscape/Mozilla Public Licence (MPL). The Linux kernel itself is under the GPL. The major features of each licence are :

  • GPL: the GPL does not allow you to make your modifications private. If you
    modify a GPL-ed product and redistribute it, you must do so only under the GPL.
  • BSD: the BSD licence allows you to make your modifications private.
  • MPL: This licence has special provisions for the developer. It allows
    Netscape, for example, to re-licence the modifications the you’ve made to its software.

The tricky nature of most of these licences is meant to preserve the free nature of the software. However, traditional software companies who are used to working with commercial software, find these impossible to work with. The solution to this is to rethink your entire software philosophy. Refer to Eric S. Raymond’s seminal work on this subject, The Magic Cauldron.

Is there support coming in from major IT companies supporting Linux (Hardware/ software)?

Most of the “major IT companies” in India are solutions providers, and are willing to use Linux only if the client requests it. I spoke to a marketing executive from Wipro in July last year, and asked him this very question. He replied that Linux is gaining acceptance as an alternative to traditional UNIX servers, but clients still find it too risky to try Linux on their workstations. When asked why, he said that they thought Linux was still not ready for desktop use, and that there were’nt enough applications to run on that platform. He did, however, concede that their own developers found Linux an excellent development platform.

As far as support from hardware companies is concerned, yes, there are a few hardware vendors who have Linux drivers for their products ready for download on their web sites. But these are few and far between. Another area of concern in the free software community, is that these drivers themselves are closed-source, and proprietary. The community complains that this is against the spirit of free software, and I would tend to agree with them.

Current acceptance in India

How would Linux companies plan to tackle the following current Issues?

* The shadow of Windows (Microsoft muscle power, users opting for pirated copies of Windows)

Microsoft muscle power is certainly a big obstacle in the adoption of Linux in the Indian industry, and so is the high piracy levels in India. That is why I said earlier that it is not the “free as in cost” aspect of Linux and free software that we should be harping upon; rather, it is the “free as in speech” part. Do users want control over their systems or are they willing to give these freedoms to some company? As Benjamin Franklin put it so beautifully, “They that can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.”

Microsoft’s chief income comes from large organisations who deploy Windows-based systems. These are the entities that Microsoft is targeting in its anti-piracy drive. It knows that individual home users in India cannot afford to buy genuine copies of Microsoft products, and on top of that, upgrade them whenever it comes out with newer versions. It is probably in Microsoft’s interests, to not target the individual market, to let them continue to use pirated copies. Why? To achieve what is called product “lock-in”. If, right from the onset, if the only thing that users use are Microsoft products, naturally, they will be most comfortable with these poducts in their workplace, leading to adoption of Microsoft products in the workplace too. They probably realise that this rampant use of pirated software is actually creating a “Microsoft Generation”.

Linux companies will probably target the menace of Windows in a very simple manner : to produce software that it technically superior to Microsoft’s products. But what they really need is a fantastic marketing organisation, to convince users, both individual and corporate, that their products are indeed better. Microsoft’s forte has never been developing the best products, but to make users think that these are the best.

*Hardware / software support

I don’t think that this is an individual issue to be addressed. Once the user base for Linux achieves a certain critical mass, hardware vendors will be under tremendous pressure to make sure that their products are Linux comaptible : take the recent announcement from chip-maker AMD that it will make sure that its chips are well-supported by Linux. Software support for Linux will drive the hardware support. This is already happening. To give you a really significant example, two years ago, a number of groups, including the NSA (National Security Administration), HP, Immunix, approached Linux Torvalds, now the lead maintainer of the Linux kernel development team. Each wanted its solution to be the approved security mechanism for Linux.

* Reseller’s complaint of lack of training.

I feel that once resellers are convinced about the advantages of Linux, lack of training will be no problem, as they will start spending as much on gaining Linux expertise as they do today on gaining Windows expertise. More and more training institutes are offering courses based o Linux, primarily system administration and network adminsitration courses. This is a good think, bacause sysadmins and n/wadmins get to know a lot about the inner working of the OS. Once enough people get trained at theese institutes, such complaints will disappear.

Basically it is important to remember that the world has been using Microsoft technologies for the last 20 years at least. It will obviously take time for a new technology , however good, to gain general market acceptance. It is compounded by the fact that computers today play a critical role in all walks of life. For many people, moving to a new technology presents a certain risk which they may not wish to take suddenly. For Linux, it is sure to be an evolution rather than a revolution.

* The current state of confidence in the market in not high (Not many end users willing to try out Linux on the desktop. The channel does not seem to be confident of selling Linux OS)

But that’s where you’re wrong! There are more people willing to try out Linux as an alternative to Windows than ever before! You see, Linux has been garnering a lot more press attention than at any given time in the past, and nearly all of it has been positive. So when the average user reads about so many companies adopting Linux, and reads about the CEO/CTO of that company extolling the benefits that his company has gained from Linux, he thinks, “If these guys find Linux so cool, why not get it on my computer?” Because users are fed up with the unreliability of Windows (especially Windows 98, which most use), but they continue to use it because of lack of any other alternative. It’s like “passive acceptance” of whatever faults Windows has. Now they have an alternative.

* What will the Pros of Linux on desktop be

Most free software products tend to be very flexible, and that’s true in the Linux world too. The desktop environments for Linux are much much more customisable than Windows. An average desktop user used to the Windows GUI will be absolutely delighted at the amount of customisation that is possible. Then there is the advantage of choice. For every software that Windows can offer, Linux has 3 or more high-quality alternatives. More of my views on this at http://www.geocities.com/tuxonline/writings/whylinux.txt

For developers, Linux is a programmer’s paradise. Most programming language compilers and interpreters are installed along with a typical Linux installation. The GCC (GNU Compiler Collection) is one of the most sophisticated compiler suites in the world. There are fantastic text editors such as Vi and Emacs that make code writing easier. IDEs such as Kdevelop, Kylix, Anjuta are also available.

* What are the disadvantages of Linux as compared to Microsoft?

The one disadvantage that I can think of is the lack of games for Linux. It’s like major games developers are just ignoring Linux while developing games. The market for games is enormous, and whichever platform runs the most games, will have a great advantage in the individual desktop home user segment.

Areas which used to be major problems, but are now as good as gone, are difficult installation procedure, poor hardware support, lack of applications, lack of finish in the graphical desktop environments available, etc. These are no longer practical issues.

* How will the after-service issues taken care of?

These questions ought to be answered by the commercial vendors themselves. It’s kind of a chicken-and-egg question. After sales services will improve only when there is a large enough user base, but such a user base will develop only when assured of good after-sales services.

* What margins does the channel stand to gain?

Channels will find their margins reduced substantially. (as if they weren’t low enough already!). But they’ll have to adapt or die. As more and more people start to move to free software, control will pass from vendor to consumer.

Consumers will dictate terms in the new market. Channels will make profits, no doubt, but they’ll be razor-thin, as they adjust to the new market.

* The reasons for Linux companies undergoing cash crunch?

Linux has had to battle the huge market share of Microsoft in the Operating Systems and platforms space, so Linux companies are starting out with huge odds against them. Then, just as corporate interest in Linux was beginning to grow, the dot-com bubble hit, and so did the global recession. So it hasn’t been the best of times for the market in general, and certainly not for any industry that’s just finding its feet in the market. So take it as a positive sign that in the face of such huge disadvantages, Linux has taken such giant strides.

* Why is there a delay in standardized/ uniform Linux platform?

I don’t think it’s advisable for Linux to become standardised in the first place. The beauty of Linux is that there is so much choice, so much variety available. Current users of Linux would hate to see that choice disappear. It’s enough if all vendors of Linux agreed upon common minimum guidelines to follow, so that Linux doesn’t end up going the UNIX way, i.e, into fragmented, incompatible versions. I don’t think that this will ever happen, largely because of the free nature of software. And such standards are coming up : we’ve had the Filesystem Hierarchy Standard for years now. SuSE, SCO, Connectiva and TurboLinux have formed between them a consortium called United Linux, for cooperation in development, and to ensure that packages made for one distribution are guaranteed to work on the others.

I’d say that Linux development needs to follow a middle path – not become too standardised like Microsoft Windows, and on the other hand, not fragment like UNIX.

* Will Linux take off in a big way in India?

Oh, Yes!

Categories
Uncategorized

Why the LG MyPC failed

Linux-Based Desktops Fail to Excite the Market

It isn’t very surprising that LG’s MyPC failed to make any significant inroads into the Indian market. It’s not just cost alone which is going to make users shift from Windows.

LG has been bundling Red Hat 7.3 along with it. A default install of RHL 7.3 would make any Linux newbie cringe. It isn’t even as good as Windows 98 as far as looks and ease of use is concerned. (Not that I’m blaming RH for the whole thing.) They ought to have tried Mandrake 9.0, ELX Linux, SuSE 8.whatever, Xandros, even RHL 8.0 (but Bluecurve’s got too corporate a look for the home desktop user). But RHL7.3?!

It just seems to me that this entire exercise of Linux-based PCs was a failure because of complete and total lack of planning. Short sighted opportunism on the part of LG and Champion Computers led them to introduce such PCs into the market. No one is going to shift to Linux just because it’s cheap – least of all the individual home desktop user. He’s got to have compelling reasons to do so.

More than anything else, I find the reactions of the managers of these firms particularly disgusting:

Manikandan, deputy general manager, LG Electronics India said, "We have not been getting very encouraging response for our Linux-based 'My PC' in the metros, whereas the response has been a little better in the upcountry market.

"One reason could be because the upcountry market is more open to new things," he explained. "The second reason is obviously, the low awareness of Linux, and users' comfort level with other operating systems".

According to Kapil wadhwa, who is the director of Champion Computers,

"We have been using Windows since the last 10-12 years. So how can you expect somebody to simply start using Linux overnight when it has no visibility at all?"

"In India, acceptability for Linux is still to come about and it will take some time before the end user is comfortable with it," he said.

True, but weren’t efforts lacking on your part? You need to bundle a better OS than RHL 7.3 (at least, a better-looking OS ) if you want to realistically compete with the pirated Win2K -WinXP market. 99% of your target market uses their machines essentially as a games and entertainment machine. Ever thought of the fact that users wouldn’t be able to run these games? Ever thought of bundling Transgaming or some other such software along with it and using this fact as a marketing ploy?

"Wadhwa said that it is only after educational institutes begin teaching Linux, that users will begin feeling comfortable with it."

To say that people will start using Linux only if educational institutes start teaching it is ludicrous! Surely people don’t use Windows just because it’s been taught in school?! Did people start to use Windows simply because institutes started teaching Windows, or was it the other way round? MS has spent billions of dollars into user-interface research just so that any ordinary person can use their systems. What about the 40yrs+ generation? They use computers at home and at work without them being taught any of this in school. Computers are easy enough to use without them being taught.Don’t blame the people for your faults. You will alienate your market faster than you can say “GNU!”.

What about the visibility factor? This is what Kapil Wadhwa of Champion had to say:

"However, our technical staff tries to handle basic Linux queries from customers. But more has to be done to create some kind of visibility," he said.

And who, dear sir, is going to create this visibility, if not you? If you want your PCs to sell, and if you know that Linux’s visibility is low, is it not up to you to create it? I would never have known about this LG MyPC thing if I had not been flipping through an obscure channel by the name of TMG Enter where this was a 1-minute report.

Basically, these comments sum it up for me:

"I believe some government sectors are beginning to train their employees in Linux. Also, a few educational institutions have begun to impart Linux knowledge. It will take some time before it gains some visibility and helps us push our Linux-based PCs in the market," said Manoj Kumar of Champion Computers.

These are people who care nothing at all about the real advantages of Linux. They neither know, nor do they care, about the GNU, Free Software and Open Source movements. For them, Linux is nothing other than a cash-saver. Free as in speech, control over software, means nothing to them. That is why they will eventually fail. If they use their marketing skills and money power to highlight the correct aspects of Linux, then they will be able to convert even those who have been using pirated Windows for years.

What about support? How about manuals, guides, included simplified documentation, always-available helplines? What about marketing? Linux-based PCs came and went, leaving quite a bitter taste in the mouth as regards India Inc., views on Linux’s advantages.

Categories
Uncategorized

A short essay on education

The Book Is Not Enough

“Never let school interfere with your education”, quoted Mark Twain once. His words ring true even today, even perhaps more so now than then. There is no doubting the fact that the quality of education being dished out in today’s schools, even colleges and professional courses, leaves much to be desired. For far too long now, we have focussed on the theoretical aspect of education, ignoring its practical face.

Education is meant to prepare a child to live in the world around him. How much of theory can help him to do that? Sadly, very little. We all must work towards reviving that forgotten art of practical training. Rather than trying to drill textbook content into a student, let us expose him to the world around, so that he himself seeks textbooks in order to glean more knowledge about what he’s just seen.

This shift in teaching philosophy is especially crucial among the younger students. For Science, do away with classroom teaching altogether. More can be learnt about the atmosphere, and air and wind (things that we were taught in the 1st and 2nd standards), by spending a day on the field, than a week indoors. For Mathematics, forget the practice of ‘formulae’ and ‘rules’ and move to examples from daily life. A book from the Childcraft series contains this stunningly insightful example to demonstrate the concept to Units, Tens, Hundreds…

“Once upon a time, before man knew of numbers, a shepherd used to take his large herd out to graze everyday, and return at sunset. To make sure none of them went missing in the meadow, he let them in through a gate that allowed only one sheep to pass at a time. Every time a sheep passed, he would lay a pebble on the ground, in a line. Whenever there were ten pebbles in the line, he would lay one pebble in another line, and start the first line once again. The shepherd knew that he had enough sheep to fill three pebbles in the first line, and two in the second.” (Meaning that he had twenty-three sheep). Wasn’t this an ingenious idea, and what better way to explain to a child this concept?

As a child moves into higher standards, his subjects change, but the modus operandi of teaching remains the same. He learns about the solar system. Does he look at the diagrams in his textbook? No. His class is taken to a planetarium where he looks at 3-dimensional, moving model, and grasps the concept. For learning about the earth, they are taken on field trips.

Robert Kiyosaki, business owner and teacher, lamented the fact that “… we do not learn from history. We only memorise historical dates and names, but not the lessons.” We need to rectify that immediately. Today’s students are tomorrow’s leaders. If indeed they do not learn from history, it will be a tragedy.

Along with this practical shift, we have to prune useless theory too. In the tenth standard, we had to memorise most of India’s railway network, along with every single place in this vast country where mica, bauxite, copper, and a few minerals I haven’t heard of since, were mined. We forgot all of that right the day after the exam. What the purpose was of teaching us all that, is still a mystery to me.

Hope springs eternal, though. The world acknowledges that India has some of the world’s finest teachers. There is no doubt that, sooner or later, the next generation will be learning by experiencing the world, not by reading about it. Clearly, the book is not enough!

Categories
Uncategorized

Letter to the Editor of the Indian Express about the SQL Slammer worm

Your editorial “When the worm turns”, on 28th January, brings to the fore a worrying aspect of computing that seems to have escaped the notice of most of us.

The SQL slammer worm, as you mentioned, exploited a gaping vulnerability in the Microsoft database program SQL Server, used by many many businesses around the world on their mission-critical systems. You have described the enormous damage it caused around the world, particularly in “wired” countries.

Now, at the end of your editorial you have written “Now, if only Microsoft would hurry up and plug that glitch in their software.” This is a crucial point to make and is the crux of my whole argument – should the world rely on just one company to keep its systems, worth billions and billions of dollars, up and running? By this I do not mean that Microsoft is to blame per se. It is perfectly natural on its part to provide software that businesses need. The fatal mistake that businesses are making is, going in for software that is closed source, like all of Microsoft’s.

Closed source software is the kind that does not allow the end user to see or modify the source code (the files written in various programming languages that make up the end product). This means that Microsoft and Microsoft only can control SQL Server (and indeed all its other products). Any vulnerability in the program can be fixed through patches issued only by Microsoft, which may choose when to do so and whom to distribute these patches to. True, major Anti-Virus companies have issued fixes to guard against this worm and others, but as usual this is a reaction, these are steps taken only after the damage has occurred. The question we need to ask ourselves is “Why should there have been such a vulnerability in the first place?” This vulnerability remained because no one was able to review SQL Server’s source code in order to notice the problem. If the source code had been released to the public along with the product (or even as the product was being developed), many of the known and (God forbid!) as yet unknown bugs might have been revealed long back.

There is a software movement called Open Source Software. This movement believes in free access to the source code of products, and cooperative development of software. Through this model of software development, excellent products have emerged, such as the Linux operating system, and the Apache Web Server (a web server is the software that drives a website). Open Source Software gives complete control of the software to the end user, with the freedom to use modify and redistribute the software as he wishes (with some restrictions to maintain the free nature of software). This software is the kind that we ought to be using, simply because of the control that it grants us. No longer does an organisation have to depend upon a handful of companies to maintain its software, and thus, its data.

This last point is important. Most commercial software, especially database products, store the customers’ data in its own format, which is readable only by that company’s software. The details of the format will never be made public. This renders the company totally dependent on the software vendor to guarantee access to the data. As we all know, data is the cornerstone of any organisation. Should businesses, whether small or collosal, leave control of their data in the hands of a single company?

As far as the question of security goes, Open Source Software undergoes intense testing and review by developers around the world. Most bugs in the software are reported immediately, and fixes are released in a matter of hours, rather than days or weeks, as with commercial software.

Will the businesses which lost money due to this worm , or the countless users who were unable to access their email, hold Microsoft accountable for this devastation that this worm has caused? No. It will be the insurance companies who will have to dole out any compensation. Time and money lost is lost forever. And after all this, we have no guarantee (and it is unreasonable to expect one) from Microsoft that its products will no longer contain such vulnerabilities.

Microsoft will continue making buggy products, which will continue to be a bigger menace to the world business, as computing technology makes further inroads into our lives. It is up to us to decide whether to risk our fortunes upon a single, unamenable entity, or upon Open Source products, which are freely modifiable, and thus more secure.