My rm -rf moment

Yes, it did happen, and no, I am not stupid enough to execute rm -rf *. It was a bit more convoluted than that. I was trying to prepare a customized SD card image for the Android emulator. The fastest way to do that was to mount the SD card on my GNU/Linux machine and modify the files. The files on the SD card have root as the owner. Therefore, the easiest way to maintain a clean state was to make all modifications using sudo. My script included a command rm -r ${base_dir}/${old_file}. While executing the script, due to an error, both the variables were not set. It took me a few hours to recover; I never committed the broken script, so, I did not harm anyone else. But since then, my bash scripts have always included set -o nounset. ...

Thailand Tiger Temple

Thailand in 4 Days

Day 1 Post-immigration clearance at about 6 PM, I took the Airlink Train to go to Patpong market. One can try a wide variety of local cuisines or a Thai body or facial massage there. There are tons of stalls selling unbranded goods of all variety. Overall, a good start the journey. From there, I headed to Khao San road which is the backpacker’s paradise of Bangkok. The area is on party 24-hours a day. I did some window shopping and felt that goods being sold on Bangkok streets were significantly expensive than Amazon and Dollar Tree in the US. I stayed at Rainbow Hostel at the end of Khao San road to avoid the noise during the sleep time. The place was good but not great. Thailand, just like India uses water in the toilets, if you are a westerner who has never used water before then carry your own toilet paper around. ...

Why KBB overprices cars

KBB is used in the US for estimating the value of a used car before buying/selling it. While helping friends buy used cars, I felt that it always overvalued the car. I feel there is an anchoring effect in play here. A car owner (seller) feels happier checking the value of their car since it is being reported higher than what they expect. This provides a nice room for providing a discount for converting the buyer. A buyer, especially a first-time one, would feel happier since they are getting a discount on the KBB value. If instead KBB rightly priced the cars, it would leave no room for negotiation, leading to lower conversions. Thus, despite having no direct incentives, KBB would be inclined towards overvaluation. I wonder if the same thing applies for home-buying sites like Zillow and Trulia. ...

Rohtak Riots

Background Rohtak is a small district 50 miles (80 km) west of the Indian capital of New Delhi. The city is also known as the Jat heartland for its dominant Jat population. The second biggest community in the district is [Hindu] Punjabis who migrated to Haryana after the Islamic state of Pakistan was carved out of India in 1947. The Punjabis are primarily businessmen and live in the urban areas. They, notably, run the largest wholesale cloth market of Asia known as Shori market. The Jats primarily constitute the agrarian society and dominate the public institutions. The traumatic memories of 1947 have kept Punjabis suspicious of Indian National Congress (“Congress”) and hence, their love for nationalist BJP is well known. The Congress is the Grand Old Party of India and hence, is deeply entrenched in the Jat social institutional bodies, namely, the Khap Panchayats and educational institutions. The Jats’ love for the nation and hence, joining the Indian army is well-known. The nationalist spirit is implicit in the culture of the city district. So much so that while Congress leaders outside Haryana support anti-India rallies while the Congress leaders in Haryana fight court battles for the right to display Indian flags. ...

Independence Hall

Philadelphia in 3 days

Philadelphia is a historic city on the east coast of the United States. It was the capital of the U.S. before Washington D.C. I spent two and a half days in and around Philadephia in January 2016. Day 1 I started the day with Indepence Hall National Historic Site. Liberty Bell Center gives a good overview of this historic American cultural icon. From there, I continued onto the tour of Independence Hall. Only a guided tour is permitted inside and it is perfect. ...

Standardization

Standards exist so that products from different vendors can interoperate with each other, for example, sending email from Gmail to Yahoo! mail, and use common interfaces, for example, sockets for electrical appliances. The standardization does not always have to come from imposed standards; sometimes, it comes from the user expectations. For example, the interface of a Calander/Scheduling application is pretty standardized. There is little scope to differentiate a new Calendar application from the existing products like Outlook Calendar, Google Calendar, and iCal while just implementing the standard is still pretty hard. ...

San Juan

Puerto Rico in 4 days

Among all islands in the Caribbean, Puerto Rico (“Rich Port”) is among the few to have historical and geographical places of interest, alongside the beaches. It is a U.S. territory. Flights from the mainland United States are treated as domestic flights. It has tropical weather, so, a visit in the latter part of the year is recommended. Public transport is poor outside of the main city of San Juan, so, if you want to explore the island, a rental car is highly recommended. Here is a recommended four-day itinerary. ...

Ice everywhere

Alaska in 4 days

Alaska is vast, in a 4-day trip, one can either do the northern Arctic part or the southern part. We did the latter. Here is the itinerary we followed. Day 0 - Land in Anchorage, and drive four hours to Denali national park. Day 1 - Take the Kantishna bus tour of Denali national park. Driving inside the park is not allowed. ...

The Intelligent Investor by Benjamin Graham

Book Summary: The Intelligent Investor by Benjamin Graham

The Intelligent Investor by Benjamin Graham is considered the bible of investing.

When marketplaces work and when they don't

Thanks to Uber’s meteoric rise in valuation, several startups are trying to mimic the idea of building marketplaces with instant gratification. So much so, that there is an aptly titled poem, " Uber for X", devoted to this. Though the jury is still out on Uber or Airbnb, some others like Exec and Homejoy have already failed to be sustainable businesses. Here are a few thoughts on the characteristics of marketplaces, including so-called sharing economy startups, which decides their eventual fate. ...