22 Jun 2014

Estimating PI using Monte Carlo Simulations

Estimating PI using Monte Carlo Simulations Monte Carlo simulations are a class of computational algorithms that involve multiple computational trials driven by random sampling to approximate the optimal solution. In this post we describe how Monte Carlo simulations work and demo with a JavaScript program how to use this method to estimate the value of π. Read More

07 Apr 2014

Reinstalling Vim on OS X Mavericks

  1. brew install mercurial
  2. hg clone https://code.google.com/p/vim/
  3. cd vim
  4. ./configure --enable-pythoninterp --enable-rubyinterp --prefix=/usr
  5. make
  6. sudo make install
  7. restart the terminal
  8. and vim --version
Read More