Wednesday, August 01, 2018

Kudos to Kerala on Efficient Handling of the Nipah Virus Outbreak

Visit Nipah virus: Anatomy of an outbreak a report in the Hindu newspaper.

Kozhikode: Kozhikode and Malappuram districts, where 17 people died of Nipah in May, were declared free of the virus by the Kerala government in July 2018. "A decision to declare both districts as Nipah-virus-free was taken by the government as no fresh cases have been reported after June 1," health minister K.K. Shylaja said. 
She was speaking at an event to felicitate medical teams, support staff and volunteers who fought against the spread of the virus.
Sajeesh, husband of 28-year-old nurse Lini Puthuserry who died after contracting the virus while attending to patients at Perumbra Taluk Hospital, was among those honoured.
The Collectors of Kozhikode and Malapurram districts, U.V. Jose and Amit Kumar Meena, and Manipal Virology Institute director G. Arunkumar were also honoured. Dr A.S. Anoop Kumar of the Kozhikode-based Baby Memorial Hospital was presented with a special award for his efforts to identify and prevent the virus outbreak.
The government had on June 11 lifted the travel advisory it had issued in the wake of the virus and said it was safe to travel to any part of the state.
It is heartening to see how they have managed the crisis efficiently. It is frightening to think of what could have happened if the outbreak had happened in a place where healthcare is not as efficient as it seems to have been in Kerala.
The speed with which Kozhikode’s Baby Memorial Hospital seems to have ruled out alternative hypotheses and suspected Nipah infection is impressive. The availability of a very competent critical care doctor and an equally competent neurologist there to handle the first set of Nipah victims speaks highly of the state of health care in Kerala. 
Credit for the second impressive feat belongs to a private institution in Karnataka – which has been operating the Manipal Centre for Virus Research (MCVR) - and to Dr Arunkumar, Prof and Head of the Department at MCVR. In 2017 MCVR had sent a team to the US Centre for Disease control. One of the actions taken was training some members of the visiting team for testing samples to identify the presence or absence of the Nipah infection. This test can be currently done only at two places in India: National Institute of Virology, Pune and MCVR. 
The Kerala hospital sent samples to MCVR, 300 KM away, for quick identification of the virus involved. MCVR under the Manipal University has also been supported by the Govt of India. This public-private partnership in the critical area of public health shows what can be done in India when dedicated leadership is available.

India as well as the World Health Organization have done the right thing by honouring Lini Puthussery a dedicated healthcare professional who died after taking care of Nipah victims. We need to recognize that the professionals and other staff who work in public health are some of the most valuable people in India. It is necessary to institute annual awards to honour these committed workers.  We must also identify hospitals that maintain readiness to deal with public health emergencies.  

Srinivasan Ramani  


1) Nipah virus: Anatomy of an outbreak, Priyanka Pulla, JUNE 02,   
2018 00:15 IST, UPDATED: JUNE 02, 2018 12:38 IST

2) WHO pays tribute to Kerala nurse who died of Nipah, PTI,
      Jun 05, 2018, 05.12 PM IST


Saturday, May 19, 2018

The Hanging Rules
There was a time when algorithms were considered more important if they did not depend on the nature of data they processed. Take sort algorithms, for instance. They work just the same whether you sort the weights of a set of pigs, or the age of a set of galaxies. I have no quarrel with such algorithms; in some sense they deal with the highest level of abstractions such as numbers.

However, nowadays the challenges are more in dealing with large volumes of data from different application domains. Knowledge related to the domain are basic to success with most of our endeavours. Computations of this type do not necessarily lead to unique solutions to a given problem. However, the solutions they provide could have great value. This value arises from the importance of problems they help us solve.

Why this build up for what is to follow? It is because I wish to discuss a very important problem. It is the problem of shaping pre-poll alliances among political parties. It is clear that the Indian election to be held in 2019 will critically depend upon pre-poll alliances. The recent Karnataka election has high-lighted the significance of alliances. Commentators have pointed out that had there been a pre-poll alliance, the outcome would have been quite different. Pre-poll tie-ups will be important for all parties: those with a high vote share as well as for the smaller parties. When vote shares are added together, the winner may not get the aithmetic sum of the two vote shares. When two parties with vote shares (expressed as percentages of votes cast) A and B have an alliance, the winner does not get the vote share A + B but may get something like A + B/2. The effect on the election results could however be very dramatic. Pre-poll alliances have demonstrated their effectiveness in the past in this regard. Increasing your vote share by B/2 does not just increase your chances of winning by 50%. It may increase it 500%.  

