Subscribe: Anyway
http://www.laurenwood.org/anyway/feed/rss2/
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
book review  book  case  checked database  database  django  error  mathjax  pythonanywhere  robot  system  voting  wagtail  wild robot  wild 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Anyway

Anyway



meandering thoughts from Lauren Wood



Last Build Date: Mon, 24 Jul 2017 02:21:07 +0000

 



Tags and case

Mon, 24 Jul 2017 02:21:07 +0000

For a while there XML.com didn’t handle tags on submitted news items very well. If a tag was included that was in a different case to an existing tag, the preview and publish would result in a 500 server error. Fortunately this was something that wasn’t visible to the outside world, but annoying nonetheless. Wagtail [...]



The Wild Robot (book review)

Tue, 04 Jul 2017 02:38:54 +0000

My now 11-year-old daughter loves books and reading so I asked her to write a book review for a couple of her favourites. This one is for The Wild Robot, by Peter Brown. She gave this book ★★★★★ out of 5. “The Wild Robot” is a book about a single robot surviving in the wild [...]



Voting systems

Mon, 03 Jul 2017 17:37:43 +0000

In Canada, where I live, the voting system for the parliaments is the easy to understand, but blunt, first past the post (FPTP) system (also called plurality voting). The person who wins the most votes (a plurality) wins the seat, whether they get over 50% or under 30%. I believe that it’s time we had [...]



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 XML.com

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

I coded XML.com 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 ./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 [...]