Wednesday, August 24, 2022

Integrity

Life is full of situations where we are asked to trade our integrity for other interests, such as sparing the feelings of a friend. But once we start giving up our integrity, it is a slippery slope: We are likely to do it more and more until at some point we stop feeling bad about it.

Saturday, June 8, 2019

Don't talk bad about people

A Reddit user, strokesurviver52, writes about an interesting way their art teacher gave feedback to students:
I learned from an art teacher about how to talk about people. I'd watch him evaluate student work: if it was atrocious art he'd say it was "interesting" and "Tell me about this work!" If it was only a tiny bit messed or looked incomplete, he'd say "I like the potential energy in this one. Have you thought about exploring this further?" and if the student had failed the assignment completely "Can you explain these shapes and what motivate you to finish this way?"

He NEVER criticized and at the time I wondered why everyone was being treated that way by him (ever see "special" kids get awards at sports events just for attending?) I felt like we were being treated like "special" kids who need to be rewarded just for trying. Yet this same instructor also put up excellent work for display (much like someone's Mom hanging your art work on the fridge.)

Later in life as uncomfortable situations came up I'd think back to that man's noncommittal way of offering criticism without dashing the hopes of budding artists, and discovered it actually works. People don't want truth; they want to be acknowledged and it doesn't take much work to come up with neutral talk no matter who you are speaking with, especially if confronted by anyone higher up on the employment tree than yourself. (This is also how so many brown nosers keep their jobs even while disgusting the rest of us.)

Financial Calculations in Emacs Calc

In 2013, Andrew Hyatt posted couple of Emacs Calc tutorials to Google Plus, one that I particularly liked dealt with Time Value of Money / (Financial) calculations. Google Plus went away, so did the tutorials, but fortunately it was captured by archive.org. I am posting them below.

Andrew Hyatt
Feb 16, 2013, Google Plus Emacs Community

I recently chatted with emacspeak creator +T.V. Raman, and told him I was writing a series of short tutorials about calc.  He is really a calc fanatic, and told me a story in which he astounded a loan officer by calculating scheduled loan payments with just a few keystrokes in calc. Raman is living proof that calc is a useful tool for so many situations, and it always pays to have emacs running.  He also mentioned that he found the explanation in the calc tutorial about the financial functions to be the clearest he's ever read.

So, yes, calc can do finance.  Let's say that you were sitting in front of a loan officer, and she told you that for your loan of $500,000, you need to pay in 30 installments with a 5% interest rate.  How much do you need to pay each month?  Wait a second!  Stop right there, loan officer!  I have calc!

M-x calc
500000  (the amount of the loan)
30   (the number of payments)
'5%  (equivalent to typing 0.05)
b M  (calc-fin-pmt, computing the amount of periodic payments to amortize a loan)

Result:
1:  25,000

OK, but that's a bit obvious, since $25,000 is just 5% of $500,000.  If the number of payments was much smaller, we'd get a larger value.  Let's take another question: if you wanted to only pay $10,000 in each installment?  How many installments would it take to pay off the loan?

'5%
10000  (the payment we want to make)
500000  (the loan amount)
b #  (calc-fin-nper, calculate the number of installments needed)

Result
1:  nper(0.05, 10,000, 500,000)

What?  Oh, I see, I also go the message: "Payment too small to cover interest rate: 10000".  Oh, right, 5% of $500,000 is already $25,000, so we'd never pay it off at that rate.  What if we payed $50,000 instead?

'5%
50000  (the payment we want to make)
500000  (the loan amount)
b #

Result:
1: 14.2066908

So, it would take just over 14 payments to pay off the loan.

OK, one more cool one:  Let's say you meet an investment banker who gives you the following deal.  I've got a investment for you, she says.  Just give me $100,000 and I'll give you $10,000 at the end of each year for the next 10 years.  The interest rate will stay at 3% for the next 10 years.  Is it a good deal?

Hey, what are you asking me for?  I have no idea!  Calc knows, though, because it can tell you the break-even point for the cost of an investment that gives periodic payments.

'3%  (the interest rate)
10  (the number of payments)
10000  (the payment you get each time)
b P  (calc-fin-pv, calculate the "present value" of the investment, the break-even point for the investment)

Result:
1:  85,302.02837

In other words, the break-even point for the initial cost is $85,302.  If the investment costs more than this, it's no good at that assumed interest rate. Better reject the deal.  Trust calc more than any investment banker.

This is just a small sampling of some of the financial calculations that calc can perform.  The next time you are making an investment, fire up calc.  You'll not only have confidence in the deal, you may just amaze someone with the power of emacs, just like T.V. Raman did.

Thursday, March 21, 2019

Friendship with equals, dominance over the weak, and obedience with the strong.

Friendship with equals, dominance over the weak, and obedience with the strong.

I heard this (or a version of this) maxim many times growing up. It is probably from Chanakya's Arthasastra, I am not sure of the source. Could not find this in English search results. I had to do a couple of searches in Malayalam (I hardly ever search in Malayalam) before I could track it down in come blog posts.

സമനോട് സൗഹൃദം, ദുർബലനുമേൽ അധീശ്വത്വം, ശക്തനോട് വിധേയത്വം.
സമനോട് സൗഹൃദം ... ദുര്‍ബലനോട് അധീശ്വത്വം ..ശക്തനോട് വിധേയത്വം

Friday, April 27, 2018

Givers Gain


This is from Reddit.

Giver's gain. Good wisdom anyone can apply in their lives.

There's the mattress owner in Houston named Mattress Mack, and during Hurricane Harvey offered first aid responders to sleep on his mattresses, organized meals for the responders, and essentially converted his stores into a makeshift HQ for several relief programs. All funded by him, and without asking anything in return. He was ahead of the evacuations, offering his stores as a place for refuge for any who needed it, before the storm was serious.

Meanwhile at the same time, Joel Osteen's church, Lakewood, (one of the largest in America) closed it's doors due to flooding (there wasn't any in the church) and only opened their doors when citizens and the media tweeted Joel, asking why they were closed. His response in a live TV interview? "The city didn't ask us to be open." What visionary leadership, having to be asked from the city to use your former basketball stadium-turned-church as an emergency evacuation center.

The Mayor has given Mattress Mack ceremonial awards from the city, and thousands of people across the country bought furniture sets from him as a sign of thank you. He has probably earned millions already from his acts of generosity, and is beloved by the city for his leadership and role during tough times. Best part? He's still remained humble through all this success and attention. You can't buy love.

As for Joel? No one talks about him, or has the time of day to pay attention to what he is doing. No one asked us too.

Giver's gain.

Tuesday, August 15, 2017

Thinking and responding to negative emotions

Someone wrote, in a Hacker News discussion, on how he thinks of dark or undesirable emotions. Some things can not be changed easily. That stray thought that makes you feel like a blasphemer, accept it as part of the normal. It does not mean you have to be overly concerned about it, instead, what we should do is think about it, recognise it, just don't assault yourself for these thoughts:

You, the thing listening to this advice, is just a small part of a greater whole, much of which you (the thing listening to this advice) are not consciously aware of. This is because you were built by your genes to be good mainly at one thing: reproducing. That's all your genes care about. They don't care about your happiness or achievements or having a fulfilled life. In fact, they don't even really "care" about reproducing, except the same way that water cares about flowing downhill.
Your negative emotions are real. The pain you feel is real. But it's not you. It's something that is being done to you. In that regard it is exactly the same as physical pain, which is also not part of you, but rather something done to you. The fact that you're depressed is no more a character flaw than the fact that it hurts when you skin your knee. - lisper

It is a beautiful way to look at things when it comes to emotions. An objective assessment of the situation, a contextualisation based on biology, so that you need not feel bad about it all, most of it is beyond your control.

Original post linked to a research news on how accepting negative thoughts without lashing out against yourself makes people better than beating yourself up for your thoughts. Feeling bad about feeling bad can make you feel worse


Wednesday, July 6, 2016

Review: The Art of Stillness: Adventures in Going Nowhere

The Art of Stillness: Adventures in Going Nowhere The Art of Stillness: Adventures in Going Nowhere by Pico Iyer
My rating: 1 of 5 stars

Art of Stillness talks about and around 'stillness' for the whole of the book. The author makes it clear in the beginning of the book itself that it is not a manual on how to meditate or a guide on practising 'stillness'. The fault lies with me for taking this up and giving a one start rating. But it the rating represents how I felt and has nothing to do with the book in objective terms. If you like to read an individuals stream of consciousness survey of stillness you may prefer to read this. I wanted to learn about dish washing, I do not want to listen to someone preaching for pages about dish washing philosophy (even though meditation lend itself to infinite philosophical thoughts).

View all my reviews