Given this logic, why do parties hesitate to enter into pre-poll alliances? Partly because reliable predictions of possible gains are not available. Secondly, there are no clear procedures which can be used by the parties concerned to decide on how they should share constituencies between them. How many constituencies would each party get? Which constituencies would be assigned to which partner? These are complex questions, even when only two parties participate in a pre-poll alliance. Multi-party computations are more complex, but the generalization form a 2-party to a multi-party situation is not very difficult.

The major difficulties in persuading political parties to consider this problem analyticaly is that solution should be fair to the potential allies and must be seen to be clearly unbiased. The solution should also be easy to communicate and understand. The solution cannot be thrust upon the parties involved and must leave some room for tweaking as per their intuition and perceptions. I will offer a solution here to the two-party problem and leave it to the reader to generalize it to the multi-party situation. I don’t mean to suggest a solution that should be adopted blindly; I only wish to have many people think out their own versions of the solution. Secondly, I want to keep the solution very simple. You can make it more accurate as a predictor of the gains of a pre-poll alliance by making it more complicated, but very few political leaders are computer scientists. It is difficult to persuade them to adopt what sounds like mumbo-jumbo to them!

Lastly, why the funny name? It comes from the saying “If you don’t hang together, you will hang separately”! So, this is a solution that shows how some politicians could hang together!

The solution: 
  1. Assume that the vote share received in each constituency in the last election is the best estimate of the vote share that a party would get in the forthcoming election.  
  2. If the estimated vote share A of one of the two parties is greater than that of the other B, assign that constituency to the party with the higher estimated vote share.
  3. Compute the total A + B/2 where B is the vote share estimated for the other partner. Let C be the highest vote share estimated for the strongest party outside the alliance. If (A+B/2) > C, mark that constituency as a strong seat for the proposed alliance. The underlying assumption is that an alliance does not transfer all votes of from one partnering party to the other. For simplicity, we assume that 50% of the votes can be "transferred". (carry out the above three steps for each constitutency).
  4. Make adjustments to the extent of 20% of the seats by negotiation, provided this does not disturb the assignment of any strong constituency. However, the number of seats assigned to partners should be in proportion to the total vote shares each has earned.
  5. The above rules are not written in stone. But if the two partners cannot agree to some reasonable modified version of the same, they can hang separately!

          Srinivasan Ramani       

Saturday, March 31, 2018

A Rating for People's Representatives!

Many of us are now used to rating goods and services. The dosa you had in a small restaurant seemed to be the best you have eaten in some time? You write a few lines of review for a site that rates restaurants and give it 4.5 or 5 stars! You thought the driver of the Uber or Ola cab you took to the station could have been more helpful. Ok, give him only three stars!
What about you CM, or your MLA, or your councillor? Why not rate him on a number of dimensions? Voting for/against them once in five years is not good enough. We ought to share our opinions about their deeds and failures almost every month.
The way a leader is to be judged is no doubt very important, but as this is a blog in the field of science and technology, our first priority would be technical issues in designing a rating website. I would suggest the following design objectives:
Credibility: it should be difficult to fool the website and manipulate the data going in
Authentication: The site should ideally work on “one citizen – one vote” principle
Privacy: People who provide ratings may not want some shady company or hackers, to sell a record of their ratings. A good design involves careful consideration of privacy on a site which insists on authentication. One simple design would be to have ratings come in only through SMS messages. No prior registration is required. We can ensure that a cell phone can vote on an issue only once. It can give a rating only to the persons/offices in the state from where it sends a message. I will assume that most users do not care too much about hackers finding out how one’s cell phone voted. After all, in most countries, we are not so scared of the government as to keep our political opinions a secret.       
Simplicity: The system should be based on a good trade off – not too complex to drive users away and not so simple that it can be fooled easily
Accessibility: The system should be accessible from a smart phone. This will deny access to a significant fraction of the Indian population, but it would enable you to build a working system easily. The trade off in this dimension could be examined and different choices can be explored by different groups. What is the value of a smart phone when the votes are cast by SMS? The user can use a smart phone to read the web pages which will help the users to select the issue/person they wish to rate. If the web pages support it, they could answer multiple questions giving answers in the form of a numeral in the range 1-5. The system could summarize answers to six questions, for example, as 325-45 meaning that the six questions were answered as follows, giving ratings on a scale of 5, where 5 is excellent and 1 is very poor:

