Skip to main content

Senior Web Engineer. Open web / music. Remote DJ. Tall Dutch guy. #3million

micro.blog/sander

svandragt

mixcloud.com/cloudseer

 

Things I learn: APFS encryption is not FileVault. The former asks for a password at a time when the iMac doesn’t recognise the Bluetooth keyboard!

 

Today I put together a service management cli application together with templating using the click and jinja2 packages. Python ftw.

 

Protip: It turns out logrotate configuration files that are just using the rotate option do not delete older log files, only the logfile that is rotated out. This distinction matters when the rotate option is reduced and older log files are left around.

 

Installed Mojave: kept light side, decluttered recent items from the dock. Unsure on stacks. Everything is faster, delay in spotlight is gone. No finder actions in list + icon view is a bummer for automation. Still, an improvement to High Sierra. Some memory pressure on 8GB.

 

It turns out turning off all the retweets on Twitter improves my timeline massively: no longer does it get polluted by less relevant discussion and the tone is more balanced as well. I’ve also taken to replying instead of liking which is more meaningful.

 

Hide Trackbacks 1.1.3

Hide Trackbacks is a WordPress plugin that hides pingbacks and trackbacks from your website comments.

I’ve updated the plugin to indicate it works correctly with WordPress 4.9.9 and earlier. It's now also up to PHP 7.2 compatible, and has a number of small fixes to improve code legibility and alignment with the WordPress Coding Standards.

 

Transitioning to Gutenberg

The WordPress Project says:

The Classic Editor plugin will be officially supported until December 31, 2021.

[...]

Since the Classic Editor plugin is central in this transition, we are considering including it with upgrades to WordPress 5.0.

In the context of my professional work with WordPress it would be beneficial to see the Classic Editor plugin be included by default into the installation package. This would signal to plugin and theme developers that we are in a transition phase but supporting the existing installations, until Gutenberg is more fully accepted by the wider community. Not doing do could put pressure on smaller developers to just test their updates for Gutenberg only, resulting in a lot of broken sites or a security nightmare where people won’t be able to update to the latet versions of WordPress or their plugins until the teams and processes are ready.

 

Taking back control

Recently, I've come to the conclusion that it's the nature of realtime social media to cause drama and upset. In the search for ever increasing thirst for gossip, instant reactions are stimulated so heavily that  there is no time to research or read about the context of a story, and open discussion isn't possible when group mentality means we must be outraged or be part of the problem.

At the same time, people have never engaged so little with web content, being the metaphorical frogs in the pressure cooker of Facebook and Twitter that is modern society. We are the product that is monetised by the advertising dollars that demand page views in a broken system of inflatable viewership figures.

In the music scene, the illusion of hyper promotion and like-networking results in a feed of people and content I have little interest in following, in the hope that they will listen to what I have to say.

Pointless and bad for my health. So therefore I'm distancing myself more from social media now.

If you want to follow what I have to say about technology, read vandragt.com. If you are interested in my music visit cloudseer.me. They will soon have a mailinglist and RSS feeds without advertising and like buttons.

 

For some reason OpenSUSE gave me a 25GB root logical volume, and left the other 150GB disk space unallocated. Partition Manager was happy to resize the volume while I was working on it. Thank you LVM.

 

Kwallet should really link to Kleopatra to clarify you need to create or link a GPG key to your keychain.

 

Howto install Cryptomator for OpenSuse

Linux is so userfriendly, so the rpm that can be downloaded is missing dependencies. However, I'm quickly becoming a fan of zypper and OpenSUSE's dependency handling, and comes to the rescue:

sudo zypper in cryptomator.rpm

Even though cryptomator made a mistake in signing part of the application, it can still be installed by pressing ignore. Are you sure you want to do that? It seems a bit crap for such an essential utility.

 

Installing Dropbox on OpenSUSE Tumbleweed

Both the official RPM and the discover package failed for me due to missing dependencies, without specifying what those are. However the following worked:

sudo zypper install dropbox-cli
dropbox start -i
dropbox autostart

 

KDE’s ability to remove all panels continues the long-standing Linux tradition of shooting yourself in the foot.

 

opensuse progress: very nice guided partition setup, but was a bit taken aback about the text based WiFi setup prior to installation. Teaches me for trying the minimal install.

 

Had problems with software compatibility with Antergos so trying OpenSUSE tumbleweed now. RPM is a better supported format.

 

I'm taking the opportunity of Dropbox no longer supporting the Ubuntu 18.04 recommended file system (?!) to try out Antergos with KDE.

 

I miss having tildes in username URLs!<p>#status </p>

 

So I’m trying to make a tool that also happens to post to twitter but the way they want things to work means every user needs to apply to become a developer or I have to run a man in the middle webservice. Makes no sense.<p>#status </p>

 

So you want to become a neckbeard?

Having wasted too much time installing Ubuntu on a laptop recently, I thought it would be helpful for the future self to document the issues.

Issues

I'm seeing one or more of the following issues with Ubuntu 18.04 LTS:
  • Missing text on the login screen
  • second monitor switching off
  • Hangs
  • Won't boot  directly into the OS
Install Ubuntu 16.04 LTS which is not a piece of garbage.
Migrate SSH keys from Putty to OpenSSH https://askubuntu.com/questions/818929/login-ssh-with-ppk-file-on-ubuntu-terminal/818932
What are the correct permissions for the .ssh folder? Typically you want the .ssh directory permissions to be 700 (drwx------) and the public key (.pub file) to be 644 (-rw-r--r--). Your private key (id_rsa) should be 600 (-rw-------). Lastly, your home directory should not be writeable by the group or others (at most 755 (drwxr-xr-x)).
How do I connect to our team networkshare automatically on startup?
sudo su
apt install cifs-utils
echo "//path/to/windows-share /mnt/team cifs credentials=/etc/samba/credentials,uid=1000 0 0" >> /etc/stab
cat > /etc/samba/credentials <<EOC
username=UserName
password=PassWord
EOC
chown root.root /etc/samba/credentials && chmod 400 /etc/samba/credentials
Change the username and password appropriately verify your userid is 1000 with id -u UserName
I skipped  creating a passphase for my encrypted home directory, how do I do it now?  run "ecryptfs-unwrap-passphrase" in the terminal
How to stop the mouse sticking to the edges of the display https://askubuntu.com/questions/119281/what-is-the-function-of-the-sticky-edges-on-off-setting-in-di...
Can't install vagrant plugins Download vagrant from vagrantup.com
nfsd is not installed sudo apt-get install nfs-kernel-server
vagrant booting vms reports a timetout delete (rm) the IdentityFile mentioned in vagrant ssh-config

This document will get updated as I stumble and fix other issues.

App Alternatives

Clipboard manager https://hluk.github.io/CopyQ/
Remote connection manager https://snapcraft.io/pac-vs
Google Drive https://www.howtogeek.com/196635/an-official-google-drive-for-linux-is-here-sort-of-maybe-this-is-al...
Phrase Expansion https://leehblue.com/ubuntu-text-expander/ https://github.com/leehblue/texpander
Screen Recorder Kazam (https://askubuntu.com/a/29954), installs well with apt. Alternatively Simple Screen Recorder.