Yan Han's blog

On Computer Technology

10 Nov 2015

Creating a Vagrant base box: some important details

If you have not done this before Instead of reinventing the wheel, I highly recommend that you read Nicholas Cerminara&r...
26 Oct 2015

How to uninstall then install brew: a short adventure

Roughly 2 weeks ago I was writing a Bash script to automate some stuff, one of them being installing brew. To test if th...
15 Sep 2015

Note on Think Stats Exercise 5.13 Part 1 aka Using what I learnt in a Mathematical Statistics class

NOTE: This post has been delayed by 2 weeks due to me falling sick on the week beginning 23 August. A lot of momentum or...
13 Aug 2015

Note on Counting: Exercise 13.26 answer

Similar to the last post, this is a short note detailing some of my thoughts to the answer to Exercise 13.26 in the book...
10 Aug 2015

Note on Counting: Exercise 13.17 answer

This is a short note detailing some of my thoughts to the answer to Exercise 13.17 in the book Counting, by Prof Koh Khe...
04 Aug 2015

Note on Think Stats: Multiplying a Pareto random variable with x_m = 1 by a positive number - what do we get?

NOTE: Having only a very basic and recently acquired formal education in Probability and Statistics, I have no idea how ...
25 Jul 2015

How to install matplotlib using virtualenv on Ubuntu

System Requirements This was done on a system with the following specifications: Lubuntu 14.04 (which is pretty much Ub...
23 Jul 2015

Note on Think Stats: Given the PMF of a random variable X, compute the variance of X

This week, I started using some free time to read Think Stats by Allen B. Downey. So far it’s been a pretty good b...
06 Jul 2015

How to restore a deleted `arc feature` branch

Updated: 17 July 2015 NOTE: There may be some (ok perhaps a lot of) mistakes with regards to Phabricator and Arcanist te...
24 Jun 2015

My notes on: Is anyone aware of another method of deriving 1/2! without using the gamma function?

NOTE: Sometimes I chance across brilliant answers to interesting Math questions on Quora and felt like rearranging and/o...