Question 1: Answer 3
Question 2: Answer 2
Question 3: Answer 5
Question 4: Skipped
Question 5: Answer 4
Question 6: Answer 5

The website would also give a unique ID to the person or office rated, for example SRM for Srinivasan Ramani. The user has to send an SMS to a given number reading, for example as
   SRM 325-45
Why send an SMS, and not submit the answers on the Webpage itself? The security mechanism provided by the cellular network identifies the sender’s cell phone number reliably. In my opinion it is reliable enough for the application and is simple enough to implement. It is also worth noting that the cellular network sends with the SMS the sender’s phone number, the time of sending, and the location from which the message is sent. A computer receiving the messages can use all this information to process them suitably.
The answers I have given to some of the design questions above are not binding on you. You may make your choices. A system like this makes sense only when it operates with a large number of users. So, you need to plan for scalability and reliability. The systems should work round the clock, round the year. Lastly, you need to decide on what your business model would be? Who would pay the bills after the system scales up?
Now, we can turn to the nature of comments and ratings we would like to collect. I have some suggestions about what questions we can ask about representatives and service providing offices but again, in your project, you are free to make your own choices. Please treat my questions as examples what you could ask.
Questions about a people's representative
·        Is he a visionary leader?  (Here and in the following, I merely use “he” to refer to the representative. It can obviously be a “she”).
·        Has he been effective in getting a few major problems solved?
·        Is he known for his integrity?
·        Does he have cronies or sons who are not exactly assets to society?
·        Does he communicate his ideas well?
·        Does he do this frequently?
·        Has he kept his electoral promises?
·        Are you likely to vote for him next time?

Questions about specific issues
·        Should your state have prohibition?
·        Should we ban children below ten being given rides on two-wheelers on city roads or highways?
Questions about specific offices that provide a service
·        Is a given bank branch helpful and efficient?
·        Is a given college a good place to send students to?
·        Is there corruption in a given hospital?
As, I see it, each of these questions is a like raw nerve. The pain-signals of our lives travel through these nerves, but do they bother the person who is responsible for the pain? Usually no! The nerve does not run far enough to touch him.  
Making the ratings public, and highlighting them during election time, are important to make the system sit up and take notice. 
Getting people to rate their representatives and their governments is not exactly new. You can see what other websites offer in this area. Visit
There is a lot of room for innovation, but the basic idea is simple: public feedback makes the high and mighty accountable. App-based taxicab services are responsive to people's problems. We should demand that people's representatives and government services be equally responsive.

Srinivasan Ramani

Thursday, March 15, 2018

Use of dictation software to teach speech and hearing-impaired

There are millions of deaf children in India. Visit Varshney S. Deafness in India. Indian J Otol, 2016; 22:73-6.
It is generally believed that those who are hearing-impaired need not be speech impaired. They  cannot hear themselves speak and cannot hear spoken responses from others they are talking to; so, they fail to get feedback on their own speech. This absence of feedback is considered the major factor in the hearing-impaired usually not learning to speak. This raises an interesting question: can we encourage students with this problem to speak into a cell phone running a dictation app to get useful feedback on how their speech is perceived by others? A cellphone with a suitable app is not automatically going to solve the problem. A capable teacher, at home or at school, would usually be important to teach the hearing-impaired to use the tool. Further, the learner should have a working knowledge of English.  The ability to learn more will depend upon the level of language skills at that time. So, we must expect that the side-by-side learning of English and use of this tool will be a process that will take months or years of sustained work. Trained teachers will of course speed up this learning a lot. Visit
Dictation software of pretty good quality is available on devices such as iPhones and Android phones. I believe you can get cell phones costing less than Rs 4000 (less than USD 70), that can run dictation software. It would be valuable to choose a rugged phone which can stand a few drops, as a broken cell phone can often kill the user’s hope and enthusiasm. A display with a diagonal dimension of  4 inches or more would be useful for this application.
We have to recognise two advances: improvements in the performance of dictation software and wide availability of cell phones to run such software. Also significant is the availability of apps such as WhatsApp that take spoken text messages and send them off to other cell phone users. We empower the hearing-impaired when we give them the ability to send easily created text messages through their cell phones. This enables them to communicate with friends and family irrespective of distance, and without struggling to make a voice call.
The technology discussed above works equally well in enabling people to communicate to the hearing-impaired. The speaker can dictate into any cell phone what they want to say and show the text to the “listener”.

