September 29, 2011

Today's media is socially and morally responsible?


In the civilized and democratic society like India, media plays a crucial role in directing the nation towards a value based society. Media has lot to do for a society and nation, but are they playing their role appropriately?

The following examples which point out major slip-up of communication media –

1. In Lokmat newspaper, I read the news entitled as “Chandrapur range recorded Chittah”, as per my knowledge, in 1947, Maharaja Surguja killed last Chittah of India. The detailed news explains that, government officials mistakenly wrote wrong information in their records. If this is the case, then why newspaper gave such misleading/confusing title?
2. Most of the newspaper was flashing news entitled as, “Indians are excellent in Mathematics in the world on the basis of GMAT score”. The fact is 60% Indian GMAT scorer are from engineering background while only 15% candidates globally were engineers. If we compare this statistics then it is obvious that Indian will get better score than others.  If this is the fact, then newspaper’s statement “Indian are excellent…” is misleading
3. All news channels was telecasting live coverage of Mumbai terror attack very proudly, but that live coverage was helping indirectly to terrorist’s boss (based in Pakistan) to guide the terrorist
4. In Cricket World Cup 2011, the organizers used to play our National Anthem before starting a match. A cameraman used to telecast each player while singing the anthem. If our anthem is playing and if you won’t stand steady then you are committing a crime… Is this not applicable to that cameraman???
5.  In Tamil Nadu state election, while Rajanikant was voting, all cameramen were telecasting live coverage of that. In that crowd, he may be voted for the wrong person whom he doesn’t want to vote. Our constitution has given secret ballot voting right to people of India. In such cases where is that right? Isn’t media crossing its limit?
6. IBN7 news channel was flashing the breaking news that, “ओबामा के मरने से राहत इंग्लंड”. Rather than putting the name of world’s most wanted terrorist, the news channel put US president’s name (key person of the ‘Kill Osama’ mission). This shows how the news channel is responsible in publishing news?
7. Take a recent example which tell us that how media misinterpret the news and misguide the citizen of India. Govt published that 32 Rs is sufficient for a person for one day. This means that if you cannot spend 32 Rs a day to feed yourself then you are considered as poor in India.Almost all news channels and newspapers have published the  news that 'if you can spend 32 Rs a day to feed yourself, then you are rich in India'. Govt haven't said like that. They have just put a limit.
8. Except promoting quality news, almost all news channels promote reality shows, comedy shows, dance competitions, singing completions, etc.

I can mention numerous such examples. All news channels and newspapers just want to increase TRP or distribution rate. But, in this race, they forgot about the ethics which they should have to follow. ‘Pipli Live’ and ‘Page 3’ movies are the best examples which shows, how media do its work…

The latest example media’s negativity is about Lokpal Bill and agitation (I won’t call it as Satyagraha). Media showed the picture as like whole nation is supporting the agitation but the fact is metro cities and only some states (no big news from Odisha, Bihar etc etc) were supporting the agitation. Media hasn’t focused on this and hid the fact. Media was publishing Team Anna’s statements repeatedly but they haven’t published and focused the government’s strategies and view regarding that. I surprised when media hasn’t gave attention to PM’s address in Lok Sabha on the Lokpal issue. This points out that, media shows the things that viewers want to see (masala type) not facts. In my opinion, hiding the truth is same as lying.

I know no of examples of journalists who asked bribe for not publishing his/her name in the news. If someone commits suicide, local journalist asks bribe to their family members for not publishing the suicide news in the newspaper. This kind of cheap things also happens with no of families. Similarly, there is another source of money for media is paid news. Paid news is news which is used to help advertise without adding the tag ‘ad’. Media print such news to earn money because they forget the purpose of their birth; they forget the intension of James Hickey behind starting the first newspaper.

Also, I observed that, if you arranged a press conference, then you have to give special attention to every press member otherwise they will not print your news. Take a few days back example of Ajit Pawar v/s Media. Ajit Pawar pointed out the fact that how media make a boom of unnecessary news and he also appealed that except doing this point out problems which will us for better governance. What is wrong in his sentence? Rather than taking that fact positively all press person stopped telecast. Mr. CM – Prithviraj Chuahan bore the effect of this issue, press boycotted CM’s press conference. How logical behavior is this?

