-
final touch up
-
proxy server spawn mulitple children processes to proxy client's request implemented in c++ with fork()
-
Classic Dining Philosophers deadlock problem is solvable using condition variable, semaphore and threadpool. Such solution goes beyond just solving deadlock in multi-threaded server. It also provides an introduction to understand load balancing and threadpoll in scaling distribution system in modern web architecture.
-
1. Geometric intuition of covariance matrix diagonalization 2. Power iteration to compute new change of basis matrix 3. maximizing sum of squared lengths of projections is the same as minimizing squared Euclidean distance