This last week I have been in Palm Springs attending the retreat of the company I work for, Lullabot. One of the evening activities are ignite talks. I presented one about privacy.
Maintainable Code in Drupal: Wrapped Entities
This is a re-post of the article I wrote for the Lullabot blog.
How can more maintainable custom code in Drupal be written? Refactor it to follow SOLID software design principles. As long SOLID purity isn’t pursued into an endless rabbit hole, SOLID principles can improve project maintainability. When a project has low complexity, it is worthwhile to respect these principles because they’re simple to implement. When a project is complex, it is worthwhile to respect these principles to make the project more maintainable.
Do define custom data types in Drupal
Today I was included in a conversation in Drupal Slack that reminded me how important it is to take the time to learn one tool well.
In this case the issue was solved by creating a custom data type. This is the conversation log.
JSON:API module version one EOL
This is a re-post of https://wimleers.com/blog/jsonapi-1-eol.
On 7 January, 2020, the Drupal module JSON:API 1.x was officially marked unsupported. This date was chosen because it is exactly 1 year after the release of JSON:API 2.0, the version of JSON:API that was eventually committed to core. Since then, the JSON:API maintainers have been urging users to upgrade to the 2.x branch and then to switch to the Drupal core version.
We understand that there are still users remaining on the 1.x branch. We will maintain security coverage of the 8.x-1.x branch for 90 days. That is, on 6 April, 2020, all support for JSON:API, not in Drupal core, will end. Please upgrade your sites accordingly.
Gnome's Network Editor
One the privacy higene topic, one cool trick that I learned is that I can configure Gnome to auto connect to a VPN when a certain wifi network is used.
Trying out Lineage OS
Mercè’s smart phone screen broke recently. Luckily I was able to get a screen replacement for her old OnePlus 3T. Putting everything back was a challenge in itself, but thanks to this YouTube I was able to succeed.
A shift in focus on privacy
I have become more aware of my privacy and security of late. There hasn’t been any particular reason for that, but a gradual process of retaking control of my data. I try to discern what core value is moving me whenever I start feeling strongly about something. In this case, is the right of sanctuary. This is not my term, but rather something I learned reading The age of surveillance capitalism.
Testing notes
I am trying to find a viable replacement for twitter that people can subscribe to. For now I’ll stick to blog posts in the “notes” category.
Switching Back to Linux
Recently I had an incident with my Macbook Pro. My MagSafe connector was very hot when I got up. So hot that it gave me a blister in my finger.
Healthy Open Source Maintenance
This is a re-post of the article I wrote for the Lullabot blog.
Open source has won! It powers software everywhere. From automated irrigation software to supercomputer kernels. This has enabled the industry to evolve at a vertiginous pace that is changing the world.