I would like to share Dr. Abdul Kalam’s Israel visit experience in his words. He quoted, “I was in Tel Aviv once and I was reading the Israeli newspaper. It was the day after a lot of attacks and bombardments and deaths had taken place. The Hamas had struck. But the front page of the newspaper had the picture of a Jewish gentleman who in five years had transformed his desert into an orchid and greenery. It was this inspiring picture that everyone woke up to. The glory details of killings, bombardments, deaths, were inside in the newspaper, buried among other news. In India we only read about death, sickness, terrorism, crime. Why are we so NEGATIVE?”. Dr. Kalam pointed out positive attitude of the Israeli media and questioned that why Indian media is so negative? Rather than spreading good and quality news, they are always spreading bad news.

Supreme Court judge G S Singhvi quoted that “judges could possibly be influenced by such extensive media coverage”; similar incidence happened with Anna Hazare. He followed the good coverage of Gujarat state and praised Narendra Modi without knowing the rural area (un)development.

Govt. should ban on the news channels like India TV and newspaper like Sandhyanand for telecasting and publishing misleading news. The counter effect of such misleading and fake news from such channels and newspapers makes adverse effect on people’s mind.

Personally, I do believe that media is the most excellent way to earn good and in depth (general) knowledge but unfortunately they failed to share such knowledge through news. I appreciate CNN-IBN’s “Citizen Journalist” program, an integrated program which fills the gap between citizen and media. Also, NDTV’s “Save Tiger” is a nice step towards the nature conservation. Dr. Jay Prakash Narayan’s Lokasatta has taken initiative for “Right to Vote”. Divya Marathi’s “Accident less Jalgaon”, accidents in Jalgaon city is a major issue of Jalgaon city. Surely, these efforts will make difference in the society but unfortunately they are so few that you can count them on your fingertips.

Media should have to boost quality of the contents to minimize such slip-ups. Expectation to Indian media is that, they should be more morally and socially RESPONSIBLE because more than 1.21 billion people are following YOU.

The media in India should be more responsible in performing its duty towards the society and concentrate on doing constructive service” - G S Singhvi

July 20, 2011

What is the light year distance of the Sun from Earth?



This post is for you both, Neeraj and Pritam. I tried to give the answer of your question – “What is the light year distance of the Sun from Earth?

As the light year is a big unit which is used to measure long distances (length). It is not feasible to convert it from km to light year. Let’s see how it is difficult.

To understand all this, first you need to understand the concept of light year. Light year is not a unit of time; it is the unit of distance. Usually people misunderstood the term because of the word ‘year’. Light year is the distance traveled by light in a year.

The mean distance from Sun to Earth is 149.6 million km i.e. 1 AU (Astronomic Unit). The distance between Sun and Earth is varies according to the the Earth moves.

1light year = 9460800000000 km = 9.4 trillion km
and Sun to Earth distance is 149.6 million km

So, the distance between Earth and the Sun is very small (in million km) as compare to 1 light year (9.4 trillion km). So it is not feasible to give that distance in light year. (This is same as, you are asking the distance between Jalgaon to Bhusawal in Millimeter).

Rather than giving the distance in light year, I am giving it in light minute.
1 light second = 300 000 km/s = 3X108 m/s (light travel the distance in 1 second)
1 light minute = 18 000 000 km/s = 18 million km/s

As we know, it takes 8.31 min to travel light from Sun to the Earth.

The distance between Sun and Earth is 8.31 light minutes.

18 000 000 X 8.31 = 149580000 = 149.58 million km

Note:- Moon – Earth distance is about 1.282 light Seconds

Note:- Vacuum is the absence of matter, so there is no any such place exist in the universe where vacuum is present. (This is not part of your query but this is important for your project work)


May 20, 2011

KenKen - a nice puzzle game

Ken Ken is a puzzle game. This game increases our mathematical and logical ability. This game is invented by Japanese teacher named as Tetsuya Miyamoto in 2004. This game is also known as KenDocu, MathDocu, CaluDoku. This game is published in near about 40 newspapers over the world.  I got to know about this game from Sunday Times of India.

This game is played in various grids like 3X3, 4X4, 5X5, 6X6, 7X7, 8X8 and 9X9.
If you are playing 5X5 then you can fill number from 1 to 5 only.

Rules:-
Rules are very simple
1. Each row and column contains exactly one number i.e. no number is repeated in row or column.

2. Each bold shaded group of cells called cage. There is a target number written in upper left corner in one cell with a mathematical operators (+, -, *, /). You have to use that mathematical operator and you have to get that target number. You can repeat the number is the cage but not in row or column.

Enjoy the playing...

May 4, 2011

My C++ Experiments

