How not to be wrong

Book summary: How not to be wrong by Jordan Ellenberg

The book focuses on the application of simple and profound maths to day-to-day life and how not to be deceived by mathematical traps.

Stingray City, Cayman Islands

Escaping into Caribbean with Norwegian Escape Cruise

We took a Norwegian cruise in the western Caribbean. The journey was seven-days long, three days on board, and four days at Falmouth (Jamaica), Georgetown (Cayman Islands), Costa Maya (Mexico), and Great Stirrup Cay (Bahamas). If you are a first-time cruiser, read some of my tips for first-time cruisers. Day 1 & 2 - at the sea The boarding is a bit of a mess. With 5000 passengers boarding and everyone required to assemble in the common area for the security briefing, it was complete chaos for a few hours. ...

Cruise Ship

Some tips for the first time cruisers

How to book - Search and book via a travel agent like Expedia.com or cruisecompete.com. If you have to ask something then these travel agents usually provide way better customer service than the ones employed by the cruise company. Deck - The cruise floors are called decks. Larger the number, higher the deck. Most outdoor activities (including pool, spa, nightclubs) are usually located happen on the higher decks. The lower decks are usually about indoor activities and restaurants. Bidding - If your cruise line permits, always bid for a better room within your budget. Formal Dress - Carry at least one formal dress, it can turn out to be useful for some formal events on the cruise. Diet - Popular dietary restrictions like vegetarian or vegan are not hard for them to meet most of the time. But if you have a more special requirement (like halal diet or kosher), let the cruise ship know in advance. Meals - Usually all cruise ships have a buffet restaurant and multiple dine-in restaurants. Former is quick and contains prepared food. Latter is fancier but takes its own sweet time. The buffet restaurant is usually on the higher deck and is included as a part of the cruise. Some Dine-in restaurants (high brow term: “Speciality restaurants”) are complementary, some are not. An advance reservation is good to have (but not required) for the latter. Beverages - While the standard food is free on the ship. Standard addictions like Soda (soft-drinks), carbonated water, and alcohol (hard-drinks) are not free. If you really need them, buy them in advance, buy them onboard (expensive), buy and consume them whenever ship stops at a new destination or look for a promotional package which includes them for free. Water - Carry a few empty water bottles to refill or even better a hydration pack. A hydration pack is really useful for the day trips at the intermediate stops (fancily called, “port of call”). Shore Excursions - Shore Excursions at the port of call can be booked via cruise ship or on your own. The cruise ship ones are expensive but are a safer bet. If you are adventurous then book them on your own. If you are not, just go with the cruise bookings. Guest service - If you need something from the guest service, catch them early in the morning or late at night. Every other time, I have seen a queue. I wonder if they give out some raffle tickets but I digress.

Binary vs Graded outcomes

Binary vs Graded outcomes

Some activities have binary outcomes while some have graded outcomes. Getting admission into a college is binary, either you get it or you don’t; how well you do in the college is graded. Clearing a job interview is binary, either you get selected or you don’t; how well you do the job isn’t that black and white. Getting a promotion is binary; while a pay raise is usually on a graded scale. Being single or married is binary; while the quality of life, in either case, is graded. ...

January 20, 2018 Â· 1 min #Life      Misc
Two days at Zion National Park

Two days at Zion National Park

Day 1 We did Zion Narrows on the first day. The hike consists of walking in the flowing water, which is ankle to knee-deep. Therefore, getting wetsuits and water shoes is highly recommended. The views are marvelous, and since one has to return along the same route, one can decide how far one wants to go. Total hike length is 9.4 miles, starting at the visitor center. Day 2 We did Angel’s Landing on the second day. It’s a short 5.4 mile with steep elevation gain at the end, which requires one to hold onto chains for climbing upwards. It is similar to Half Dome hike without the long, draining walk till the last dome. Those who fear heights should avoid this. For everyone else, it is an excellent and short fitness test combined with excellent views at the end. ...

Diagnosing Mac apps which won't open (error -10810)

Occasionally, my mac applications end up in a corrupt state where they won’t open. I recently encountered this with Deluge. The first step to diagnose is to open Terminal and open them in the terminal via Sh 1 2 $ open -a deluge # This name is same as the name of the app (minus the ".app" portion). LSOpenURLsWithRole() failed for the application /usr/local/Caskroom/deluge/1.3.12/Deluge.app with error -10810. Now, the error is more diagnosable but still cryptic. Deluge.app above is a directory and we can navigate to the binary located at Deluge.app/Contents/MacOS/Deluge and execute the actual binary to see a more actionable error ...

Grand Canyon

Rim-2-Rimember: Day hiking through Grand Canyon

I did the 23.4 miles rim to rim day hike through Grand Canyon during the last week of November (Thanksgiving weekend) 2017. Unlike most hikes like Mt. Whitney, the hard part (ascent) comes later, and therefore, it is easy to get trapped. Be confident of your fitness level before you try this. What to carry There are multiple water stops, some seasonal, some permanent, check the current situation at the NPS website. The water supply comes from Roaring Springs, and it has high Chlorine content. I carried ~3L of water and 1L of Gatorade. I think the 2L of water is the absolute minimum to avoid the risk of dehydration. Also, get a hydration pack so that you are drinking more frequently and without stopping. Wear good trail hiking boots since many parts of the trail are rough. Carry protein bars and trail mixes for snacking. Cache the map of the Grand Canyon in Google Maps since there is no network connectivity inside the canyon. Carry a detailed list of the checkpoints you are going to encounter, along with the distance to track how well you are doing. You can download a sample tracking sheet from Grand Canyon hiking time tracking sheet, and you can see my full sheet under “My Journey” section in this blog post. About the Journey The road AZ 67 to the North Rim closes on the first snowfall, therefore, check it’s the current situation before leaving. The North Rim is less touristy, less accessible, and higher elevation than the south rim, therefore, start the hike on the north rim and end it on the south rim. There is precisely one trail to take on the North Rim, that’s North Kaibab trail. The total length of the trail is about 14 miles, and the elevation change is about 5800 ft. There are two trails one can take to go up the South Rim, South Kaibab trail or Bright Angel Trail, Bright Angel trail is longer but has lower elevation gain and has one water stop (Indian garden), therefore, take the Bright Angel trail while going up the South Rim. The total length of this trail is about 9.4 miles, and the elevation change is about 4400 ft. On average, it seems it takes anywhere between 12 and 15 hours to finish the hike. My Journey Download a copy of this sheet for your use here. ...

The subtle art of not giving a f*ck by Mark Manson

Book summary: The subtle art of not giving a f*ck by Mark Manson

The book presents an interesting viewpoint on the meaning of life, questioning traditional self-help gurus, consumerism, and over-obsession with positive thinking.

Random? or not?

Book summary: Fooled by Randomness by Nassim Nicholas Taleb

The book talks about randomness, associated maths, and the psychological biases which interfere with a more stochastic approach to thinking about life.

Java Musings - referencing an uninitialized final variable

Java has fewer quirks compared to C++, but sometimes I do come across surprises. A code like following will fail to compile since you are trying to initialize a variable with an uninitialized variable. Java 1 2 3 4 5 6 7 8 9 public class Sample { private final String mField1; private final String mField2 = mField1 + " two"; private Sample(String field1) { mField1 = field1; } } But if instead of directly referencing mField1, you reference indirectly via a getter method code will compile, and mField2 will get null value for mField1. ...