It is worth noting that the cost of the hardware involved is significantly less than that of a good-quality hearing aid, or the cost of a cochlear implant. This is not to argue against hearing aids which have their own value. We should visualise hearing-impaired students using hearing aids as well as cell phones equipped with speech recognition apps. They will complement each other, and together they would enable the users to cope with a whole variety of situations. It is worth noting that hearing aids do not completely solve the problem of poor hearing. Very often hearing-impaired students use affordable hearing aids which do not provide the necessary high quality of user experience. Complementing them with speech recognition apps on cell phones is a good way to to reduce the problems faced by the students, and to speed up their learning.

Can we use an Indian language in this context? I have only focused on English in this article, but Google Docs is able to cope with 40 different languages (as of March 2018), irrespective of your using it on a computer or on (an Android)  cell phone. The one Indian language included in this list of 40 is Hindi. However, I have not tried voice typing in Hindi with Google Docs. Any user interested in this should expect to spend some time learning relevant information and skills. Postings on the Web say that your Google Doc app should be up-to-date and that you should go to settings, then languages, and add Hindi. I am sure that good dictation software will become available in all major Indian languages over the years.  

Lastly, the most wide-spread use of dictation software in India would be among users with normal hearing who wish to improve the way they speak English.

Srinivasan Ramani

Tuesday, March 13, 2018

The search drone problem

Imagine that a search drone is on the look-out for a submarine that is careful to avoid detection. The controllers of the drone have been given a convex polygonal area on the surface of the sea and told that the drone should search the area inside that polygon. Assume that the drone flies at 150 KM per hour and the polygonal space covers roughly an area of 60,000 Sq. KM. Further assume that the drone flies at a height of 1 KM above the sea and its sensors can detect the submarine if it is inside a circle, 1 KM diameter, with its centre directly beneath the drone.  
Your task is to program a flight pattern for the drone. You can assume the availability of a function in(X, Y) in the control computer, that returns 1 if the drone’s current position (X, Y) is inside the polygon and 0 otherwise.
It is desirable that the drone’s path be relatively unpredictable, and that all places inside the polygon have equal chances of being visited to the extent possible.
Can you write a program that would plot the scan pattern showing how it would fly the drone over the given area? Use any graphical display software to provide a dynamic display.
Assume that the maximum underwater speed of the submarine is 10 KM per hour when it is trying to evade detection. What would be a good strategy for the submarine to avoid detection under these circumstances? Assume that the submarine gets to sense where the drone is, if it gets within 4 KM of horizontal distance. Try programming this strategy and show the path of the submarine on the display in a different color. 

Srinivasan Ramani

Thursday, October 19, 2017

An app to manage greetings over the Internet

We have been hearing about air pollution in New Delhi, with the Diwali crackers being the last straw. Most of us suffer from an online phenomenon that is a comparable nuisance.

Someone starts with a list of about a hundred colleagues and sends them all a common greeting the day before the New Year, Diwali, or something like that. The hundred of us blindly “reply to all” in the list sending our own greetings to everyone on the list. Then every one of us spends the festive occasion deleting the greetings received. Ten thousand minutes wasted. The emails serve one purpose – it tells the recipients that the sender is alive and is fit to use email.

Then comes greetings from your bank, the shop where you bought lettuce, some miscellaneous jeweler, and hundred others sending you greetings on the occasion. Many of them send you birthday greetings! Very touching to get a birthday greeting from your bank! The same bank that, when asked for a form, tells you that your request would be attended to in three working days!

There can be many ways of tackling this near-spam enterprise. The best would be for email software to identify pure greeting messages and put them in a separate folder. The software can make a consolidated list of senders available for inspection. You should be able to click on a sender’s name and send a message prepared by you in advance – one designed to be sent to all those who greet you. An email generated by a click should be going only to a single person, unless you indicate that it should be otherwise.