The following program will access the private variable outside the class which is theoretically not possible in C++.
'info' private variable will be assigned using the ‘int’ pointer variable ‘a’.

#include<iostream.h>
#include<conio.h>
#include<process.h>

class Node
{
private :
int info;
public :
void disp()
{
cout<<info<<"\n";
}
};

void main()
{
Node *n;
int *a;
clrscr();
a = (int *) n;
*a=30;
cout<<*a<<"\n";
n->disp();
}


The following program a very interesting example of 'for loop'. Do you think the program will give syntax error or it will go in infinite loop?
It won’t. It will just print ‘1’. To know how, you should learn 'for loop' very carefully or visit me personally or left your email in comments because it is very 

difficult to explain here. 

#include<iostream.h>
#include<conio.h>
void main()
{
int i=0;
for(;i++;cout<<i)  ;
cout<<i;
}

April 15, 2011

आंतरराष्ट्रीय महिला दिनाच्या निमित्ताने महिलांना आत्मपरीक्षणाची गरज...

आंतरराष्ट्रीय महिला दिनाच्या निमित्ताने हा लेख लिहितो आहे. या लेख मध्ये माझे मत मांडायचा प्रयत्न करत आहे, मी यात काही कटू सत्य लिहित आहे पण कुणा दुखवायचा माझा मुळीच हेतू नाही......


८ मार्च च्या सकाळ ची सुरुवात लोकमत च्या पहिल्या बातमीने झाली. त्यात महिला बाबतीत  काही survey चे results दिलेले होते ते वाचुन आनंद झाला. बहुतेकांनी ते results वाचले असतील पण मी त्यातील वेगळा view मांडणार आहे.

मी काही दिवसापूर्वी एक talk show बघितला, त्यात एक महिलेच म्हणण होत कि या वर्षी च्या budget मध्ये महिला करता काहीच ठोस केलेले नाही त्यामुळे महिलांची प्रगती होत नाहीये. मी मान्य करतो की खरच budget मध्ये असे काहीच केलेले नाही, पण.......जर डॉ. कल्पना चावला (the only person who traveled space twice), इंदिरा गांधी (honored as “the only man in parliament”), डॉ. किरण बेदी (India’s first and highest ranking woman police officer) यांनी ही जर महिला करता provision असलेल्या budget ची वाट बघितली असती तर??? आज वरील नाव आपण इतक्या अभिमान ने घेऊ शकलो असतो? ज्यांना खरच काहीतरी करून दाखवायची तळमळ असते, ते अशी भाषणबाजी करत पण नाही आणि अशा चुकीच्या संकल्पना मांडत पण नाही. डॉ. किरण बेदी नी एका लेख मध्ये लिहील आहे की पहीले स्वतः चा विकास करा, मग दुस-यांचा.
यातून घ्यायचा भाग असा की आजकाल महिला, डॉ. किरण बेदी च्या वाक्याच्या जरा उलटच करत आहेत अस नाही वाटत? मी तर डॉ. किरण बेदी च्या वाक्याला पूर्ण पणे सहमत आहे. पहीले स्वतः चा विकास करा मग दुस-यांचा....कारण
१. जर आपण पूर्ण पणे सक्षम नसलो तर दुसरे आपल अस्तित्व मानत नाही. २. अशा पुढारी कामात आपणच मागे राहून जातो. (स्वतः चा विकास करण्याच limit स्वतः च ठरून घेतलं पाहीजे, कारण कुणाला स्वतः च्या खोट्या प्रशसेत मोठेपण(विकास) वाटतो तर...कुणाला भाषण बाजीत....)


