14. June 2014
Migrating SQLite for PHP 5.2 to PHP 5.4 on Ubuntu
PHP 5.4 discontinued support for SQLite 2 databases. Updating an old legacy PHP application with a SQLite database to a new server is not very difficult.
Ocassional Notes
14. June 2014
PHP 5.4 discontinued support for SQLite 2 databases. Updating an old legacy PHP application with a SQLite database to a new server is not very difficult.
12. June 2014
Having studied math in university, I am well aware that buying lottery tickets is a losing proposition. In Ontario, where I live, there is a lottery called 6/49. The rules are simple: pick 6 numbers out of 49 possibilities, if your choice matches a random choice of 6 numbers made in the draw, you win the jackpot. The probability of winning this is:
09. May 2014
I have a thing for sorting algorithms. They’re fairly accessible as far as algorithms go, and it’s always fun to look under the hood of how computers go about their business. Thinking algorithmically makes you a better programmer too.
23. April 2014
For my fun projects that include color, I like to use the following palette in the HSL space:
16. April 2014
Underscore.js has been ported to Underscore.PHP.
For a simple example, let’s using Newton’s method to approximate pi.
09. April 2014
Setting up a very simple blog with laravel is quite easy.
24. March 2014
FirefoxOS development is really easy if you have experience with front-end web development. Apps are very similar to chrome extensions, with .manifest
files set up to control the application, and html / css to handle the content and appearance.