अलीकडंच महाराष्ट्राच्या विधानसभेत झालेल्या राड्यानंतर अबू आझमींनी ठरवलं की झालं तेवढं खूप झालं, आता यापुढे मराठीतच बोलायचं. राजला वावगं पोलिटीकल माइलेज मिळू द्यायचं नाही. आणि मग काय विचारता एक-दोन दिवसात त्यांनी मराठीचा जोरदार अभ्यास केला अणि विधानसभेत झालेला राड़ा चक्क 'रेशमाच्या रेघांनी' च्या सुरात म्हणून दाखवला.
तर तोच हा राडा, शब्दबद्ध केला आहे अबू आझमींनी -
शपथ घेत होतो मोठ्या गुर्मीत
रोवण्या हिंदीचा झेंडा, मराठी मातीत ... मातीत बाई मातीत ...
सोनेरी वंजाळेनं, चकाकत्या हातांनी
स्टेजवरचा माइकच उपसून काढीला
हात नका लावू माझ्या माइकला ...
हिंदीवरती माझी पोळी भाजण्यासाठी
गरज होती मला, मराठी झिडकारायची ... बाई बाई, झिडकारायची ...
हिंदीतच शपथ घेतली, अणि वर चप्पल दाखवली
कुवे-के-मेंडक का तोरा कैसे जीरवला
हात लावून दाखवा माझ्या बॉडी ला ...
नवीकोरी चप्पल, माझ्या आझमगडची
मुलायम ने दिली, राजला दाखवायसाठी ... बाई बाई, दाखवायसाठी
शिंद्यांच्या शिशिरानं, महाराष्ट्राचा नकाशा,
गालावर माझ्या की हो काढीला ...
हात नका लावू माझ्या गालाला ...
करायला गेलो, एक, झाले भलतेच
भर विधानसभेत झाली रस्सीखेच ... रस्सीखेच बाई रस्सीखेच
वाचवण्या जीव माझा, मीनाक्षीताई धावल्या
एका स्त्री च्या मागे आश्रय शोधीला
प्लिझ हात नका घालू माझ्या अब्रुला ...
Thursday, November 12, 2009
Monday, September 21, 2009
Choosing Instant Messaging client for Windows Mobile
Since I have baught my HTC Touch Pro, it's awesome keyboard has opened up a lot of doors for me. Staying online 24x7 through GTalk has been one of them. It's very exciting to be online and accessible always. It helps you keep in touch with your friends. The choice for an appropriate IM client for Windows Mobile, is not a straight-forward one though. You have to first be clear about what to expect from such a client - whether it's chatting or voice calls or file sharing or something else. Then you can go on and select a client. Everyone of available free IM clients on WinMo, has it's own set of shortcomings; so it helps to have your priorities defined in advance.
Anayway, here I present a few (or rather most of the available) winmo IM clients, that I have used recently and the factors that set them apart from each other. I have listed pros and cons of each of them alongwith my personal rating.
I have used/tested these IM apps on my HTC Touch Pro running Windows Mobile 6.1. Though it's a shipped ROM and not a customized one, I have done some performance tweaking using Advanced Config Tool.
Palringo
Website: http://www.palringo.com/en/gb/
Download Link: http://www.palringo.com/en/gb/download/
License Type: Free
Supported Protocols:
MSN Messenger, AIM, Yahoo!, GTalk, ICQ, Jabber, iChat / MobileMe, QQ, Gadu-Gadu, Facebook Chat (Alpha)
Pros
Fring
Website: http://www.fring.com/default.asp
Download Link: http://www.fring.com/download/
Licence Type: Free
Supported Services:
Skype, MSN Messenger, GTalk, ICQ, SIP, Twitter, Yahoo!, AIM, Facebook
Pros
Nimbuzz
Website: http://www.nimbuzz.com/en/
Download Link: http://www.nimbuzz.com/en/mobile/download
Licence Type: Free
Supported Protocals:
Skype, MSN, Yahoo!, ICQ, AIM, GTalk and more
Pros
BeejiveIM
Website: http://www.beejive.com/
Download Link: http://www.beejive.com/download/winmo
Licence Type: Free (beta)
Supported Protocols:
AIM, iChat / MobileMe, MSN Messenger, Yahoo!, MySpace, GTalk, ICQ, Jabber
Pros
Octrotalk
Website: http://www.octro.com/
Download Link: No direct link, as you have to accept a EULA before the download.
Licence Type: Paid
Price: $29.95
Supported Services:
GTalk, Jabber, MSN Messenger, AIM, ICQ, Yahoo!
Description
This is one IM app that I used to use on my O2 XDA Orbit, sometime ago. It was in beta that time, and I pretty much liked the functionality it offered, with very good notifications support. Now the IM client app has become paid, and is priced at a steep $30 (keeping in mind the presence of free IM clients).
Features
Agile Messenger
Website: http://www.agilemobile.com/
Download Link: http://www.agilemobile.com/download.html
Licence Type: Paid
Price: $44.95
Supported Services:
MSN, Yahoo!, ICQ, AIM, GTalk
Description
While I found this IM client while searching on google, I didn't even give it a thought of testing, when I found out the ghastly price tag of $45!! And still no support for voice calls it seems. It only mentions voice messaging (which is not equivalent to voice calls).
Features
A few Others
Below are two more free winmo IM clients that I came across, but found the interface very bad and non-intuitive. I wouldn't like to use them in their current state, hence I haven't reviewed them. The links are included here just in case they turn out to be useful to somebody.
Talkonaut
Website: http://www.talkonaut.com/
Download link: http://www.talkonaut.com/download.shtml
Type: Free
Slick
Website: http://www.lonelycatgames.com/?app=slick
Download Link: http://www.lonelycatgames.com/?app=slick&page=download&platform=windowsmobile
Type: Free
Conclusion
I have tried to capture the plus points and annoyances of each of the IM clients I used. After sometime of use, I have found BeejiveIM to fit my bill, even though it doesnt offer file/photo sharing or voice calling. Everybody has their own needs and expects different features. I hope this comparison helps people find their desired IM client app.
I have tried to be as correct as possible. In case you find any of the above information wrong/mis-interpreted, please let me know; I will verify it and will update this blogpost accordingly.
Technorati Tags: touch pro, winmo, gadgets, instant messaging, IM, gtalkAnayway, here I present a few (or rather most of the available) winmo IM clients, that I have used recently and the factors that set them apart from each other. I have listed pros and cons of each of them alongwith my personal rating.
I have used/tested these IM apps on my HTC Touch Pro running Windows Mobile 6.1. Though it's a shipped ROM and not a customized one, I have done some performance tweaking using Advanced Config Tool.
Palringo
Website: http://www.palringo.com/en/gb/
Download Link: http://www.palringo.com/en/gb/download/
License Type: Free
Supported Protocols:
MSN Messenger, AIM, Yahoo!, GTalk, ICQ, Jabber, iChat / MobileMe, QQ, Gadu-Gadu, Facebook Chat (Alpha)
Pros
- Clean and simple interface
- Works in power and data save mode
- Location reporting in status (can be disabled if required)
- Requires registration with Palringo
- Weird notification - when an instant message arrives, there is sound played, and an icon is displayed in the start bar. but the pop up awkwardly contains two buttons - Open Palringo, Dismiss Message. Instead the message could directly have been reported in the pop up itself.
- After opening Palringo following an IM notification, the user is not led to the IM session itself, rather he has to click on Chat to open it. Not very intuitive.
- Gtalk voice-calling is not supported. only voice messages can be sent. Real time call is not allowed.
- The default sound notification for incoming IM, is very lame. If you want to change it, only a WAV file is supported. It turns out to be a nightmare to find an alert of choice in WAV format. WMA format would have been much nicer to have as all pre-installed windows alerts are in WMA format.
- If google or yahoo are the accounts you want to keep logged in, you will compulsory need to stay logged into the Palringo registered account. If you log out of Palringo, you logout of all other configured services. It means at least two IM services need to stay connected, which, I suspect, will result in higher data usage. It will also result in draining the battery.
- HTML links sent in IM are not clickable in chat window. You cannot copy them either. Very frustrating.
- Uninstallation is not clean. A link remains in startup, which keeps bugging you for missing Palringo executable, on each reboot. The registry entry is not cleaned up either. you have to do it yourself, which is not something that every end user will know how to.
Fring
Website: http://www.fring.com/default.asp
Download Link: http://www.fring.com/download/
Licence Type: Free
Supported Services:
Skype, MSN Messenger, GTalk, ICQ, SIP, Twitter, Yahoo!, AIM, Facebook
Pros
- Supports calling google talk contacts through VoIP
- Major: Fring appends its advertisements below every IM that u send. That's very bad in my opinion.
- There is no way to update ur status on fring. Fring 'hardcodes' it to something like 'Online through www.fring.com'. That's bad too.
- The interface is very amaturish and crude and contains a lot of annoyances. Hence not ideal for regular use, in my opinion.
Nimbuzz
Website: http://www.nimbuzz.com/en/
Download Link: http://www.nimbuzz.com/en/mobile/download
Licence Type: Free
Supported Protocals:
Skype, MSN, Yahoo!, ICQ, AIM, GTalk and more
Pros
- Has a good clean interface.
- Supports file/photo transfers.
- Supports VoIP chat with google contacts.
- Has an interesting Buzz feature. More details here.
- Major: DOESN'T HAVE NOTIFICATIONS!! You are notified only if the application is in the foreground! I totally fail to understand how come the designers/devlopers of Nimbuzz failed to understand the importance of proper notifications. It's like building a Ferrari and not putting in a dashboard inside - just the driving wheel. You can still drive using the driving wheel, but you cannot go and check the petrol every 10-20 mins. It's nasty.
- With Nimbuzz, if my Touch Pro's screen is turned off, there is absolutely no notification, neither audio nor visual. Both, IM pings as well as IM voice calls, are not communicated. Frankly speaking, this shortcoming makes this powerful app utterly useless. I cannot stress its importance more. notifications are must-haves not nice-to-haves.
- Major: Sometimes you may find that you are logged out without any reason. You never know for how long. It's very irritating.
- Requires account registration with Nimbuzz.
- HTML link is neither clickable nor the text is selectable in the chat windows.
BeejiveIM
Website: http://www.beejive.com/
Download Link: http://www.beejive.com/download/winmo
Licence Type: Free (beta)
Supported Protocols:
AIM, iChat / MobileMe, MSN Messenger, Yahoo!, MySpace, GTalk, ICQ, Jabber
Pros
- No account registration required.
- HTML links are clickable in chat window
- Status bar notifications and sound notifs are available for incoming pings and they are good.
- Clean interface
- Easy to set Status quickly
- Doesnt support voice calling
- Doesnt support file/photo sharing
- Leaks memory big time.
- Sometime it can go down and simply refuse to connect. Happened twice to me; out of which, once, I believe, was due to memory leak, and it started working after a soft reboot. The other occasion was this error. But I am back up now after few days of inactivity.
Octrotalk
Website: http://www.octro.com/
Download Link: No direct link, as you have to accept a EULA before the download.
Licence Type: Paid
Price: $29.95
Supported Services:
GTalk, Jabber, MSN Messenger, AIM, ICQ, Yahoo!
Description
This is one IM app that I used to use on my O2 XDA Orbit, sometime ago. It was in beta that time, and I pretty much liked the functionality it offered, with very good notifications support. Now the IM client app has become paid, and is priced at a steep $30 (keeping in mind the presence of free IM clients).
Features
- Supports majority of the protocols
- Supports VoIP calls
- Support file/photo transfer
- Claims to support video calling
- Clean and very minimalistic interface
- Encrypted IM messaging for Google Talk (using TLS/SSL)
Agile Messenger
Website: http://www.agilemobile.com/
Download Link: http://www.agilemobile.com/download.html
Licence Type: Paid
Price: $44.95
Supported Services:
MSN, Yahoo!, ICQ, AIM, GTalk
Description
While I found this IM client while searching on google, I didn't even give it a thought of testing, when I found out the ghastly price tag of $45!! And still no support for voice calls it seems. It only mentions voice messaging (which is not equivalent to voice calls).
Features
- Voice/Video messaging
- Photo transfer
A few Others
Below are two more free winmo IM clients that I came across, but found the interface very bad and non-intuitive. I wouldn't like to use them in their current state, hence I haven't reviewed them. The links are included here just in case they turn out to be useful to somebody.
Talkonaut
Website: http://www.talkonaut.com/
Download link: http://www.talkonaut.com/download.shtml
Type: Free
Slick
Website: http://www.lonelycatgames.com/?app=slick
Download Link: http://www.lonelycatgames.com/?app=slick&page=download&platform=windowsmobile
Type: Free
Conclusion
I have tried to capture the plus points and annoyances of each of the IM clients I used. After sometime of use, I have found BeejiveIM to fit my bill, even though it doesnt offer file/photo sharing or voice calling. Everybody has their own needs and expects different features. I hope this comparison helps people find their desired IM client app.
I have tried to be as correct as possible. In case you find any of the above information wrong/mis-interpreted, please let me know; I will verify it and will update this blogpost accordingly.
Friday, April 24, 2009
Connecting to Internet on Ubuntu using GPRS on HTC PDAs
I own an awesome O2 XDA Orbit (base model - HTC P3350) PDA which has kept me satisfied with its features for almost last 2 years. Coupled with a fantastic GPRS plan from Idea (with really good connection speeds, I admit), it was very easy for me to remain connected 24x7. When my laptop had Windows (OEM version that came with my Dell Vostro), the internet connection sharing feature on the PDA allowed me to use GPRS internet on my laptop whenever I visited Sangli. Windows used to automatically configure itself to use this GPRS internet (I didn't like it though, as these things were happening without me knowing any details).
Then came a day when I got frustrated enough with Windows, and destroyed windows (with all its partitions) once and for all, from my laptop, and installed 3-4 different linux flavours instead. That (golden) day was Sunday 8 March 2009.
Since then, I have never missed windows again, but for some exceptions like iTunes, which is just not available on windows (see my previous post about this - iTunes for Ubuntu) or configuring different networking interfaces (like autoconnecting to wireless networks). Connecting to GPRS internet connection provided by my PDA to Ubuntu, had been one such problem that I didn't have a clue about.
The solution, though, turned out to be pretty simple. There are two ways to share Internet Connection from a windows mobile 6 device, like my O2 XDA Orbit -
USB Connection (RNDIS)
What is needed is an RNDIS (Remove Network Device Interface Specification) driver on Ubuntu.
So get the sources of one such driver, build it and install the kernel module -
shreyas@ghatotkatch:~$ svn co https://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
shreyas@ghatotkatch:~$ cd usb-rndis-lite
shreyas@ghatotkatch:~/usb-rndis-lite$ make
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo ./clean.sh
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo make install
Then edit the network interface file -
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo emacs /etc/network/interfaces
Add following entries to the interfaces file -
auto rndis0
iface rndis0 inet dhcp
Save the file and restart your network interfaces -
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo /etc/init.d/networking stop
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo /etc/init.d/networking start
That's it. Now on your WM6 PDA, select Start>Programs>Internet Connection Sharing.
I assume you have already configured GPRS on your PDA. So in the Internet Connection Sharing app, select USB as PC-Connection type, and click Connect. Now connect your PDA to the USB port.
The RNDIS connection should be automatically configured and the rndis0 interface should have got an IP address. To check this, run /sbin/ifconfig command, and verify the rndis0 interface.
Reference - http://forums.opensuse.org/1579065-post1.html
Bluetooth PAN
It has been my experience that Bluetooth PAN (Personal Area Network) slows down the internet connection a bit (as compared to connecting to USB) and also eats into the device battery.
Anyway, to configure a Bluetooth PAN on Hardy Heron (8.04), you need to install atleast following packages -
shreyas@ghatotkatch:~$ sudo apt-get install bluez bluez-compat
The network interfaces file will need to be edited -
shreyas@ghatotkatch:~$ sudo emacs /etc/network/interfaces
Add a new interface for our Bluetooth PAN -
auto benp0
iface benp0 inet dhcp
Then add the bnep module to the kernel. This module takes care of the Bluetooth PAN interface. By the way, BNEP stands for Bluetooth Network Encapsulation Protocol.
shreyas@ghatotkatch:~$ sudo modprobe bnep
Now select Bluetooth PAN as PC Connection type in internet connection sharing app on your PDA, and try to find the PDA from your laptop / PC -
shreyas@ghatotkatch:~$ hcitool scan
Scanning ...
00:17:E5:3F:BE:E8 hexaM!ner
Use the hex string to connect to the PAN network -
shreyas@ghatotkatch:~$ sudo pand --connect 00:17:E5:3F:BE:E8
That's it. You should be connected, and your bnep0 interface should have got a brand new IP address. You can verify it using /sbin/ifconfig.
Reference: This article on samiux.wordpress.com
Technorati Tags: gprs, internet connection sharing, ubuntu, bluetooth pan, rndis

Then came a day when I got frustrated enough with Windows, and destroyed windows (with all its partitions) once and for all, from my laptop, and installed 3-4 different linux flavours instead. That (golden) day was Sunday 8 March 2009.
Since then, I have never missed windows again, but for some exceptions like iTunes, which is just not available on windows (see my previous post about this - iTunes for Ubuntu) or configuring different networking interfaces (like autoconnecting to wireless networks). Connecting to GPRS internet connection provided by my PDA to Ubuntu, had been one such problem that I didn't have a clue about.
The solution, though, turned out to be pretty simple. There are two ways to share Internet Connection from a windows mobile 6 device, like my O2 XDA Orbit -
- USB
- Bluetooth PAN
USB Connection (RNDIS)
What is needed is an RNDIS (Remove Network Device Interface Specification) driver on Ubuntu.
So get the sources of one such driver, build it and install the kernel module -
shreyas@ghatotkatch:~$ svn co https://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
shreyas@ghatotkatch:~$ cd usb-rndis-lite
shreyas@ghatotkatch:~/usb-rndis-lite$ make
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo ./clean.sh
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo make install
Then edit the network interface file -
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo emacs /etc/network/interfaces
Add following entries to the interfaces file -
auto rndis0
iface rndis0 inet dhcp
Save the file and restart your network interfaces -
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo /etc/init.d/networking stop
shreyas@ghatotkatch:~/usb-rndis-lite$ sudo /etc/init.d/networking start
That's it. Now on your WM6 PDA, select Start>Programs>Internet Connection Sharing.
I assume you have already configured GPRS on your PDA. So in the Internet Connection Sharing app, select USB as PC-Connection type, and click Connect. Now connect your PDA to the USB port.
The RNDIS connection should be automatically configured and the rndis0 interface should have got an IP address. To check this, run /sbin/ifconfig command, and verify the rndis0 interface.
Reference - http://forums.opensuse.org/1579065-post1.html
Bluetooth PAN
It has been my experience that Bluetooth PAN (Personal Area Network) slows down the internet connection a bit (as compared to connecting to USB) and also eats into the device battery.
Anyway, to configure a Bluetooth PAN on Hardy Heron (8.04), you need to install atleast following packages -
shreyas@ghatotkatch:~$ sudo apt-get install bluez bluez-compat
The network interfaces file will need to be edited -
shreyas@ghatotkatch:~$ sudo emacs /etc/network/interfaces
Add a new interface for our Bluetooth PAN -
auto benp0
iface benp0 inet dhcp
Then add the bnep module to the kernel. This module takes care of the Bluetooth PAN interface. By the way, BNEP stands for Bluetooth Network Encapsulation Protocol.
shreyas@ghatotkatch:~$ sudo modprobe bnep
Now select Bluetooth PAN as PC Connection type in internet connection sharing app on your PDA, and try to find the PDA from your laptop / PC -
shreyas@ghatotkatch:~$ hcitool scan
Scanning ...
00:17:E5:3F:BE:E8 hexaM!ner
Use the hex string to connect to the PAN network -
shreyas@ghatotkatch:~$ sudo pand --connect 00:17:E5:3F:BE:E8
That's it. You should be connected, and your bnep0 interface should have got a brand new IP address. You can verify it using /sbin/ifconfig.
Reference: This article on samiux.wordpress.com
Technorati Tags: gprs, internet connection sharing, ubuntu, bluetooth pan, rndis
India Votes: My Experience With Section 49-O
With so many hopes, so many emotions, so many uncertainties and so many opinions going into this election in India, the dust has finally settled on this leg of the election which covered most of the Maharashtra. For long their had been this talk about negative voting (which unfortunately hadn't been implemented in this election), and about the section 49-O of Conduction of Elections Rule 1961. The talk started gaining momentum especially after the mass public awaking due to the Mumbai attacks in November 2008. Those images of the majestic Taj burning helplessly, burnt many a hearts in India. People started being very vocal against the politicians. And then started many exchanges about this Section 49-O. Not many people were aware of existence of any such thing. There were many rumors as well about what exactly is this section and how one can use it. There were rumors about this being used against a candidate if the number of section 49-O votes exceeded the number of votes the winning candidate garnered.
So to get to the base of it, I went through lots of websites and links. I googled around here and there, through Indian government websites, and the likes of wikis; and finally I came to know for sure that, the section 49-O does exists, and though not as useful as has been rumored, it at least allows one to be a responsible citizen by letting him show the intention of casting his vote, but still making it possible for him to listen to his intellect and avoid committing a moral crime by voting for a criminal.
Even after all this brouhaha about this, I am sure, quite a lot people who are in the know, still doubt about existence of such a section. They confuse it with the negative-voting proposal and dismiss it saying it's still not implemented.
I had verified this section in the actual law text on an official Indian Govt website and wanted to rest all those doubts once and for all through a real voting experience. So here are the details of what happened in an election booth in Sangli, my home town, when I tried to actually use this section.
I went in the election booth, signed against my name, got my finger painted, and just before voting, I told them I wanted to speak to the election booth officer. The officer was not at his desk at that time, so they asked me exactly why I want to talk to the booth officer. I told them I wanted to use section 49-O. From their reaction, I realized I was first such 'case' there. After I explained to them what exactly it was, in as pure Marathi as much I could get out of my partially westernized tongue, few heads started turning, due to this unusual discussion in an election booth. Then once the whole thing sunk in, everybody around was on a mission to convince me that such thing just doesn't exist. I got a jolt when even the election booth officer outrightly refused knowing about any such thing as section 49-O. All this time, I was firm on my stand that there does exist this section which allows me not to vote for any of the candidates, and the booth officer/supervisor just needs to note my name down in some list. After around half an hour of discussions, and lots of rounds of convincing each other, they gave in and started going through their documents, instructions and booklets. And finally one of the smart guys there, found the section mentioned in the booklet. He was honest enough to read it aloud, even though that meant I being exactly right, and they all being totally wrong. While I don't want to blame those guys there, I really feel the need for these people being clearly briefed about existence of such a section, so that somebody who really wants to use this sections, doesnt get persuaded out of it.
Finally, there came a remark against my name on voter's list saying - 'Matadaan karanyas spashta nakaar' - 'Outright refusal to vote'!!
I was registered to have voted, my finger was painted, and still I didnt commit a moral crime by voting for a crook/a criminal.
I know people will be quick enough to dismiss this as juvenile, immature, and what not. They will be quick to tell me that this defeats the basic purpose of democracy if you refuse to vote. The wikipedia page on section 49-O mentions such criticisms by so-called 'experts' criticizing the negative voting proposal.
The first specific criticism is - "It is the duty of every citizen to educate himself/herself about the agenda of the candidates and to vote conscientiously for the candidate they think is better. The very purpose of an election is that a representative should be chosen by the people. Encouraging people not to express their preferred candidate goes against the intended purpose."
Think about it this way. In India, politics is by and large looked down upon. This is because of the presence of large number of crooks and criminals amongst the political masses. So the political spectrum remains devoid of the honests, capables and the 'good' guys. The general apathy of people towards voting speaks a lot for itself. So even in its current form, it will be very bold to say that people are 'choosing' their representatives, when the voting percentages are 40% and 50%. If negative voting is allowed, people will get a new, powerful and most importantly a >real< weapon in their hands, with which they can have a better go at having good leaders. As far as my information goes. the negative voting proposal also notes that if there happens a case where negative votes exceed the votes garnered by any of the candidates, those same candidates will not be allowed to appear for a re-election in that constituency. This makes perfect sense. This will teach the crooks a lesson and will give the deserving, well-educated leaders a new hope. So rather than going against the intended purpose, this negative voting proposal actually goes totally in line with the intended purpose.
The second criticism is that this will result in waste of public funds. How naive!!!
I mean what is costlier? Re-election? or choosing a criminal to guard and use the public fund?
They say, people get the kind of leaders they deserve. In India, getting the middle class to vote is key to 'deserving' better leaders and this radical step of allowing negative voting is a surefire way to make them feel positive about voting.
I just hope we are not kept waiting for this very important and much anticipated electoral reform, even in the next election.

So to get to the base of it, I went through lots of websites and links. I googled around here and there, through Indian government websites, and the likes of wikis; and finally I came to know for sure that, the section 49-O does exists, and though not as useful as has been rumored, it at least allows one to be a responsible citizen by letting him show the intention of casting his vote, but still making it possible for him to listen to his intellect and avoid committing a moral crime by voting for a criminal.
Even after all this brouhaha about this, I am sure, quite a lot people who are in the know, still doubt about existence of such a section. They confuse it with the negative-voting proposal and dismiss it saying it's still not implemented.
I had verified this section in the actual law text on an official Indian Govt website and wanted to rest all those doubts once and for all through a real voting experience. So here are the details of what happened in an election booth in Sangli, my home town, when I tried to actually use this section.
I went in the election booth, signed against my name, got my finger painted, and just before voting, I told them I wanted to speak to the election booth officer. The officer was not at his desk at that time, so they asked me exactly why I want to talk to the booth officer. I told them I wanted to use section 49-O. From their reaction, I realized I was first such 'case' there. After I explained to them what exactly it was, in as pure Marathi as much I could get out of my partially westernized tongue, few heads started turning, due to this unusual discussion in an election booth. Then once the whole thing sunk in, everybody around was on a mission to convince me that such thing just doesn't exist. I got a jolt when even the election booth officer outrightly refused knowing about any such thing as section 49-O. All this time, I was firm on my stand that there does exist this section which allows me not to vote for any of the candidates, and the booth officer/supervisor just needs to note my name down in some list. After around half an hour of discussions, and lots of rounds of convincing each other, they gave in and started going through their documents, instructions and booklets. And finally one of the smart guys there, found the section mentioned in the booklet. He was honest enough to read it aloud, even though that meant I being exactly right, and they all being totally wrong. While I don't want to blame those guys there, I really feel the need for these people being clearly briefed about existence of such a section, so that somebody who really wants to use this sections, doesnt get persuaded out of it.
Finally, there came a remark against my name on voter's list saying - 'Matadaan karanyas spashta nakaar' - 'Outright refusal to vote'!!
I was registered to have voted, my finger was painted, and still I didnt commit a moral crime by voting for a crook/a criminal.
I know people will be quick enough to dismiss this as juvenile, immature, and what not. They will be quick to tell me that this defeats the basic purpose of democracy if you refuse to vote. The wikipedia page on section 49-O mentions such criticisms by so-called 'experts' criticizing the negative voting proposal.
The first specific criticism is - "It is the duty of every citizen to educate himself/herself about the agenda of the candidates and to vote conscientiously for the candidate they think is better. The very purpose of an election is that a representative should be chosen by the people. Encouraging people not to express their preferred candidate goes against the intended purpose."
Think about it this way. In India, politics is by and large looked down upon. This is because of the presence of large number of crooks and criminals amongst the political masses. So the political spectrum remains devoid of the honests, capables and the 'good' guys. The general apathy of people towards voting speaks a lot for itself. So even in its current form, it will be very bold to say that people are 'choosing' their representatives, when the voting percentages are 40% and 50%. If negative voting is allowed, people will get a new, powerful and most importantly a >real< weapon in their hands, with which they can have a better go at having good leaders. As far as my information goes. the negative voting proposal also notes that if there happens a case where negative votes exceed the votes garnered by any of the candidates, those same candidates will not be allowed to appear for a re-election in that constituency. This makes perfect sense. This will teach the crooks a lesson and will give the deserving, well-educated leaders a new hope. So rather than going against the intended purpose, this negative voting proposal actually goes totally in line with the intended purpose.
The second criticism is that this will result in waste of public funds. How naive!!!
I mean what is costlier? Re-election? or choosing a criminal to guard and use the public fund?
They say, people get the kind of leaders they deserve. In India, getting the middle class to vote is key to 'deserving' better leaders and this radical step of allowing negative voting is a surefire way to make them feel positive about voting.
I just hope we are not kept waiting for this very important and much anticipated electoral reform, even in the next election.
Sunday, April 12, 2009
VirtualBox VM with Host Interface Setup on Debian Lenny
For sometime now I had been wishing for a debian virtual machine which can talk to the host - another debian or a ubuntu. If you have used VirtualBox on debian/ubuntu before, I am sure you know NAT is the easiest type you can setup in VirtualBox OSE; while Host Interface configuration is probably the toughest to figure out on your own, especially if you are not used to setting up bridges and stuff. But necessity is mother of reasearch, for engineers. So after a day of struggle I have finally got what I wanted. Here I share with you not only the installation of virtualbox ose in a trouble free manner, but also the simplest way host interface can be configured.
Installing virtualbox on ubuntu turned out to be a breeze for me, as I used the VirtualBox package directly from the virtualbox website. On my Debian Lenny 5.0 though, the DVDs installed VirtualBox-OSE v1.6x which is the open-source-edition; and totally inline with the debian tradition and philosophy. Since I am becoming more and more inclined towards this total-GPL thingy, I decided to set up this GPLed virtualbox only, come what may. I hear Virtualbox v2.1 makes things a lot easier though, just in case you wanna try.
To start with, first I installed the virtualbox-ose packages.
mrutyunjay:~$ sudo apt-get install virtualbox-ose virtualbox-ose-modules module-assistant
module-assistant is required for setting up 'vboxdrv' module required by virtualbox.
Once the installation is through, auto-install the vboxdrv module using module-assistant.
mrutyunjay:~$ sudo m-a prepare
mrutyunjay:~$ sudo m-a -f get virtualbox-ose
mrutyunjay:~$ sudo m-a a-i virtualbox-ose
mrutyunjay:~$ sudo modprobe vboxdrv
Add yourself to the 'vboxusers' group (so that virtualbox can access vboxdrv)
mrutyunjay:~$ sudo adduser username vboxusers
Check your 'kernel' argument list in /boot/grub/menu.lst. Just in case it has something like nmi-watchdog in it, remove that portion. (Mine didnt have this). This is to avoid one of the most commonly observed troubles while setting up virtualbox.
Check if 'vboxdrv' module was loaded successfully -
mrutyunjay:~$ dmesg | grep vboxdrv
You should see a success message, like the one below -
[ 1883.765045] vboxdrv: Successfully loaded version 1.6.6_OSE (interface 0x00080000).
If you get the above message, you are done with the first part. Now reboot your system (relogin should do as well).
Host Interface Configuration
For setting up Host Interface, we will need to install bridge-utils package.
mrutyunjay:~$ sudo apt-get install bridge-utils
There are at least two ways to setup the bridge which will enable the host to talk to guest, and vice versa. One is to set a simple bridge definition in /etc/network/interface file. The other is to write setup and cleanup scripts for bridge and TAP interfaces (using VBoxTunctl and brctl); and then run these scripts before and after start-stop of the virtual machine. Out of these, the first approach of modifying the /etc/network/interface file, is easiest one and gets the job done in short time.
To setup the bridge, first you need to create a permanent TAP interface for virtualbox. Open the /etc/vbox/interfaces file -
mrutyunjay:~$ sudo emacs /etc/vbox/interfaces
Add following definition to it -
vbox0 username br0
Goes without saying that you should replace 'username' with your user name in the above definition.
Here br0 is the name of the bridge that we are going to setup now.
Open the /etc/network/interfaces file for editing.
mrutyunjay:~$ sudo emacs /etc/network/interface
Add following bridge definition to the file -
auto br0
iface br0 inet static
address 10.0.0.1
netmask 255.255.255.0
bridge_ports vbox0
You can customize the IP address and netmask. I have set it up to be static, for simplicity.
Now that we are done with network interface settings, time to restart both the networking interfaces -
mrutyunjay:~$ sudo /etc/init.d/networking restart
mrutyunjay:~$ sudo /etc/init.d/virtualbox-ose restart
Our 'vbox0' TAP interface requires bridge 'br0' defined before it gets attached to the bridge. So make sure you dont alter the order above.
After restarting network interfaces, ensure that our TAP and bridge interfaces are up and running, using /sbin/ifconfig. It should show 'br0' with above entered IP address and 'vbox0' without any IP address.
We enter this TAP interface name (vbox0) in virtualbox network configuration. Set the network to Host Interface and enter vbox0 as interface name and start the virtual machine.
Guest VM Setting (linux flavour)
I had lightweight text-mode debian lenny 5 as my guest VM. So I will explain the network setting accordingly. But for any other linux flavours, network setting should be on these lines only.
Here in the guest VM, you need to setup the networking interface eth0 to be aware of 10.0.0.1 bridge. The bridge is your host machine.
So add following information to your /etc/network/intertface file -
shaunak:~$ sudo emacs /etc/network/interface
iface eth0 inet static
address 10.0.0.2
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1
And finally, restart networking -
shaunak:~$ sudo /etc/init.d/networking restart
That's it! Now try pinging your bridge 10.0.0.1 from VM and vice versa -
shaunak:~$ ping -c3 10.0.0.1
mrutyunjay:~$ ping -c3 10.0.0.2
If both the pings are successful, YO!, your network is up and running.

Installing virtualbox on ubuntu turned out to be a breeze for me, as I used the VirtualBox package directly from the virtualbox website. On my Debian Lenny 5.0 though, the DVDs installed VirtualBox-OSE v1.6x which is the open-source-edition; and totally inline with the debian tradition and philosophy. Since I am becoming more and more inclined towards this total-GPL thingy, I decided to set up this GPLed virtualbox only, come what may. I hear Virtualbox v2.1 makes things a lot easier though, just in case you wanna try.
To start with, first I installed the virtualbox-ose packages.
mrutyunjay:~$ sudo apt-get install virtualbox-ose virtualbox-ose-modules module-assistant
module-assistant is required for setting up 'vboxdrv' module required by virtualbox.
Once the installation is through, auto-install the vboxdrv module using module-assistant.
mrutyunjay:~$ sudo m-a prepare
mrutyunjay:~$ sudo m-a -f get virtualbox-ose
mrutyunjay:~$ sudo m-a a-i virtualbox-ose
mrutyunjay:~$ sudo modprobe vboxdrv
Add yourself to the 'vboxusers' group (so that virtualbox can access vboxdrv)
mrutyunjay:~$ sudo adduser
Check your 'kernel' argument list in /boot/grub/menu.lst. Just in case it has something like nmi-watchdog in it, remove that portion. (Mine didnt have this). This is to avoid one of the most commonly observed troubles while setting up virtualbox.
Check if 'vboxdrv' module was loaded successfully -
mrutyunjay:~$ dmesg | grep vboxdrv
You should see a success message, like the one below -
[ 1883.765045] vboxdrv: Successfully loaded version 1.6.6_OSE (interface 0x00080000).
If you get the above message, you are done with the first part. Now reboot your system (relogin should do as well).
Host Interface Configuration
For setting up Host Interface, we will need to install bridge-utils package.
mrutyunjay:~$ sudo apt-get install bridge-utils
There are at least two ways to setup the bridge which will enable the host to talk to guest, and vice versa. One is to set a simple bridge definition in /etc/network/interface file. The other is to write setup and cleanup scripts for bridge and TAP interfaces (using VBoxTunctl and brctl); and then run these scripts before and after start-stop of the virtual machine. Out of these, the first approach of modifying the /etc/network/interface file, is easiest one and gets the job done in short time.
To setup the bridge, first you need to create a permanent TAP interface for virtualbox. Open the /etc/vbox/interfaces file -
mrutyunjay:~$ sudo emacs /etc/vbox/interfaces
Add following definition to it -
vbox0 username br0
Goes without saying that you should replace 'username' with your user name in the above definition.
Here br0 is the name of the bridge that we are going to setup now.
Open the /etc/network/interfaces file for editing.
mrutyunjay:~$ sudo emacs /etc/network/interface
Add following bridge definition to the file -
auto br0
iface br0 inet static
address 10.0.0.1
netmask 255.255.255.0
bridge_ports vbox0
You can customize the IP address and netmask. I have set it up to be static, for simplicity.
Now that we are done with network interface settings, time to restart both the networking interfaces -
mrutyunjay:~$ sudo /etc/init.d/networking restart
mrutyunjay:~$ sudo /etc/init.d/virtualbox-ose restart
Our 'vbox0' TAP interface requires bridge 'br0' defined before it gets attached to the bridge. So make sure you dont alter the order above.
After restarting network interfaces, ensure that our TAP and bridge interfaces are up and running, using /sbin/ifconfig. It should show 'br0' with above entered IP address and 'vbox0' without any IP address.
We enter this TAP interface name (vbox0) in virtualbox network configuration. Set the network to Host Interface and enter vbox0 as interface name and start the virtual machine.
Guest VM Setting (linux flavour)
I had lightweight text-mode debian lenny 5 as my guest VM. So I will explain the network setting accordingly. But for any other linux flavours, network setting should be on these lines only.
Here in the guest VM, you need to setup the networking interface eth0 to be aware of 10.0.0.1 bridge. The bridge is your host machine.
So add following information to your /etc/network/intertface file -
shaunak:~$ sudo emacs /etc/network/interface
iface eth0 inet static
address 10.0.0.2
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1
And finally, restart networking -
shaunak:~$ sudo /etc/init.d/networking restart
That's it! Now try pinging your bridge 10.0.0.1 from VM and vice versa -
shaunak:~$ ping -c3 10.0.0.1
mrutyunjay:~$ ping -c3 10.0.0.2
If both the pings are successful, YO!, your network is up and running.
Sunday, March 15, 2009
iTunes for Ubuntu
Since long I have been finding a replacement for iTunes on Ubuntu, but in vain. I don't want to use CrossOver Office as it's proprietary, and don't want to install the bloated Windows Vista in VirtualBox and waste many GBs of storage just for the sake of one iTunes. Since making the switch to Ubuntu/Kubuntu twins, I haven't missed Windows at all. In fact, now I am realising what I was missing with OEM windows running on my Dell laptop. Nowadays, I feel disgusted even at the thought of going back and installing Windows.
The next thing on my agenda is of-course trying to get iTunes running through Wine, though, I have read pretty many comments about problems in this approach. I am not very positive about it.
That leaves me with the thought - why doesn't Apple come out with an iTunes version for ubuntu (or linux in general)? Especially when Ubuntu has gone mainstream with a bang, with many hardware manufactures (like Dell) shipping their units with Ubuntu. Though I don't know exact figure of ubuntu users, given the life in the ubuntu community and forums, it's easy to guess that there is a sizeable amount in there.
If you are an ubuntu user, and you think on the similar lines, I request you to sign the iTunes for Ubuntu Petition.
There are currently 2000 odd signatures there. It doesn't take time to sign the petition. Every sign will help, so please sign the petition.

The next thing on my agenda is of-course trying to get iTunes running through Wine, though, I have read pretty many comments about problems in this approach. I am not very positive about it.
That leaves me with the thought - why doesn't Apple come out with an iTunes version for ubuntu (or linux in general)? Especially when Ubuntu has gone mainstream with a bang, with many hardware manufactures (like Dell) shipping their units with Ubuntu. Though I don't know exact figure of ubuntu users, given the life in the ubuntu community and forums, it's easy to guess that there is a sizeable amount in there.
If you are an ubuntu user, and you think on the similar lines, I request you to sign the iTunes for Ubuntu Petition.
There are currently 2000 odd signatures there. It doesn't take time to sign the petition. Every sign will help, so please sign the petition.
Saturday, March 14, 2009
Skype / Ekiga on Ubuntu 8.04 Hardy Heron
As GTalk doesn't support Linux for VoIP communication, I needed some alternative VoIP software, that works well on Ubuntu. There were couple of them Ekiga and Skype.
Ekiga comes pre-installed in Hardy. So I started with Ekiga and registered for a SIP address on ekiga.net. But unfortunately, ekiga failed to communicate with sound hardware on my Dell Vostro 1500 laptop. So I downloaded Skype for Ubuntu. Same story.
So I searched the net, and finally got it working. It turned out that the pulseaudio package was the culprit. Skype and Ekiga both don't work with pulseaudio. They work with esound package. So I decided to remove pulseaudio and install esound instead. Before removing pulseaudio, I disabled PusleAudio Session Management from System->Preferences->Sessions.

And then -
killall pulseaudio
sudo apt-get remove pulseaudio
sudo apt-get install esound
After installing esound, and restarting both skype and Ekiga, though I could hear Ringing, and Sound Outs from Skype, the mic was still not working in test call. Then after playing with the system for sometime I realised that the mic was muted. I had to enable mic boost control from Volumn Control->Edit->Preferences and tick Capture and Capture-1.

And then, when I un-muted the mic, skype worked flawlessly. And after skype, Ekiga also started working when I set Audio In and Audio Out devices to HDA Intel.
Interesting Part
Now, here is the interesting part. After playing around with skype and ekiga for a lot of time, I came to know that I had an uninterruptible process (elisa media player) parented by a python zombie process. I rebooted the system, since there is no other effective way to get rid of these zombies, and elisa was consuming 100% of my CPU2 (at least that's what the system monitor reported).
Ubuntu got stuck during reboot, I am not sure for what reason. So I had to power the system off. When I powered it back up again, I could login and there were no error messages related to pulseaudio. But the UI was totally unresponsive, as if it has hanged. iThen I switched back to command line mode using CTRL-ALT-F5, logged in, removed esound and reinstalled pulseaudio.
sudo apt-get remove esound
sudo apt-get install pulseaudio
sudo reboot
And after reboot, the UI was back to life again. So it was the pulseaudio which caused this freeze. Out of curiosity, I started Skype and made a test call. And to my surprise, both mic and audio playback worked!!! Now this was not expected, as skype initially refused to work with pulseaudio. So did ekiga.
I started the PulseAudio Session Management as well, still Skype and Ekiga worked perfectly.
Conclusion
It seems that, on Hardy, Skype and Ekiga, both work with pulseaudio, and it was probably due to the zombie process of elisa media player hogging the sound device that caused problems with audio playback and mi, in Skype/Ekiga.
So finally, it seems that, on Ubuntu 8.04 Hardy Heron, you don't need to remove anything or install anything, to get Skype and Ekiga working!!! And this whole post of mine turns out to be a pure waste of time and energy!!!! :(
An Update -
Just in case somebody is interested, there is a very informative post about pulseaudio and how to get it working, on ubuntuforums.org - HOWTO: PulseAudio Fixes & System-wide Equalizer Support
Technorati Tags: ubuntu, hardy, linux, skype, ekiga, voip



Ekiga comes pre-installed in Hardy. So I started with Ekiga and registered for a SIP address on ekiga.net. But unfortunately, ekiga failed to communicate with sound hardware on my Dell Vostro 1500 laptop. So I downloaded Skype for Ubuntu. Same story.
So I searched the net, and finally got it working. It turned out that the pulseaudio package was the culprit. Skype and Ekiga both don't work with pulseaudio. They work with esound package. So I decided to remove pulseaudio and install esound instead. Before removing pulseaudio, I disabled PusleAudio Session Management from System->Preferences->Sessions.
And then -
killall pulseaudio
sudo apt-get remove pulseaudio
sudo apt-get install esound
On some setups (probably on intrepid), it might be required to remove a file from /etc/X11/Xsession.d so that the Ubuntu login process doesn’t break.
sudo rm /etc/X11/Xsession.d/70pulseaudio
This is not required on Hardy though; there is no such file in Hardy. I think disabling of PulseAudio Session Management, does the trick instead.After installing esound, and restarting both skype and Ekiga, though I could hear Ringing, and Sound Outs from Skype, the mic was still not working in test call. Then after playing with the system for sometime I realised that the mic was muted. I had to enable mic boost control from Volumn Control->Edit->Preferences and tick Capture and Capture-1.
And then, when I un-muted the mic, skype worked flawlessly. And after skype, Ekiga also started working when I set Audio In and Audio Out devices to HDA Intel.
Interesting Part
Now, here is the interesting part. After playing around with skype and ekiga for a lot of time, I came to know that I had an uninterruptible process (elisa media player) parented by a python zombie process. I rebooted the system, since there is no other effective way to get rid of these zombies, and elisa was consuming 100% of my CPU2 (at least that's what the system monitor reported).
Ubuntu got stuck during reboot, I am not sure for what reason. So I had to power the system off. When I powered it back up again, I could login and there were no error messages related to pulseaudio. But the UI was totally unresponsive, as if it has hanged. iThen I switched back to command line mode using CTRL-ALT-F5, logged in, removed esound and reinstalled pulseaudio.
sudo apt-get remove esound
sudo apt-get install pulseaudio
sudo reboot
And after reboot, the UI was back to life again. So it was the pulseaudio which caused this freeze. Out of curiosity, I started Skype and made a test call. And to my surprise, both mic and audio playback worked!!! Now this was not expected, as skype initially refused to work with pulseaudio. So did ekiga.
I started the PulseAudio Session Management as well, still Skype and Ekiga worked perfectly.
Conclusion
It seems that, on Hardy, Skype and Ekiga, both work with pulseaudio, and it was probably due to the zombie process of elisa media player hogging the sound device that caused problems with audio playback and mi, in Skype/Ekiga.
So finally, it seems that, on Ubuntu 8.04 Hardy Heron, you don't need to remove anything or install anything, to get Skype and Ekiga working!!! And this whole post of mine turns out to be a pure waste of time and energy!!!! :(
An Update -
Just in case somebody is interested, there is a very informative post about pulseaudio and how to get it working, on ubuntuforums.org - HOWTO: PulseAudio Fixes & System-wide Equalizer Support
Technorati Tags: ubuntu, hardy, linux, skype, ekiga, voip
Subscribe to:
Posts (Atom)
