Tuesday, April 15, 2014

Lets recall 1991

Lets recall 1991 (or 1992,93,94,95 if you can't do 1991).

Cinema halls were places which were dark and damp, frequented by anti social elements,

Even old technology by US or other western countries standards was not available in India like computers or mobile phones.

We had Maruti, Ambassadar & Fiat premier padmini for cars. Going anywhere by road was considered a huge pain as roads were in piss poor state. NHAI did not exist back then.

Going abroad for a holiday was never heard of. I remember when my father went to london we all (about 50 people) went to see him off.

Calls to US/UK were not even in reach of rich. Though if you knew a telephone dept. employee you were lucky. Mobile phones were not there.

If your landline phone went dead and was repaired in 1 month, it was considered to be a good service.

Cancer treatment was available in only Bombay.

Trunk calls in normal mode used to take 12 hours. Lightening one was 30 mins (?) and used to cost four times.

Opening a bank account and getting the damn passbook updated was a half day long task in itself.

Domestic air travel was not heard off. Tickets were super expensive for kind of earnings those days. Travelling even in 2nd or 3rd AC was considered a luxury. Getting a ticket in railway was difficult. Very difficult. Online was not a word.

Novels or other non text-books were not available easily. There were some like mills & boon etc which you could buy in 2nd hand or get issued from library. I always used to think that one day if I have money I will buy lots of books.

Information was hard to come by. I remember my father renting Newstrack to watch news about babri mosque demolition. You had to believe on what radio used to tell you. I remember how we used to wait for 8:30 news at night.

Cinema halls were dark, damp places that used to be frequented by anti social elements. Entertainment industry was very very small and it was hard to find. Mall as a concept did not exist at all.

Bharat bandh or state bandh were very frequent. Riots were very frequent too.



I feel we have come a long way.

I am not saying we don't live in a rosy world and sure some places in India still have riots or still live in information vacuum, however we have more light than darkness. We have ubiquitous telephony, accessible & cheaper air travel, much better service in terms of railways and other ticketing. Malls and multiplexes has made long tail cinema possible and profitable along with mainstream commercial cinema. Internet is still not as ubiquitous as we would like to but we are moving towards it with a very fast pace. We have much less incidents of riots and bandhs. Sure, UP has riots and it is not going to end there anytime soon. However much of India is does not witness as much communal violence as we used to witness in those days. Polio is eradicated. Banking is much more ubiquitous and accessible than it was before.

Miles to go before we can call ourselves a developed nation, but surely we are not moving in the wrong direction.

Monday, March 31, 2014

ngrep

ngrep is the packet capture tool I always wanted. I always found tcpdump and wireshark etc too intimidating. ngrep prints everything it capture on stdout and like any other command line tool on *nix, the output can be further piped into other tools like grep, awk, sed or cut. Let me show a few examples

1. Capture all requests on port 80
sudo ngrep -q -W byline '' 'dst port 80'

2. Capture all http get requests on port 80 and headers

sudo ngrep -W byline -q -t '(^GET .* HTTP)' 'port 80'

3. Capture all GET requests on port 80
sudo ngrep -W byline -q -t '(^GET .* HTTP)' 'port 80'|grep -E '^GET /.*' 

4. Capture all GET/POST requests and responses (not in sync)
sudo ngrep -W byline -q -t '(^GET .* HTTP)|(^HTTP/1.1)'|grep -E '^(HTTP/1.1)|(GET /)' -B1


Thursday, March 27, 2014

Dilemma of growth vs environment

All the industrialised countries managed to kill their environment for growth and then are going back to environment after they have reached a state where they can afford to think about environment. Saving forests at the cost of nutrition, health care, immunisation, jobs, education, roads, electricity, clean drinking water etc cannot be justified. It is very easy for us to sit in our cozy offices/homes and comment about saving environment.

Forests have become breeding ground for maoists who continue to make sure people in those areas live in extreme poverty and continue supporting maoism. People are opposing nuclear plants after getting influenced by Greenpeace. How many people died in Fukushima outside the plant ? None! Millions die everyday due to lack of medicines, healthcare, clean drinking water and all this cannot be delivered to people with energy. We have an option of either using nuclear energy which is relatively clean or use thermal which is heavily polluting. We do not stop flying just because a plane crashed.

Similarly, we enforce coastal regulatory zones (CRZ) in cities like Mumbai and do not allow to build drains and water treatment plants as these will result in some mangroves getting cut. In Mumbai, metro line 2 is not being made as the coach depot has green hurdles. What is the use of CRZ in Mumbai ? People say that mangroves help Mumbai from flooding. Why not just make sure we have enough infra to take care of storm water? Other large cities manage it. I am sure Mumbai can manage without mangroves too.

I don't think we can continue to live in these city villages & forests and dream of growth. We cannot have both at the same time.

Thursday, March 06, 2014

Bitcoin is #fail and how RBI was right about it


Bitcoin bank closes down after $600,000 hacker theft

http://www.bbc.com/news/business-26446142

Bitcoin Singapore CEO suicide

MtGox continues to crumble, Flexcoin and Poloniex hacked, ZeroBlock gets RTBTC
http://siliconangle.com/blog/2014/03/05/bitcoin-weekly-2014-march-5th-mtgox-continues-to-crumble-flexcoin-and-poloniex-hacked-zeroblock-gets-rtbtc/



And here is RBI's advisory released on 24th Dec, 2013 and I quote:

  • VCs being in digital form are stored in digital/electronic media that are called electronic wallets. Therefore, they are prone to losses arising out of hacking, loss of password, compromise of access credentials, malware attack etc. Since they are not created by or traded through any authorised central registry or agency, the loss of the e-wallet could result in the permanent loss of the VCs held in them.
  • It is reported that VCs, such as Bitcoins, are being traded on exchange platforms set up in various jurisdictions whose legal status is also unclear. Hence, the traders of VCs on such platforms are exposed to legal as well as financial risks
The second point came into play as Mt.Gox the biggest bitcoin exchange was hosted in Japan and users in USA etc have no direct legal overreach to it.

At today's value of bitcoin of $668, the value of stolen 800K bitcoins is more than 500 million dollars!

Sunday, November 06, 2011

Not subsidizing petrol is good

Because government should
  • not subsidize 3% (rich) population's leisurely drives
  • better spend that money in building public transport
  • build better healthcare facility
  • bring down fiscal deficit
  • provide money out to poor via NREGA
  • pass food security bill and provide out food security
  • take steps to reduce pollution by making driving more expensive and public transport more effective
  • dissuade people from driving cars to de-congest city roads
  • encourage car pooling and this is one way of doing it
  • encourage innovation of alternate fuels in the country and prohibitive costs of petrol is a good way of doing that

Tuesday, October 25, 2011

Say Happy Diwali without fireworks


Watch this photo series and decide for yourself



http://wd-society.blogspot.com/2009/04/indian-fireworks-blaze-kills-23.html





I do not understand why do we let this madness happen every year. There is much more to Diwali than firecrackers. What do they give us anyway ? Pollution, many children without childhood, some without eyes and others dead. To add to this misery they cost so much and add strain to our already stressed wallets!

Saying no to firecrackers is not enough. Actively discourage others too.

Wednesday, October 12, 2011

A few things about India that is not so well known

  1. India has a nuclear capable missile which can travel at 7mach
  2. Rural population of India is about 60% of Indian population
  3. More than 50% of Indians have mobile phones
  4. Indian mobile network is better than most other mobile networks in the world in terms of quality, coverage and cost(one SMS costs less than 1 cent, calling is at 1 cent per minute).
  5. There is a rural employment guarantee scheme which covers a very large part of Indian population
  6. Medicines in India are very cheap compared to US and cost of healthcare is also a magnitude lower. There are a lot of good hospitals and medical tourism is on the rise.
  7. India has an active fast breeder reactor program which, if successful, would lead to energy security
  8. Some parts of India are very under developed and malnutrition is higher than sahara desert countries
  9. About 40% of Indians are below poverty line and live in very unhygienic conditions
  10. There are about 15 Indian cities where Metro railways in under construction or planned
  11. India now manufactures more 4 mn cars and commercial vehicles per year. This is a 500% jump for last 10 years
  12. India is the largest milk producer in the world. Production was about 120 mn tonnes in 2010. This figure is almost double of US milk production.
  13. Gold consumption of India was about 745 tonnes last year. This is highest in the world and is about 6 times the US consumption. Women in India are crazy about gold and it is bought as investment

Thursday, October 06, 2011

Joy of giving - Day 1

Sometime back I wondered here, if there could be a milk network, to feed poor children and take food out of their daily problems list. In fact, I have been wondering about it off and on. Today I decided to make a start. Though, it was not milk that I started with. I had some old clothes lying around and some extra food. These were some destitute people sitting near Sai dham temple at Kandivali East on the western express highway. They seem to be in business of making brooms. There were around 50 of them living in small roadside huts.

Here are a few points I considered/learned today:
  1. I feel giving away clothes or other goods is better than giving away food. I feel that food gets over too quickly to make any significant difference in their lives. I'd much rather give them utensils, clothes, sewing material, carry bags, newspapers, books etc than giving away food. These things help them jack up quality of their daily life by a small percentage.
  2. It is better to give to adults in the family and not to children. Children tend to be too eager with things and may not use them to the fullest. Adult members are more sane and they even tell you what do they want next time.
  3. Choose a location close to home. Not too close as you don't want them to follow you back home and it is good exercise to walk a few kilometers a day.
  4. Do not be afraid of them. They are people after all and will not try to hurt anybody who gives them
  5. Talk to them and ask them about their needs. Try to dissuade them from asking money and ask them to use the goods to do something productive
More soon.

Thursday, July 28, 2011

Say no to Anna

I sometimes wonder why we Indians are so gullible ? Why do we always believe everything that these babas, media says and never believe what the government says. I think it runs in our blood. With English ruling us for so long we are programmed to react this way.

But now things have changed. We are no longer ruled by them. We are no longer a third world country. We are a strong and dominant economy and there are people who would like us to remain in middle ages. We saw an example of that during CWG games. When we were busy maligning our own country, government and games, outsiders took advantage of this to show the world a negative picture of us.

Even now these people are busy weakening our government and country and we are celebrating them. If you have issues with the ruling political party, settle it during the elections. Let government function and take country forward. Time has come to ignore such people and move forward. Corruption cannot be squatted by a bill. It is within us. Within you and me. Solve that first and government would become clean automatically. Government is just a reflection of our society.

We don't need a revolution. We need a stable and strong government. We need growth and prosperity.

Please don't be foolish and Say NO to Anna!

Wednesday, July 06, 2011

Facebook launches video chat

FB launches video chat. It will be an extension. It is based on skype.