Category Archives: General

HTTP 2.0

HTTP 2.0 is the most recent major revision of the HTTP protocol that powers the internet.

One significant advantage HTTP 2.0 brings to the table is its efficient parallelism in executing requests on a connection to download remote resources. While the previous versions of HTTP can only have one request pending on a connection at any given point in time, HTTP 2.0 can multiplex many requests at the same time and fetch the requested resources out of order and hence is not slowed down by the slowness of prior requests – no head-of-line blocking. In addition, it uses a binary protocol with header compression that can lead to a reduction in the data downloaded over the wire. While HTTP 1.1 allows submitting requests (via pipelining) even before the previous requests are completed, the responses can be fetched only in-order and hence can slow down due to head-of-line blocking. In addition, HTTP 2.0 allows the server to push resources even without being asked by the client – for example, the server could proactively push CSS, js, and images on a page immediately after the page was delivered – this can speed up the page load time.

Most browsers and some web servers already support HTTP 2.0 today. Though HTTPS is not mandatory by the specification, most implementations today do it over HTTPS, which means HTTPS is a must for HTTP 2.0.

In terms of some of the practices that are used today to workaround limitations in prior HTTP versions, such as domain sharding to overcome “only one simultaneous request on a connection”, becomes obsolete with HTTP 2.0 and is, in fact, an anti-pattern as it leads to multiple connections establishment overhead.

Curious to see how fast the web adapts HTTP 2.0.

Self Leading

Notes for me from the web on leading one’s self.

Self-leadership strategies

  •  Know thyself
  • Unfriend the critical voice that resides in your mind
  • Where attention goes energy flows and results show- become clear and focused
  • Create a daily motivational practice
  • Live at the end of your comfort zone
  • Keep good company – surround yourself with people whose presence calls forth your very best
  • Fall off your bike but always get back up again
  • See the forest for the trees

Quotes are all I have

Put together quotes I liked.

  • An attitude of positive expectation is the mark of superior personality. -Brian Tracy
  • I keep six honest serving-men (they taught me all I knew); Their names are What and Why and When And How and Where and Who. -Rudyard Kipling
  • All things are difficult before they are easy. -Thomas Fuller
  • I make more mistakes than anyone else I know, and sooner or later, I patent most of them. -Thomas Edison
  • Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. -Albert Einstein
  • Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense. -Buddha
  • It isn’t what you have, or who you are, or where you are, or what you are doing that makes you happy or unhappy. It is what you think about. -Dale Carnegie
  • Opportunities multiply as they are seized. -Sun Tzu
  • Everything can be taken from a person but one thing: the last of human freedoms – to choose one’s attitude in any given set of circumstances, to choose one’s own way. -Viktor E. Frankl
  • Fear less, hope more; Eat less, chew more; Whine less, breathe more; Talk less, say more; Love more, and all good things will be yours. -Swedish Proverb
  • Everything comes to him who hustles while He waits -Thomas A. Edison
  • Whether you think you can or think you can’t – you are right. ~ Henry Ford
  • Hello world. Humor me. Go there and add a little article. It will take all of five or ten minutes. -How Wikipedia started 10 years ago!
  • Parkinson’s Law: Work expands so as to fill the time available for its completion.
  • Everything that can be invented has been invented. -Charles H. Duell, the commissioner of the United States Patent and Trademark Office in 1899
  • The invariable mark of wisdom is to see the miraculous in the common. -Ralph Waldo Emerson
  • Imagination is more powerful than knowledge. For knowledge is limited to all we now know and understand, while imagination embraces the entire world, and all there ever will be to know and understand -Albert Einstein
  • In God we trust; all others must bring data. -W. Edwards Deming, Statistician
  • In all things, be willing to listen to people around you. None of us is really smart enough to go it alone. -John Clendenin
  • It’s harder to be kind than to be clever. -Jeff Bezos
  • If at first, the idea is not absurd, then there is no hope for it. -Albert Einstein
  • I don’t know the key to success, but the key to failure is trying to please everyone. -Bill Cosby
  • When you want something, all the universe conspires in helping you to achieve it. -The Alchemist
  • Things are beautiful not because we are perfect, But because we put our heart into it. -Internet
  • When angry, you will make the best speech you will ever regret. -From one of the TED talks
  • To forgive is human, to ask for forgiveness is divine! -Line from a movie, good one nevertheless
  • A hundred years from now, it will not matter what my bank account was, the sort of house I lived in, or the kind of car I drove. But the world may be different because I was important in the life of a child. -Forest E. Witcraft
  • There are only three things you need to let go of: judging, controlling, and being right. Release these three and you will have the whole mind and twinkly heart of a child. -Hugh Prather
  • Gratitude creates happiness. -MJ Ryan
  • Simply keep a place within you where it is welcomed, and happiness will come and abide with you forever. -Hugh Prather
  • Believe and act as if it were impossible to fail. -Charles F. Kettering
  • It is the service we are not obliged to give that people value most. -James C. Penney
  • The greater the obstacle, the more glory in overcoming it. -Moliere
  • You cannot push anyone up a ladder unless he is willing to climb it himself. -Andrew Carnegie
  • Regardless of how you feel inside, always try to look like a winner. Even if you are behind, a sustained look of control and confidence can give you a mental edge that results in victory. ~Arthur Ashe
  • Power of the extra mile:

At 211 degrees, water is hot.

At 212 degrees, it boils.And with boiling water, comes steam.

And steam can power a locomotive.

It’s that one extra degree that produces exponential results.

Inspire!

This one is about how to inspire. The interesting part is the story on how a ten year old was inspired to master his drum lessons where He goes on to teach his teacher a trick or two. Author points out the four Cs that can inspire.

  1. Choice – sense of autonomy
  2. Consequence – vision, worthwhile goal
  3. Competence – things that lead to feeling competent such as achievement, recognition, assurance
  4. Community – sense of connectedness, humility to learn from others