Sunday, May 27, 2018

Published May 27, 2018 by with 1 comment

How To Use Plotly In Vue

      edit

Saturday, May 26, 2018

Published May 26, 2018 by with 1 comment

How To Write A Simple Calculator With Vue

We are considering using Vue for a project at work, and this was a fun little thing to write to get started with it so I figured I'd type it up as a simple example for anyone else investigating Vue...

Vue.js calculator example

Read More
      edit

Friday, May 11, 2018

Published May 11, 2018 by with 0 comment

Waiting For Multiple Ajax Calls To Complete Using Async/Await

I ran into this problem today and decided to put together a quick demo of one method for solving it...

Read More
      edit

Wednesday, April 25, 2018

Published April 25, 2018 by with 0 comment

Playing With Bucket Sorting

Bucket sorts are pretty interesting and seem to be covered less often than quicksort, mergesort, etc...
Read More
      edit

Sunday, April 15, 2018

Published April 15, 2018 by with 1 comment

Sticker Collecting Problem

If you buy a box of cereal and get a sticker, there are 5 unique sticker types, and they occur with equal probability, how many boxes of cereal do you need to buy to get all 5 sticker types?
Read More
      edit

Friday, March 9, 2018

Published March 09, 2018 by with 2 comments

Regression Toward The Mean In The NBA

Regression toward the mean is a fascinating concept, and I went through some NBA data to test it...

Free throw % from one year to the next

Read More
      edit

Thursday, February 15, 2018

Published February 15, 2018 by with 0 comment

Planet Orbiting Binary Stars

I was curious what types of orbits you could get for a planet orbiting a binary star system, so I played with it a bit and collected some of the interesting results.

Read More
      edit

Thursday, February 8, 2018

Published February 08, 2018 by with 23 comments

N-Body Problem And Our Solar System

I was curious how stable our solar system is, so I started playing a bit with the n-body problem and here are some results. I've also included simple source code in MATLAB and Python if you want to play with it yourself.
Read More
      edit

Saturday, February 3, 2018

Published February 03, 2018 by with 0 comment

Visualizing Algorithm Complexity

I like to optimize stuff at work at tend to rant about algorithm complexity to my coworkers, so I figured I'd see if I could visualize it in a way that's meaningful to non-developers.
Read More
      edit

Friday, January 26, 2018

Published January 26, 2018 by with 1 comment

Monte Carlo Simulations And Pi

Monte Carlo approximations for values are a really cool concept so I went ahead and visualized possibly the most well-known one...
Read More
      edit

Thursday, January 25, 2018

Published January 25, 2018 by with 0 comment

I Wrote A Book Of Solved Problems

I was interested in how to write an ebook, so I went ahead and wrote one. It contains a few of the problems that are here and a number of new ones. It's $0.99 on Amazon and called 'Answered with Math', so check it out if you're interested.

Read More
      edit

Saturday, January 6, 2018

Published January 06, 2018 by with 1 comment

What Value Minimizes The Sum Of Squared Errors For A Group Of Numbers?

I noticed this result at work one day and it caught me off guard...
Read More
      edit

Sunday, December 31, 2017

Published December 31, 2017 by with 1 comment

How Much Should You Invest To Create Your Own Pension?

The concept of a pension fascinates me since it would be great to have your investments pay your living expenses while you work wherever you want without worrying about a salary. I've created a calculator here that allows you to figure out the numbers you need to create your own pension plan.

Read More
      edit