Kentucky Derby grounds

A day in Louisville, Kentucky

While touring United States , I ended up in Kentucky. There isn’t a lot to do in Kentucky, especially, during the winters that I visited. So, here are a few small ideas for a day trip. I would recommend starting the day with Kentucky Derby Museum which is famous for its annual Kentucky Derby Horse race. Afterwards, check out the sit-in demonstration site of the 1961 civil rights movement at 501 S Fourth St . ...

A view from Taj Samundra (Colombo)

A surprisingly positive experience with Air India

After an amazing 5-day trip in Sri Lanka , we were to catch a late night Air India flight from Colombo to New Delhi. The flight was delayed due to an engine malfunction. First by an hour. Then another hour. And four-hours later, when the repair work finished, the flight pilot’s shift had already ended! An emergency flight was planned and it was supposed to arrive 20-hours later! Air India sent all the passengers to a complimentary all-inclusive stay in Taj Samundra. ...

Unhospitable Airports

There was no water fountain at the airport. Everyone was expected to buy the overpriced water bottles sold alongside the “Save Environment” banner. The bathrooms were slightly damp. The AC was only partially working. There wasn’t enough space to stand, let alone sit, in the boarding area. The boarding process was haphazard with little information being conveyed about why it was delayed. The restless passengers queued up in multiple lines that merge into each other at various points. Everyone was ready to leave escape. ...

Android: Don't use stale views

In MusicSync , one of the views became complex and too slow to be inflated on the UI thread. So, I decided to do some Pooling around it to inflate it on the background thread and use it on the UI thread. This made the UI snappier, reducing multiple-second load times when opening some folders. However, soon I ended up with an edge case where re-opening the activity (and not the app) led to a semi-functional app. This edge case is hard as it gets triggered only in particular scenarios where the user destroys the activity via swipe up. At the same time, the app keeps running due to the attached foreground service that’s playing the media. And on activity re-creation, I got stale views! ...

USA = Union of Sales and Advertisement

The price variance one sees in the United States is huge.

Nashville

A day in Nashville, Tennessee

While touring United States , I ended up in Tennessee. There isn’t a lot to do in Tennessee, especially, during the winters that I visited. So, here are a few small ideas for a day trip. I would recommend starting the day with Rednor Lake State Park Check out The Parthenon . It is a full-scale replica of The Parthenon in Athens, Greece. I would recommend combining your trip with a visit to the city of Birmingham in Alabama and the city of Louisville located in Kentucky . ...

Minimize Javascript in your codebase

Javascript isn’t a language. It is just a specification. Well, that’s true for many other languages like Python and Java. However, most languages have just one de facto implementation. For example, CPython for Python. Java has two major ones - Oracle’s JDK and Google’s Android Java. That’s not true for Javascript though.

Birmingham

A day in Birmingham, Alabama

Alabama is a flyover state with historic connections to the civil rights movement of the United States. I spent a day in Birmingham, Alabama and here’s what I would recommend visiting. Start your day with Birmingham Civil Right Institute which talks about the race relations and the civil rights movements for the Black citizens. I would recommend spending an hour or two here. From here, visit Sloss Furances , a historic landmark around industrialization of the United States. ...

In defense of ad-supported products

There are two major ways to make money on consumer Internet - subscription or ads. Also, unlike enterprise-world, usage-based subscription is hard and confusing for consumers. So, we end up with 10$ a month all-you-can-consume buffet or we end up with ads. Now, like it or not, not all users are created equal. Some are more valuable than others. And these valuable users indirectly pay more than the users with less spending power. In other words, these users subsidize the product for the less fortunate fellows. In fact, in some ways, ads are a transfer of wealth from rich to poor users of the same service. So, next time wonder when people complain about ads, they will always be rich and powerful. These rich users would prefer a minuscule 10-a-month price instead of being worth thousands, if not millions, for the advertisers. And if the product has network effects, like social media, then it is unavoidable for these richer folks. ...

A cave that I went inside

Real vs artificial world

I crawled through the 2 by 2 feet hole. I checked the map again. If the map is right then in about 30 ft, this passage should open into a big enough chamber for me to walk out of this aptly named Labyrinth cave. My elbows were bruised. So were my knees. And then a small stalactite scratched my forehead. That’s when time stopped for me. I decided to lie down. 100s of small thorny stones were pinching me. I was calm. I looked around. A video feed of this would have been claustrophobic for the viewers but I felt nothing. At least not till my forehead got scratched.