Subscribe: Anyway
http://www.laurenwood.org/anyway/feed/rss2/
Preview: Anyway

Anyway



meandering thoughts from Lauren Wood



Last Build Date: Tue, 10 May 2016 16:22:26 +0000

 



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 ./manage.py 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 [...]



ImportError

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 manage.py. 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 [...]



2FA, the aftermath

Mon, 27 Oct 2014 16:53:54 +0000

Two-factor authentication is generally seen as a good idea; there’s a certain amount of hand-wringing over the fact that more people don’t turn it on. The problem is, it’s one of those things where you sign up for disruption over the next few days, for uncertain reward. The reward is uncertain because you can never [...]



That was August

Thu, 04 Sep 2014 22:33:19 +0000

August ended up busy, busier than I intended. Balisage was as usual full of interesting discussions although some of the people I’d hoped to see weren’t able to make it this year. I took part in a panel on MathML, figured out (finally) there is an overlap between the overlapping markup discussions and the DOM [...]



MathJax, MathML, and WordPress

Tue, 24 Jun 2014 18:52:12 +0000

I’ve been working at Design Science for a couple of months now, as Senior Product Manager concentrating on the MathFlow products. So I figured I should enable MathML support on my blog. It’s not hard, but like everything in tech there are a few niggly details. Many of those issues are caused by WordPress’s over-eager [...]