21 Oct 2014

I'm a puppet

It's unbelievable how much my spirit depends on external events. Hearing good news makes me happy; hearing bad news makes me unhappy. Not in a shallow way, but in a deep, uncontrollable way.

Back when I was a kid, I remember reading stuff like "a yogi is someone who can be alone in crowd, and can be amidst people when alone". I understood what that meant at an exterior, shallow level. But when I see myself dancing to the tunes of external events, I realise how qualitatively different being a yogi is. I also see clearly how I'm nowhere close to being one.

Back in the days, when I read about the concepts of yoga, enlightenment, etc. I would think that I'm so close to attaining all that. Deep down I would know I don't even know what those words really mean, but I'd suppress that awareness with my desire to attain those ideals. But today, I see I'm way outside the league. I don't have much desire to attain any of it either. Now, I'm just amazed how much of a puppet I really am. Nothing more.

10 Oct 2014

Economics: supply and demand

I have been listening to Economics, a lecture series by Professor Timothy Taylor. I am learning quite a few new ideas from it. Going to write them down here on my blog so I have someplace to review them later if/when I need to.

  • When price goes up, units supplied goes up. When price goes down, units supplied goes down, too. Because when the price is more, suppliers can make more money from sale.
  • When price goes up, units demanded goes down. Likewise, when price goes down units demanded goes up.
  • When price is too low or too high, market moves the price to a state where units supplied is equal to units demanded. This state is known as equilibrium. Market always moves toward equilibrium.
  • Attempts to arbitrarily move price away from equilibrium — such as setting a price ceiling or price floor will very likely fail. That’s just how market works.
  • Elasticity of demand (or supply) specifies how much demand (or supply) can change when price changes by a specified amount.
  • If demand for a certain product is elastic, it means changing the price will affect how much it is demanded in the market. Demand (or supply) for some products are elastic in any given market, or inelastic. What’s elastic in one market may not be elastic in a different market, or in the same market at a different time. When fixing prices, a firm should consider if the demand is elastic or not.

16 Jun 2014

Things that surprise(d) me

Certain things surprised me when I found them out for the first time.
  • I used to enjoy being miserable. Only wanting to not be miserable was sufficient to start being happy.
  • It takes effort to relax. By default we’re stressed both physically and mentally. (It takes awareness, to be precise. But for many, awareness requires effort.)
  • Often, not yielding to peer pressure and following your instinct is the right thing to do. But it takes courage to follow your instincts especially your belief contradicts popular beliefs.
  • Accepting misery is a path to joy.
  • Even after so much change, I still haven’t accepted myself just as what I am.
  • I have become, or I am doing, everything I used to hate in the past. Yet, it’s not all that bad.

2 Jun 2014

From a Mike Robbins talk

I listened to a talk by Mike Robbins. Two points that I found interesting from the talk:
  • One of the most selfish things you can do is to be miserable. You’ll make everyone who cares about you unhappy, just by being unhappy yourself.
  • The answer is always a ‘No’ if you don’t ask.

16 May 2014

JavaDoc for methods

If you find it hard to write JavaDoc for your method, it’s a sign that you should rethink what your method does. Most likely your method is doing way too many things and you should break it into multiple methods.