For my final project in Computer Science 175: Intro to Graphics, I created a maze game with a buddy of mine. Click here for the project website – you can check out screen shots and even download the source if you’re interested!
Read Next
This paper was written for Economics 1339: Generating Wealth of Nations, a Harvard undergraduate course taught by visiting professor Jeffrey Borland.
Introduction
The convergence hypothesis at its most fundamental level posits that countries with lower productivity will tend to grow at faster rates than their more productive neighbors. This theory follows directly from the law of diminishing returns, which explains that the marginal output of a production factor progressively decreases as the factor is increased. Following this logic, a less productive country can exploit the same techniques utilized in more productive countries to achieve a greater output for any given level of input. While theoretically sound, the convergence hypothesis relies upon one key assumption that is not brought to bear in the real world – either no other determinants of productivity growth exist, or countries with varying productivities are equal in all other aspects. Empirical evidence runs contrary to both possibilities. For example, in the period from 1870 to 1913, America continued to increase its already well-established lead in productivity, while the average productivity level of laggard countries in Europe fell. Following the Second World War, however, Europe’s rapid growth and convergence with the United States seems to validate the hypothesis. These discrepancies imply the existence of other important determinants of growth. This paper seeks to examine the mechanisms by which convergence occurs to uncover the characteristics that explain why some laggard countries experience accelerated growth rates, why others with high productivity remain leaders, and why still others fail to ever catch up.
Here’s a quick command you can use to find any folders that are over a GB in size on a Linux OS.
sudo du -h / | grep '[0-9\.]\+G'
I recently had to code a little web application that would interface with a MySQL database and display data on a webpage via PHP MySQL queries. The application had to support many international languages – the most difficult of which to deal with was Russian. Many forums suggested changing my character encoding to CP-1251, which is a standard Russian encoding in Windows. I needed support for all international languages, though, and using multiple character encodings wasn’t a headache I wanted to get myself into. It turns out that you can display all these characters using a UTF-8 encoding, provided you get the PHP and MySQL right. Read on to find out how to display Russian and other languages with PHP and MySQL.
I recently found myself with the need to connect to a Mongo DB instance from a PHP application running on Amazon EC2. The PHP docs led me to this MongoDB extension, which seemed to be a good fit for my needs. Still, the matter of installation was a little bit less clear, considering that the EC2 instance was pretty barebones and lacked a fair number of the “standard” libraries that would enable this single line installation to work.
After a bit of finagling, I got everything to work via the steps I’ve outlined below.