The solution could also be in the form of a well-designed app which people could use for sending greetings, in place of email. Would users be interested in one more app? Can we make it attractive enough to find a big clientele?
There are many possibilities. The app could possibly be branded in the name of a sponsor like Red Cross, UNICEF or other NGO and be popularized by them sending URLs through email. The apps could be linked to an e-wallet like PayTM by the user who downloads it. Every time the users send greetings, the app could transfer a pre-set sum of money, like say Rs 5 or 10, to the NGO. The app’s development and operations cost could be paid by an e-commerce site like “Favorites of my city”, and the app could offer a feature for the users to send gift packets through the e-commerce site when they send a greeting.

The app could be enhanced in many other ways. For instance, there could be a provision for the user to send a canned short message, such as the following:

“The kids are growing up well. Rama choreographed a dance item for the Diwali event at her school. She also fooled her grandma by making a phone call, in a voice resembling that of an uncle. Vinay is busy building his model planes.”
The app could also allow the user to type in a few lines of a customized message to selected recipients.

Srinivasan Ramani

Sunday, May 14, 2017

Putting STOP signs on the Google Map

Can we put up traffic signs on something like Google maps using a suitable app to display them to drivers of vehicles at the appropriate time? You might wish to experiment, starting with

The other day my wife and I saw a distressing scene at a street corner; three girls who were sharing a scooter had been in a traffic accident. A car running along an intersecting street had hit them and one girl had a bleeding injury on her face. There was crowd around them offering help. The car involved was there on the side of the street and a young man who seemed to be the one who had driven that car was involved in helping the unhappy girls.

It is often pointed out that traffic is chaotic in India. Part of this is due to the absence of any enforcement of traffic discipline. Part of this due to the absence of essential traffic signs such as a STOP sign to show that traffic on the intersecting street have the right of way. Millions of vehicles rush through intersections free of any discipline. Any aggressive driver gets his way, till the day he crosses the path of an even more aggressive one!

Many drivers have a navigational aid mounted on their dashboard or windshield. The map app will use stored data to identify when your vehicle is reaching an intersection and if you have the right of way there. If not, it would flash a stop sign. You would bring your vehicle to a complete stop for a moment and then cross the intersection carefully. The app could warn of speed breakers, prohibited turns, one way streets, your exceeding the speed limit etc.

Do virtual street signs absolve the local government of their responsibility to display real-world signs? No, all they can do is to increase your chances of being alive as and when they fulfil their responsibilities!

Joking apart, there is a necessity for the government to get involved. They should participate in any project in this area to put relevant information on maps. They should ensure that there is a standard for encoding this information. The basic information should be made available in the public domain. What about the app developer? Why should he spend a lot of effort to build this national infrastructure? Well, we will give him the rights to display "paying" signs in addition to traffic signs - like the following:

What about liabilities of the app developer? That is no problem; they will show you a link named Terms and Conditions. As usual, you would ignore it and click on "I accept". The 5000-word T & C would include a line absolving the app developer of all and any responsibilities! (Warning! It may not be as simple as that! But you can worry about it when you have a prototype to show the lawyer!)

Lastly, what are the limits to this technology? Will one day even traffic signals will be run off cyber space? Data from users of navigation devices gives statistical information to servers as to how many vehicles cross which intersections and in which direction. Can one use such data from these servers to drive real-world traffic signals in a highly adaptive manner? 


Thursday, March 09, 2017

Adarsha’s Star

I believe I have given enough time to readers to examine AJ's answer and to discuss it. Over a hundred people have visited the post above. So, it is time now for me to comment on the answer.

AJ (Adarsha Joisa) is right on both counts - the main answer as well as the answer to the sub-question. I had referred to a list of 92 stars brighter than magnitude 2.49. One of these can be said to be “nearest” to Adarsha’s Direction, defined as the intersection of the local meridian and the ecliptic at 6 AM that day. But the star may not be very close to the direction, and may even be more than ten degrees away. 

So, let us change the way we define Adarsha’s Star: On a given day, it will be the star closest to Adarsha’s Direction provided it is in the list of the 170 brightest stars (Visit ). The dimmest stars in this list are of apparent magnitude 3.0.

