Subscribe: Anyway
Preview: Anyway


meandering thoughts from Lauren Wood

Last Build Date: Sat, 08 Apr 2017 18:58:53 +0000


Switching the Mathjax CDN

Sat, 08 Apr 2017 18:58:53 +0000

If you have MathML on your WordPress site, using the Mathjax system to show it, then you need to know that Mathjax is shutting down the CDN as of April 30, 2017. If, like me, you use the MathJax-LaTeX plugin, the solution is easy. Go to the Plugins – Settings – MathJax-LaTeX page. Uncheck the [...]

Adding the ‘s’

Sun, 26 Mar 2017 18:12:57 +0000

Let’s Encrypt has made it much easier for web sites to use https instead of http, even those on shared hosting. In my case, all I needed to do was ask my ISP, Canadian Web Hosting, to move my accounts to a server that supports a cPanel extension (I assume this one). Installing the certs [...]

Submitting news on

Wed, 01 Feb 2017 18:31:27 +0000

I coded in Wagtail, a CMS based on Django. It works well for my needs and I like Python as a programming language. One of the big reasons I like Wagtail is that it includes a powerful enough but not overly complicated workflow with roles and a built-in moderation and preview system. But, I [...]

Django migrate tips

Tue, 10 May 2016 16:22:26 +0000

If you read the documentation closely enough, of course all the information is there. Getting the order of operations right, however, can cause the odd issue. Developing Django apps means applying migrations, and those don’t always do what’s expected. In that case, you can roll back to the n-1 migration by using ./ migrate [app_label] [...]

WordPress error

Sun, 24 Apr 2016 19:50:35 +0000

One of my client websites suddenly started giving an error: Error establishing a database connection. When I went to the /wp-admin URL, the error was still there. This particular website is on shared hosting, so I logged into the CPanel and checked the database was still there. Then I checked the database and found some [...]


Fri, 22 Apr 2016 23:04:16 +0000

I discovered another issue while deploying to PythonAnywhere (maybe it’s applicable to other PAAS providers as well). There was an odd ImportError when running In the specific case I had, it showed up when running the tests with coverage: from Unipath import Path ImportError: No module named ‘Unipath’. It turned out I hadn’t installed [...]

Setting up on PythonAnywhere

Thu, 21 Apr 2016 22:09:06 +0000

A checklist for moving a Django-Wagtail project to PythonAnywhere. There is documentation on the PythonAnywhere site; mine includes things I forget. Setup: development and testing on my laptop, staging and production on PythonAnywhere. The help files are pretty good, but I need my own checklist. Right now I’m in the staging mode, but at some [...]

Sun-dried tomato and olive tapenade

Sat, 02 Jan 2016 18:31:20 +0000

Over the Christmas break I made a couple of dips, one of which got better reviews than the others. This is not a recipe for purists, since a real tapenade should have anchovies in it, but I didn’t have any and my family doesn’t like them anyway. None of the quantities are exact. The sun-dried [...]

WordPress password protection

Mon, 17 Nov 2014 16:50:43 +0000

WordPress was designed for public websites, not private ones, so password protection can be a little clunky. Fortunately there are plugins to help, but (as always) there are trade-offs to be made. When all you want to do is add a password to stop search engines indexing and outsiders reading the content, but you also [...]

GAE and OAuth 2 in the 2FA world

Thu, 30 Oct 2014 21:27:09 +0000

I’ve been trying out Google App Engine, for which I signed up with the Google account where I just enabled 2FA. Of course, that means changing the way I update the uploaded trial application; the standard Google password has to give way to either a specific application-based password, or OAuth 2. OAuth 2 is obviously [...]