Bus for overnight journey

Overnight bus journeys

Overnight bus and train journeys are a great way to save time during long-distance (6 hours+) travel. I still have vivid memories of my overnight bus journeys from Guatemala, Kenya, Egypt, and Peru. Here are some tips to make them easier.

Timing

Two cryptocurrency exchanges came out early on from Y Combinator. One is 2012. One in 2013. One returned 1500X to early investors. The other one ceased to exist after 2 years. What happened?

panama-skyline-2

Mini Trip to Panama

Panamá is one of the wealthiest countries in Central America. The gorgeous skyline of its capital, Panama City, reminded me of Singapore. Beyond that, there isn’t much to do in the city. The Panama Canal, in my opinion, is a bit overhyped for tourism. I had a much better experience seeing the locks in Seattle and going through locks in Stockholm. Major areas to visit in Panamá San Blas Islands - gorgeous islands that are equivalent to mini-French Polynesia Boquete - Gorgeous small town in the highlands Bocas Del Toro - Caribbean vibe, I decided to skip this Darien National Park - It is filled with Narcos and human traffickers. I skipped it this time. Day 1 - Panamá City Start the day with a walking tour of the city’s Old Quarter, “Casco Viejo”. It is gorgeous, similar to Antigua. ...

Go language

How to setup Go packages under monorepo

Let’s say you want to have two Go packages pkg1 and pkg2 in a monorepo setup. Here’s what a good project structure would look like.

Authentically American

While Sitting at a local restaurant in Cairo, Egypt, I deliberated between Subia and Dom Palm to drink. Two adult women, the mother (in-law?) wearing a burqa and the daughter (in-law?) wearing an abaya sat in front of me. The third member of their party was a little girl, wearing a bright pink frock. She was small enough to be placed right on the table. Dom Palm, I decided, will be the “authentic” Egyptian taste for tonight.

Android Logo

Android: Always show toasts on the background thread

I used to call Toast#show() on the UI thread. Then one day, I received notifications related to an ANR (Application Not Responding) error in one of my Android apps. Java 1 2 3 4 5 6 7 8 9 10 11 at android.os.BinderProxy.transactNative(BinderProxy.java) at android.os.BinderProxy.transact(BinderProxy.java:605) at android.view.accessibility.IAccessibilityManager$Stub$Proxy.addClient(IAccessibilityManager.java:1207) at android.view.accessibility.AccessibilityManager.tryConnectToServiceLocked(AccessibilityManager.java:1804) at android.view.accessibility.AccessibilityManager.(AccessibilityManager.java:606) at android.widget.ToastPresenter.(ToastPresenter.java:138) at android.widget.Toast$TN.(Toast.java:1151) at android.widget.Toast.(Toast.java:259) at android.widget.Toast.makeText(Toast.java:891) at android.widget.Toast.makeText(Toast.java:879) at net.ashishb.androidmusicplayer.util.UiHelper.showToast(UiHelper.java:111) Programmers on StackOverflow are confused about whether it is OK to call Toasts on the background threads. Just like me, they think that Toast must be displayed from the UI thread. Even though there is no reason. ...

Musings of transliteration: Tharman Shanmugaratnam's name

Tharman, the 9th president of Singapore is of Indian Tamil ethnicity. The pronunciation of his first name shows how various languages use Latin alphabets.

No man's Land

Mini Trip to Trinidad and Tobago

The oil-rich twin islands of Trinidad and Tobago are the southernmost island in the Caribbean. The smaller Tobago island is more beautiful, safe, and worthy of spending time on than the bigger Trinidad island. So, if you are short on time, just visit Tobago island. There are 30 USD one-way flights between Trinidad’s POS airport to Tobago’s TAB airport. Day 1 - Port of Spain Stroll through Queen’s Park area, checking out places like Stollmeyer’s Castle, Free Botanical Garden, 30 TTD Zoo, and Ariapita avenue. ...

What I learned losing a million dollars by Jim Paul

Book Summary: What I learned losing a million dollars by Jim Paul

“What I learned losing a million dollars” covers the iconic rise and fall of Jim Paul in the Chicago Mercantile Exchange as a trader.

Real vs Theoretical Engineering Productivity

Some engineering productivity is real. Some are theoretical.