The direction of the earth’s orbital velocity around the Sun changes even during the day. So, what is Adarsha’s Star on a given day at 6 AM in Tokyo may not be the one that is Adarsha’s Star at local time 6 AM in Los Angeles on the same day. I am not going to worry about refining the designation of Adarsha’s Star any further now, particularly when none of the 170 brightest stars may be within 5 degrees of Adarsha’s Direction at a given moment.

Let us ask what the purpose of this exercise is. We want to be able to point in a direction in the sky and say that it is the direction of earth’s orbital velocity. Ten degrees of accuracy is good enough for this purpose.

What about planets? The five planets visible to the unaided eye are useful in visualizing what we are hurtling towards at a given time. They have high visibility and are always close to the ecliptic.
Let us look at the sub-question. Many of the 92 stars above magnitude 2.49 are well away from the ecliptic. Since the ecliptic is fairly stable with respect to the stellar background, many of them have no chance in my lifetime, or yours, of being Adarsha’s Star!

What is Adarsha’s Direction today? At Bangalore, the Local Sidereal Time (LST)at 6 AM today (March 9, 2017) was 16 h 53 minutes, as per
(All points in the sky having Right Ascension = LST are on the local meridian, by definition). I looked up a sky map to find a point on the ecliptic which had the right ascension of 16 H 53 Minutes approximately.  I found that this point is within five degrees of the bright star Antares in the constellation Scorpius. That much accuracy will do for me. I am now very happy to know I am hurtling at 110,000 kilometers per hour, roughly towards Antares!
I hope that any policeman who stops me for speeding would have a sense of proportion, and not bother about an extra twenty kilometers per hour or so!    

Sunday, February 26, 2017

What are we hurtling towards?

Outline of Virgo Author: AugPi at en.wikipedia

This is not a project idea, but an interesting question. It will help you exercise your reasoning and visualizing skills.
At any moment, the earth, as a whole, has a velocity in relation to the solar system due to its orbital motion around the Sun. Consider the stars as providing a frame of reference. If you represent earth’s velocity as a vector, it is pointing roughly in the direction of some star. Given that there are 92 relatively bright stars in the sky (the Wikipedia lists 92 stars brighter than magnitude 2.49), it would be nice to find a way of mapping the earth’s orbital velocity on any given night to one of these 92 stars. Then we can tell anyone interested that the earth is hurtling that night roughly in the direction of that star.  What a simple way to do this mapping? 

The first satisfactory answer posted as a comment on this blog will earn the author an honor. If the first name of the author is, say Herman, we will name star concerned as “Herman’s Star”. (Don’t make a mistake; “Herman” is used only to give an example. The star is going to be named after you!) A second clarification: Herman’s Star is not one particular star. At any given moment, there is one star which qualifies to be called thus. Over a period of time, different stars would qualify to be called Herman’s Star, one after another. To use another example, on any given date there is one Mayor in a given city, but the Mayor is replaced periodically.
A sub-question: Can every one of the 92 stars mentioned above be a Herman’s Star during your lifetime?

Let me not say more, I do not want to give you too many hints!

Wednesday, February 01, 2017

Your fingerprint is not your own! Meaning of privacy in India!

A website I often use made an offer recently – a free SIM that I could use for free for a couple of months. My wife was interested and we decided to try it. Everyone has heard of the well-known promotional offer by a cell phone company.

I filled in a form online, which said to keep the Aadhar card ready and wait for the delivery rider. He turned up in a day and asked if we had received an SMS message. We had and my wife brought her cell phone to read out that SMS. Meanwhile, the man pulled out a fingerprint reader. What was that for? He said that she should have her fingerprint recorded and that their system would get it verified. We said we did not wish to give the finger print as we were not confident that it would be safely handled. Instead we offered other ID and address proof and were willing to give a Xerox copy. The man said that would not be acceptable and we spoke to his supervisor about it over phone. The supervisor said that “this” was a government scheme and the alternative was not acceptable.

In that case, we said, we did not want the SIM!

The Aadhar card was devised by well-meaning people who had thought of various safeguards to avoid misuse. However, this is a country in which privacy means little. A person sharing a train ride could strike up a conversation with you and within minutes, ask you where you work and at what salary!
No wonder, anyone could walk in and have you give them your fingerprint to be used by some app on their cellphone! How does the customer know that the fingerprint will not be stored and used on a different occasion to “prove” his/her presence at some strange place? Does the law provide any safeguards? After all, the delivery man need not even be a staff member of the cell phone company, but be an agent hired on daily wages. You may not even learn his name or ask for his ID.