माझ्या निदर्शनातील आलेला महिलांचा सर्वात मोठा आणि महत्वाचा मुद्दा असा की, जर तुम्ही एखाद्या (ओळखीच्या) महिलेला मुद्दाम चिडवा, तर ती तुम्हाला जास्त प्रतिकार नाही करणार पण जर का तुम्ही स्त्री जाती विषयी जरी एक शब्द ही काढला तर ती तुम्हाला फाडून खायला कमी करणार नाही. या बाबतीतच १ उदाहरण सांगायचं म्हटलं तर, तुम्ही जरा ३३% आरक्षण रद्द करण्याबाबतीत बोलून बघा...ते त्यांच्या शैली मध्ये तुमच्या अंगावर धावून येतील...तो आमचा हक्क आहे....इत्यादी इत्यादी....पण कुणी या गोष्टी चा समाजावर काय परिणाम होईल हे विचार केलाय??? जर सर्व क्षेत्रात आरक्षण झाल तर बेरोजदारी किती वाढेल हे सुद्धा विसरून चालणार नाही, आणि बेरोजदारी जर वाढली की त्याचे समाजावर वेगळे परिणाम होतील...चोरी चे प्रमाण वाढेल इत्यादी इत्यादी...
....मला नाही वाटत कुणी या सर्व बाबींवर विचार केला असेल....आणि जर कुणी केला असेल तर ते स्वार्था पोटी चूप बसले असतील....महिला चूप बसतील कारण महिला वर्गा ला राखीव जागा मिळतील म्हणून आणि पुढारी लोक त्याला समर्थन करतील कारण त्यात त्याचं नाव मोठ होईल...पण यात सामान्य जनतेच काय???....आधी जाती वरून...आता स्त्री-पुरूष वरून भांडण.....पुढे कशा वरून होईल देव जाणे....आपण समाजाला अजून मोठ्या दरीत ढकलत आहोत अस नाही वाटत?
जर तुम्ही महीला सक्षमीकरण आणि सबलीकरण चे पुरस्कर्ते असाल तर जे मूळ कारण आहे त्यावर जोर द्या ना....२०११ च्या जनगणने नुसार भारतात फक्त ६५% महीला साक्षर आहेत...बाकीच्या ३५% महिलान वर लक्ष केंद्रित करा ना....पण मला माहितीय या वर कुणी कृती कारण तर दूर विचार सुद्धा करणार नाही.

या लेख चा असा अर्थ नाही की मी स्त्री विरोधी आहे...मी फक्त अशा गोष्टी वर प्रकाश टाकायचा प्रयत्न केला की ज्या गोष्टीवर बहुतेक लोक विचारही करत नाही...खर तर मी समान नागरी कायद्याचा समर्थक आहे. ज्यात स्त्री आणि पुरुषांना समान हक्क (आणि कर्तव्य) दिली आहेत. लोकमत मध्ये दिलेल्या survey मध्ये महिलांना त्यांच्या कुटुंबात मान मिळतो अशा म्हणणा-या ६५% महीला आहे...वाचून बर वाटल...पण मनाला नाही पटत की हे सर्व महिलांना ची स्थिती दर्शवित (कारण मी मानतो की statistics is always lie)गरीब वर्गा तील महिलांचा अभ्यास यात झालेला नसेल अस मला वाटत...पण ती ही परिस्थिती सुधारू शकते जर समान नागरी कायदा जर अस्तित्वात आला तर.......सर्वोच्च न्यायालयाने देखील भारतात समान नागरी कायद्याला समर्थकता दर्शवली आहे. पण हे राजकारणी लोक त्यांच्या स्वार्था करता अशा चांगल्या गोष्टी होऊ देत नाही. मी कॉंग्रेस विरोधी नाही तरीही सोनिया गांधी ना दोषी मानेन...publicity stunt म्हणून पंतप्रधान पद नाकारलं...नंतर स्त्री पुरस्कर्ती stunt म्हणून एका स्त्री ला राष्ट्रपती बनवलं...स्वतःला विचारा की...खरच प्रतिभाताई पाटील ह्या राष्ट्रपती पदा करता लायक होत्या??? उत्तर नाही असाच मिळणार.....जर तुम्हाला(राजकारणी लोकांना) दुसरा option मिळाला नाही म्हणून तुम्ही कुणालाही कोणत्याही पदावर बसवणार???...इथेच हे stunt प्रकरण थांबल नाही....सोनिया जी नी अजून एक कारनामा केला....लोकसभेतली पहिली महीला speaker म्हणून मीरा कुमार यांची निवड केली... speaker पदाची व्यक्ती कशी असायला हवी....जर महीलाच speaker म्हणून नेमायची असेल तर त्या पदाला लायक व्यक्ती नेमा ना.......मला मान्य आहे की मीरा कुमार यांचा अनुभव चांगला आहे आणि त्यांनी उच्चआयुक्त पदी काम केलेल आहे पण दुस-याही ब-याच महीला खासदार होत्या की ज्या speaker बनू शकल्या असत्या...त्यांना सोडून न बोलणारी व्यक्ती का??? अजूनही stunt चालूच आहे...आता ३३% आरक्षण......अशा या राजकारणी लोकांची मला चीड येते...हे राजकारणी स्वार्था करता जनतेचा विचारच करत नाही....महाराष्ट्र सरकार ने स्थानिक स्वराज्य संस्था करता ५०% आरक्षण जाहीर केल...पण फायदा काय??? या आधी महीला सरपंच करता आरक्षण नव्हत..नाहीये??? पण सत्य परस्थिती अशी की त्यांच्या नावा खाली दुसरेच सत्ता चालवतात....

