Posts

Showing posts from 2019

20,000 Kms in 7 days at 2Rs / Km

Image
Recently I Traveled to Kenya and Seychelles with my family. Africa, particularly Masai Mara, or the Mara as the locals call it, is absolutely mesmerizing. When I was in the wilderness of Masai Mara, the wind in my hair, the sight of endless land, tranquility engrossed me. It was the feeling of being one with the universe. Besides seeing some very interesting animals we also learnt a lot about them. Thanks to our guide Lawrence. One such animal was  the Eland (it almost looks like the Indian cow, Amrit Mahal ) but it also looks like an antelope. Apparently, this is the only animal that the Masai community hunts and eats. Kenyan Eland Our preparations for the trip had started much earlier than the trip. Weather, vaccination , threat of terrorism, risks of going out in the night, best time to visit, my wife had researched everything. She even made a few international calls to Nairobi to inquire.We booked through http://www.holidaysbox.com . (Nice people). Our plan was to tra

Which Country is closest to Your Company?

Image
In an interview with a Fortune 100 company, the panel asked me if I knew how big the company was. I told them that they are bigger than the Maldives. My answer prompted me to start thinking about how big some of these companies are and what kind of influence they bear on geopolitical events and how closely their affairs are laced with Countries. According to globaljustice 157 of top 200 economic entities are corporations not countries. Although the article views this development in poor light, I think it the world is better off with powerful corporate than powerful politicians. In my opinion, we are still comparing elephants and camels. If you judge them basis their strength the elephant will win and if you judge them on their ability to survive without water the camel will win. But I think the discussion is still relevant because countries don't go to war it is the companies that go to war these days. Be it Hewaiwe vs US or Ericson's rumored involvement in fo

Bulk Upload csv to Neo4j on windows

Image
This blog post was originally intended only for data based philosophical discussions. However, given that I have not posted anything in many a years I decided to dilute it. I had lot of problems bulk importing csv data in to neo4j. I have finally figured out how to do it. neo4j is a graph db. I won't go in to details of what is a graph db or how to write cypher queries. once you have downloaded neo4j from  here  and installed neo4j you will see the neo4j desktop app. Add a new graph. create a new graph give it a password. once the graph is created click on manage and go to the "Terminal" tab. Now before we go ahead you need to prepare your csv files. your csv files should be split as node csv and relations svs. And the initial headings have to follow a syntax. In your node csv the first column should be unique key and your first column heading should be <your id>:ID(<your node name>) In your relations csv you must have start and end node