This poses major risks in a country in which over 25% of adults are illiterate.

We need researchers to find ways and means of making identification possible without any risk of abuse of the technology.  

Friday, January 27, 2017

Secure voting Protocols for Online Elections

Please refer to for a short post on risks in online voting. This is a follow-up article discussing a few interesting technical issues. The post quoted above deals with the current state of the art and says

“A service provider usually makes available the software and related infrastructure for running an election to the entity holding the election over the Internet. The service provider is selected to be a trusted partner, and is beyond suspicion”.

It is quite unnecessary and undesirable to use systems that require the service provider to share secrets with the voters. A cryptographic technique named  
enables voters to encrypt and publish their votes. Election results can be computed using the encrypted votes without decrypting individual votes. We can expect such techniques to be in practical use in future. A whole variety of safeguards are, however, required to ensure that an election is carried out in a fair and transparent manner without any mischief-makers being able to alter the results.

Discussions of some of the considerations involved can be found in
Swiss Online Voting Protocol  (select from the displayed page the PDF document with this name and download it) and in 
Creating an online service and an app for conducting secure elections and persuading organizations to use them is not mere technical work. It requires entrepreneurial spirit, management & marketing abilities in addition to technical knowledge and skills. A student project involving a team of three or four students could address this problem.

Straightforward engineering is not sufficient to implement a system in which a service provider does not have to share secrets. The need for advanced cryptographic techniques and the need to design a system free of weaknesses make this project a special one. If it was any simpler, many software houses would be marketing their solutions by now.

Friday, January 13, 2017

Can You Invent a Better World through Technology?


(Don’t worry! The competition described below is quite different from the one illustrated by the photograph above!)

IEEE Computer Society offers you an exciting opportunity to participate in a global student competition. Students are invited to create an innovative solution, based on the IEEE Computer Society 2022 report, that will solve a real-world issue. Visit

The IEEE report mentioned above focuses on 3D printing, big data and analytics, open intellectual property movement, massively online open courses, security cross-cutting issues, universal memory, 3D integrated circuits, photonics, cloud computing, computational biology and bioinformatics, device and nanotechnology, sustainability, high-performance computing, the Internet of Things, life sciences, machine learning and intelligent systems, natural user interfaces, networking and interconnectivity, quantum computing, software-defined networks, multicore, and robotics for medical care. Visit

Surely, the world will change a lot in the coming years and the 23 technologies covered in the IEEE Report will contribute to much of that change. Your challenge is to visualize an innovative solution based on some of these technologies and describe it briefly. Reward to the winner?  Travel expenses and some money!

Friday, December 16, 2016

Making Small Payments Work

Cashless payments are getting a lot of attention nowadays, but have you seen an auto not affiliated to Ola which accepts a cashless payment? I haven’t seen one! I believe that the notion of cashless payments is a bit forbidding for a significant fraction of the people, including many auto drivers. When I talk about auto drivers, it includes people manning small shops as well. I had filed a related post earlier. Visit

A society that does not facilitate cashless transactions is a senseless society. The issue is not merely one of black money; it is also about avoiding waste of people’s time.

Why do so many of our people insist on continuing to use cash? I believe that that technical people involved should study the difficulties new users of technology face and work to eliminate these difficulties. Using technology should make transactions easier, not harder! The app on a mobile phone should require very little from the customer making a payment or the driver receiving it. You should be able to touch the app’s icon, point the phone’s camera at the auto’s meter or a similar display in a shop and touch the icon a second time. That should transfer money from your bank account to the recipient’s bank account or digital wallet. Who has a wallet, who uses a bank account, what is the name of the bank, etc., should be irrelevant at the moment the transaction occurs. Neither the customer nor the recipient of the payment should have to enter any numbers or addresses into a phone.

Character recognition is robust enough to let the app read off the amount to be paid as displayed; the app should similarly read the recipient’s Unified Payments Interface address from a sticker on the meter. (For information on UPI, visit Unified Payments Interface). 

