And the serenity of winter …

… is complementing with my Reading, since I enjoys winter sometimes — especially the flowers.

The flowers are always blooming at this point of time of the year!
I am always enthralled by the fascinating colours that makes the flowers look so beautiful.

Reading and then looking at the creativity of the Great Creator, mesmerizes me and I often thinks how many varieties are still left to be created by Him, as all of these is just a drop of ocean as compared to the entire Universe (where I read somewhere it rains diamonds in Neptune and Uranus).

Just to describe in few words — ‘Unbearable Brightness Of Being!’

A Virus or a Car ?

Recently the most coveted brand for Motors — Tata Motors was in news, but not for Messi doing the Ad for the firm, rather having a car launched having the same name as one of the most dangerous virus ‘Zika’. It might be a coincidence but would rather be an interesting coincidence though.

After the World Health Organization (WHO) designated the Zika virus and its suspected complications in newborns as a public health emergency of international concern, the Union Health Ministry of India has sounded an alert for Zika and appointed the National Centre for Disease Control (NCDC) as the nodal agency for investigation of any outbreak of the viral infection in India.

 About the National Centre for Disease Control:

It is an institute under the Indian Directorate General of Health Services, Ministry of Health and Family Welfare.

It was established in July 1963 for research in epidemiology and control of communicable diseases.

It was previously known as National Institute of Communicable Diseases.


Zika virus disease is an emerging viral disease transmitted through the bite of an infected Aedes mosquito. This is the same mosquito that is known to transmit infections like dengue and chikungunya.

World Health Organisation has reported 22 countries and territories in Americas from where local transmission of Zika virus has been reported.

Microcephaly in the newborn and other neurological syndromes (Guillain Barre Syndrome) have been found temporally associated with Zika virus infection.

Keep Calm and Stay Safe

Java Programming

Java – CSV File Reader


One of the most common types of data file is a CSV (Comma Separated Value) file. They can be exported by many popular applications, notable spreadsheet programs like Excel and Numbers. They are easy to read into your Java programs once you know how.

Reading the file is as simple as reading a text file. The file has to be opened, a BufferedReader object is created to read the data in a line at a time.

Once a line of data has been read, we make sure that it’s not null, or empty. If it is, we’ve hit the end of the file and there’s no more data to read. If it isn’t, we then use the split() method that’s a member of Java’s String object. This will split a string into an array of Strings using a delimiter that we give it.

The delimiter for a CSV file is a comma, of course. Once we’ve split() the string, we have all the element in an Array from which our Java programs can use the data. For this example, I just use a for loop to print out the data, but I could just as well sort on the values of one of the cells, or whatever I need to do with it in my program.

Starting to Program :

  • Open the file with a BufferedReader object to read it a line at a time.
  • Check to see if we’ve got actual data to make sure we haven’t finished the file.
  • Split the line we read into an Array of String using String.split()

The Program

//Reads a Comma Separated Value file and prints its contents.

import java.util.Arrays;

public class CSVRead{

 public static void main(String[] arg) throws Exception {

  BufferedReader CSVFile = 
        new BufferedReader(new FileReader("Example.csv"));

  String dataRow = CSVFile.readLine(); // 

  while (dataRow != 0){
   String[] dataArray = dataRow.split(",");
   for (String item:dataArray) { 
      System.out.print(item + "\t"); 
   System.out.println(); // Print the data line.
   dataRow = CSVFile.readLine(); // Read next line of data.
  // Close the file once all data has been read.


 } //main()
} // CSVRead


Writing to CSV Files with Java

Writing to a CSV file is as simple as writing a text file . In this case, we write a comma between each field, and a newline at the end of each record.

Give it a try, starting with, modify it appropriately, then see what your favorite spreadsheet program thinks of the results.

India Should Have Its own Silicon Valley


Silicon Valley is not a new term for IT Professionals, but the place was recently in news due to the visit of Indian Prime Minister Narendra Modi. Let us first understand the place located southern portion of the San Francisco Bay Area. Silicon Valley is a leading hub and startup ecosystem for high-tech innovation and development, accounting for one-third of all of the venture capital investment in the United States. It was in Silicon Valley that the silicon-based integrated circuit, the microprocessor, and the microcomputer, among other key technologies, were developed

There are thousands of Technology industry related companies located at Silicon valley. To name a few – Xilinx, Oracle Corporation, Microsoft, Google, Tata Consultancy Services, Facebook, Cisco and the list continues.

In our country, today we can see lots of startups mushrooming. Tata Group Chairman Emeritus Mr Ratan Tata has invested in many of these start ups and encouraged the entrepreneurs and  IT professionals to invest and start their own companies. We need to learn that we should harness the talents within our country and try to develop our own Silicon valley, rather than promoting Brain drain and migrating from our roots to a foreign country in search of a comfortable living. Today, most of the IT Companies in India like TCS, Infosys, Wipro etc are working on outsourced projects. We should have the capacity of developing our own companies just like Bill Gates andSteve Jobs.

We are proceeding in this way and various new e-commerce players such as Flipkart and Snapdeal have attracted investments valuing them at $15.5 billion and $4.8 billion in 2015, respectively. Zomato, a restaurant search-and-discovery service founded in 2008, has received over $200 million in funding and now has a presence in over 20 countries.

Flipkart and Snapdeal are still small companies by the standards of world leader Amazon and China’s Alibaba, of course. And for now, they’re focused on expanding their Indian footprint rather than expanding globally. But the fact that they enjoy a huge domestic market (today’s India is much richer than India in 1985).

Before proceeding to this dream journey, the greatest hurdles to this in our country are –  Internet connectivity, Education and skilled people, awareness, motivation to take risk.

Today, only about 20% of Indians have access to the Internet today. The country ranked 131st in broadband connectivity in 2014, which translates to only 1.2 people with broadband access out of every 100. What’s more, India ranked 155th in mobile broadband penetration, suggesting that 5.5 people out of every 100have access, according to a UNESCO report.

In India, only a tiny sliver – 1% – of the population shops online, according to the Wall Street Journal. A big part of the challenge is that 80% of the population lacks a means to pay electronically for goods, according to a Morgan Stanley research report. Indeed, as the same report also points out, the Indian Internet market could rise to $137 billion by 2020, and the nation could follow the path of China, where e-commerce has increased significantly over the past decade as Internet access has improved.

US Companies prefer India over China for Offshore Development Centre today. India’s potential as a highly lucrative emerging market for foreign businesses, especially with China’s economic future looking uncertain, is becoming increasingly important.