Moeity by Helios is a great soundtrack to a morning stretch.
Kind: Notes
Manufacturers should design electronics to last – not for the dump. http://storyofstuff.org/movies/story-of-electronics/ (Video from 2011, still just as relevant now.)
The Green Party election broadcast for the upcoming local government elections flags the refugee crisis, NHS, inequality, climate change, lack of investment in renewables, as key issues. Important issues, but not really issues that local government has much say over? I also would like the video to focus a little more on the very positive and progressive policies that the Greens have, rather than just saying what is currently wrong. But maybe that doesn’t fit so well into a short election broadcast.
A big of a long-off goal with the indieweb BDD specs, would be for it to be a generic way to automate how many of the features of indieweb a site had implemented. Kind of an automated IndieMark. But really, just something to give you an idea of which features you could choose to implement, and which ones you’ve already implemented successfully. It should of course be implementation agnostic – it’s just testing functionality after all (the point of BDD).
Why do BDD with my site? It’s mostly as excuse to play around and learn about a few different things – indieweb, BDD, codeception. I’m also a big fan of the BDD approach, forcing you to think about why you’re implementing something, what’s the value, before you go ahead and implement it. Plus, regression tests FTW.
Started working on BDD specs for my site. Using codeception – very impressed with it so far, quite a mature BDD tool. After all the initial faffing around with setup, I’m at a point where I have a Gherkin spec that navigates to a page, checks for some content, and takes a screenshot.
Really impressed by spacemacs so far. I started out with Emacs back in the day. Switched to Vim at some point. Spent the last 7 years or so using Visual Studio with the fantastic VsVim plugin. After a while I began to see Vim more as a great set of keybindings, not so much as a program to proselytise in its own right. Most text editors will have a Vim keybindings plugin. Now, after moving to new work and away from the Microsoft stack, Spacemacs is seeming like a great system – very very thorough Vim bindings support, but with a very powerful and well-though out system underneath that.
Spacemacs was completely unresponsive at startup. Turns out, for whatever reason, it was after I was using my laptop in a new place, and based on this FAQ obviously the ISP there was doing something funky: https://github.com/syl20bnr/spacemacs/blob/develop/doc/FAQ.org#why-is-spacemacs-hanging-on-startup.
Adding the settings there to the user-init function did the trick:
(setq tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C' -o ControlPersist=no")
Trying to install a Duplicator package locally, I was hitting an issue where the package wasn’t creating a number of tables (including wp_posts) in my database.
Debugged it by running database.sql script manually in mysql.
This produced a few errors of Invalid default value for datetime fields, mostly.
Page here has some insights into this: https://wordpress.org/support/topic/invalid-default-value-database-install-fail-1/
The fix is to add
[mysqld]
sql_mode=NO_ENGINE_SUBSTITUTION
to my.cnf.
Software updates should extend, or at minimum not end, older products’ lifespans. http://www.greenpeace.org/usa/wp-content/uploads/2017/03/FINAL-10YearsSmartphones-Report-Design-230217-Digital.pdf