While the front end described above has to be implemented, UPI already provides you the infrastructure to support it. I believe that student projects can easily achieve the goal of demonstrating such a user-friendly front-end for cashless transactions, integrated into the UPI network. A word for those who wish to carry out this project: print information to be read by the app using an Optical Character Recognition (OCR) font. This may not be necessary if you use a standardized font carefully chosen for the purpose, but it may simplify your task.  

Thursday, November 17, 2016

Research related to financial inclusion

                              A socio-economic survey camp, Howrah, West Bengal
                           Report by Devinder Sharma, 
                                          Picture: Wikimedia Commons
There is a desire in India that the country should soon become a “cashless economy”. It is important that researchers in the fields of banking, commerce, management, ethnography, design, computer science should look into the problems that need to be addressed in taking banking to the poor and the illiterate.

The following questions are worth studying in this context:
What are the skills and knowledge required to operate a bank account, to use a debit card, and to use an ATM? Can any literate person manage these tasks? What level of literacy does one require? Can we do surveys to find out if people with low levels of education have (or do not have) useful access to banking? What are the practices for issuing cheque-books, debit cards etc.? Have any studies answering questions like these? Where have they been published? 

These are problems of major interest in India. “India currently has the largest population of illiterate adults in the world with 287 million”, said a 2014 report in “The Hindu” newspaper

“A 2015 Unesco report said that in terms of absolute numbers, India - with 28.7 crore illiterates - was the country with the largest number of adults without basic literacy skills in 2010-11 compared to 2000-01 when it had 30.4 crore illiterates”. Visit

A publication by the Indian Banks Association said “Normally no cheque book facility is provided to illiterate persons and blind persons. However, to meet periodic repayment of retail loans, utility bills etc. we will consider issuing of cheque book with safeguards to protect your interest”. Visit and look for the paragraph with the heading “8.1.5 Special Accounts”.

Compare the change mentioned in the Unesco/Times-of-India reference cited above. Illiteracy declined by only 1.7% from 30.4% to 28.7% over the first decade of the 21st century. We hear the phrase “financial inclusion” fairly frequently. Unless the plight of the 28.7 Crore is well understood and documented, it would be difficult to extend the benefit of banks accounts, ATMs and cards to them. We should also find out if all those that are said to be literate do in fact benefit from banking. Are there several crores among them who find banking too intimidating to use in any significant manner?

Monday, November 14, 2016

Using ATMs to do currency tracking

                                   Photo: "ProjectManhattan", From Wikimedia, 
          Published under Creative Commons Attribution-Share Alike 4.0license.

This post is a sequel to the one at I will assume that the reader has read that post before reading this one.

Most ATMs do not keep track of who was issued which currency note. Here I will argue that this can be done with suitable software modifications. Let me make one question at the outset. Limits set for withdrawals and deposits using ATMs do not permit large transactions. So, why bother about ATM transactions? The answer is that not including ATMs in surveillance could create loopholes that would be quickly exploited. For instance, that a fair amount of “black money” is likely to be “white-washed” by using paid intermediaries to deposit smaller amounts (say, Rs 40,000 each) into their own bank accounts. These will be withdrawn later and given back to the holders of black money. So, ATM transactions should also be covered by currency tracking. How can this be done?

Currency notes are loaded into ATMs in multiple trays. New currency notes being delivered to banks can be in tray-sized stacks with contiguous serial numbers. Old notes to be loaded into ATM trays can be counted by modified currency counting machines (CCMs) so that modified ATM software can keep track of what high denomination notes were issued to which customer. Most computations and data storage can be done on centralized servers on a network that drives the ATMs. This will require that each ATM reports to a central server before a transaction how many high denomination notes are remaining in each tray loaded into it. They should also report how many high denomination notes are issued to which customer from which tray, every time a withdrawal takes place. The ATM need not handle the serial numbers at all, as they will be stored on the server. So, if an ATM has reported that its Tray No 3 has 630 notes left, and that it is now issuing 20 notes from that tray to the customer carrying out the transaction, the server can find out the 20 serial numbers of the notes issued, from its own files. Deposits through ATMs can be reported easily, as bank staff have to count notes in such deposits anyway; they can use a modified CCM.

Do we need to modify ATM hardware to do currency tracking? No. There seems to be no reason to do that.

So, we conclude that it is not very difficult track currency notes being handled by an ATM. Software changes necessary do not have to be done nationwide in a few weeks. The changes being made do not change the primary functions of an ATM; they only add a few additional functions.