Monday, October 28, 2019

Published 9:31 PM by with 0 comment

Understanding async/await in JavaScript

Async/await can be confusing, so I figured it was worth writing a full async/await example in JavaScript. This is a simple page that shows usage of it in both client-side JavaScript and Node.js.
Read More
      edit

Thursday, October 24, 2019

Published 3:36 PM by with 1 comment

Compound Interest is Amazing

If it takes 40 years for a $100,000 investment to grow to $1,000,000, how long does it take it to grow an additional $1,000,000?
Read More
      edit

Saturday, October 19, 2019

Published 1:42 PM by with 0 comment

How Does Wind Speed Affect Homerun Chances?

Does wind make much of a difference for baseball flight? Should you expect more homeruns in the summer?
Read More
      edit

Tuesday, October 15, 2019

Published 10:01 PM by with 0 comment

Can Hints Make a Binary Search Faster?

You need to guess a number between 1 and 100. You are told if your guess is too high or too low. Does it help if you are also told when your guess is within 5 of the answer?
Read More
      edit

Thursday, October 10, 2019

Published 7:57 PM by with 0 comment

Learn to Eat Vegetables and Improve Your Diet

I grew up eating no vegetables, lots of hot dogs, and lots of sweets. Over the past decade or so, I've achieved what I think is a healthy diet. This is hard for people, so I thought it might help someone if I explained how I personally did it.
Read More

      edit