महिलान वर अत्त्याचार होतात म्हणून ४९८(अ) कायदा आला...त्याचे खूप कडक स्वरूप होते जेणे करून महिला वरचा अत्याचार थांबवता येईल पण त्याच काय झाल?? आज अशी परिस्थिती आहे की या कायद्याचा गैफायदा घेऊन महीला खोट्या केस करतात. अस सिद्ध झालं की ९८% केसेस ह्या खोट्या असतात म्हणून सर्वोच्च न्यायालयाने याला कायद्याचा दहशदवाद म्हणून संबोधल आहे. आता पुरुषांच्या संरक्षणा करता ४९८(ब) कायदा येतोय की जेणे करून पुरूष वरील अत्याचार थांबवता येतील. आणि आपण म्हणतो की भारत हा पुरुषप्रधान देश आहे.

जर ही परिस्थिती बदलावायची असेल तर डॉ. किरण बेदी चे rule पाळा...स्वतः बदला आणि नंतर दुस-याना ही बदलवा... म्हणूनच मी म्हणतो की महिलांनी आत्मपरीक्षण केलच पाहीजे.

March 28, 2011

GeoTools DbaseFileReader Sample Code

           
           

I observed that, the code given in geotools documentation  is wrong. The statement missing semi colon and major mistake is DbaseFileReader constructor is passing single argument. Actually there is no such constructor.
This sample code read the DBF file and display the row on console.

I am using NetBeans 6.9.1 , JDK 6 and GeoTools 7.2.1

I used following classes

import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.channels.FileChannel.*;
import org.geotools.data.shapefile.dbf.DbaseFileReader;        


Following code read the DBF file from c: drive with the name jal.dbf. You can change the file name with your file location. You can paste this code to your command button event listener method.

Code:-
File selectedFile = jFileChooser1.getSelectedFile();
FileChannel in = null;
        try {
           in = new FileInputStream(selectedFile).getChannel();        //read the DBF file //Dynamic path
           //in = new FileInputStream("c://jal.dbf").getChannel();       //Static path   
        } catch (FileNotFoundException ex) {
            Logger.getLogger(SearchengineView.class.getName()).log(Level.SEVERE, null, ex);
        }
    DbaseFileReader r = null;
    try {
    r = new DbaseFileReader (in, false,Charset.forName("ISO-8859-1"));  //line was wrong in original code
    } catch (IOException ex1) { }

    Object[] fields = new Object[r.getHeader().getNumFields()];
    while(r.hasNext())
    {
            try {
                r.readEntry(fields);
                System.out.println(r.readRow());   //display the row on console
              } catch (IOException ex) {
                Logger.getLogger(SearchengineView.class.getName()).log(Level.SEVERE, null, ex);
            }
    }
        try {
            r.close();
        } catch (IOException ex) {
            Logger.getLogger(SearchengineView.class.getName()).log(Level.SEVERE, null, ex);
        }

           
           
         

February 3, 2011

DVD-RAM ???

If you look over the items of “My Computer” in Windows XP, you may see DVD-RAM drive. In early days it, was CD-ROM or CD-RW, so what does DVD-RAM drive means?

DVD-RAM disk
Basically, DVD-RAM (Random Access Memory) disk is the same as DVD-ROM or DVD, but which is having read/write facility. In simple word, DVD-RAM is like a re-writable DVD but not exactly the same. DVD-RAM is excellent in damage protection and they have long life than other DVD formats.

 In the normal DVD, you can only read the data from disk but cannot write. In DVD-RAM, you can re-write data many times as per requirement. DVD-RAM is used in camcorders, set top boxes, and etc.

Your DVD-RAM drive is able to write the DVD-RAM disk and DVD.

January 18, 2011

First moon mission – Who was the third person?

All know the fact that, NASA’s Apollo 11 spacecraft landed on moon on 20th July 1969 and the commander Neil Armstrong became first human to walk on the moon. You might also know about the Lunar Module Pilot Adwin Aldrin Jr. who became second moonwalker. But some of you might not know that, in this mission three people went to moon, out of which 2 walked on the moon surface and third person Command Module Pilot Michael Collins orbited above the moon surface in command ship named as Columbia. So the bottom line is 3 people went to moon but 2 walked on moon surface and one was in the ship.

Popular Posts