Ubuntu 14 LTS upgrade to 16

I’ve been thinking about the Ubuntu 14 LTS to 16 LTS upgrade for awhile. It seemed like it was do-able, though comments on some web sites indicated lots of problems including bricked systems. I made sure I had a snapshot before I gave it a try.
sudo apt-get install update-manager-core
sudo do-release-upgrade

The trickiest part was resolving configuration file updates. But you can preview the differences and they were mostly changes I had made specifically so I kept the old config file.

Naturally, the upgrade broke things. Fortunately, not too badly.

PHP was the main problem. The upgrade un-installed PHP 5 without a replacement. Fortunately PHP 7 installed ok, though I had to re-visit my notes about what else to install, like php7.0-mysql, so WordPress would be happy. That took a couple of re-tries to find all the missing modules such as php7.0-mbstring, php7.0-mcrypt, php7.0-xml, php7.0-xmlrpc which weren’t a problem until BackWPup tried to run.

Looks ok now.

FIRST Robotics BC

I’ve been busy working on the new FIRST Robotics BC website. Just a basic WordPress site hosted on my AWS EC2 instance. I started a WordPress child theme to tweak some of the CSS. Even used Photoshop to prepare some of the images.

But what’s really interesting is what FIRST Robotics BC is up to. FIRST engages students in science, technology, engineering and math (STEM) through participation in research and robotics programs. One of the high school programs (grades 7-12) is called FIRST Tech Challenge(FTC). Teams are challenged to design, build, program, and operate robots to play a floor game in an alliance format.

There will be a FTC Kickoff event in Victoria BC on September 17. Find out more about FIRST, FIRST Tech Challenge, and this year’s robot game.

Monte Carlo Tree Search demo

Monte Carlo Tree Search (MCTS) is a heuristic search algorithm that can make game play decisions. It does this by attempting to determine the most promising move from those available. What’s interesting is that the algorithm just needs to know the game rules and winning conditions, it doesn’t need domain knowledge. Another advantage is that it can be interrupted or constrained by a time limit and will produce the most promising move found so far.

I built a Tic Tac Toe player a couple of years ago and while upgrading Unity recently I thought I’d try building it for the web so I built a WebGL version.
Continue reading “Monte Carlo Tree Search demo”

Moving web host

I’m moving web hosting from RackForce to Amazon AWS with S3 and Cloudfront.

RackForce used to be a great VPS host offering a wide variety of plans and unlimited bandwidth which I needed for one of my sites. But they refocused on enterprise customers and then downgraded performance on the VPS that I had with them.

I finally made time to move things and decided to try Amazon as I’ve used them in the past for small demo projects.

We’ll see how this goes, but I think it should be ok.