Monthly Archives: July 2009
PHP Script to Compare MySQL Database Schemas
A brief description of the process involved in determining the schema of a MySQL database, and an accompanying tool, which will compare schemas of databases. The tool is able to compare databases that reside on separate hosts. This may be a useful tool for checking that databases have the same schema when deploying an application to separate hosts. Continue reading
Estimating Pi with Monte Carlo Methods
This article demonstrates how to use a Monte Carlo simulation to calculate a value for Pi. An example program is given, written in Erlang, which can be run in a parallel environment. As well as the theory behind the method, we will look at how random numbers can be generated in Erlang and how to time Erlang programs. We will also perform an informal analysis of the results. Continue reading
Stock Quotes with Ext JS Charts
An example to display stock indexes in an Ext JS chart. Including an introduction to Ext JS, a simple introductory Ext JS example and an introduction to the new charts feature. Concludes with a more comprehensive demo, showing some more of Ext’s features. Continue reading