Skip to main content

Johan Bové

Front-end developer and senior Web Consultant at Deloitte Digital in Düsseldorf, Germany.

Current Timezone: Europe/Berlin ( UTC/GMT +2 hours)

social.johanbove.info

johanbove.info

twitter.com/johanbove

keybase.io/johanbove

github.com/johanbove

www.last.fm/user/Joe-1

getpocket.com/@johanbove

Johan Bové

Improving my Known site and template using Google's Lighthouse Audit

1 min read

As of today this is the Audit test result for "Desktop" (no throttling), with an authenticated session:

  • Performance: 100
  • Accessibility: 70
  • Best Practices: 79
  • SEO: 100

Next priority is to improve the score for "Accessibility".

  1. Image elements do not have alt attribute
  2. Form elements do not have associated labels
  3. Links do not have a discernible name

The "Best Practices" fixes will then be next:

  1. Does not use passive listeners to improve scrolling performance
  2. Links to cross-origin destinations are unsafe
  3. Includes front-end JavaScript libraries with known security vulnerabilities

 

The "known security vulnerabilities" is a tricky one as it requires updating the outdated Bootstrap version. 

Johan Bové

Git aliases

1 min read

As a developer I use Git all the time and since I also spend a lot of time in terminals, and modern terminals have the option to create aliases for commands, I have these Git command aliases to speed up my workflow:

# PGP
# Checks the git log for commits with a signature and very the found PGP keys with keys looked up
#   in pgp.mit.edu
# See https://mikegerwitz.com/papers/git-horror-story
alias gitpgp='git log --show-signature | grep "RSA key" | grep -o "[A-Z0-9]\+$" | sort | uniq | xargs gpg --keyserver pgp.mit.edu --recv-keys $keys'

# GIT
alias gc='git checkout'
alias gf='git fetch'
alias gs='git status'
alias gl='git log --oneline'
alias gp='git pull'
# Will give you a list of branches sorted by committer date
alias gbl='git for-each-ref --sort=committerdate refs/heads/ --format="%(color:red)%(committerdate:short) %(color:cyan)%(refname:short)"'
alias gh='git rev-parse --verify --short HEAD'

, , ,

Johan Bové

Known Questions

1 min read

These are some questions I have about my Known server instance.

Q1. Redis Support?

My web host supports Redis. Anyone know if there is a plugin for Known which activates Redis cache? Does it make sense to activate Redis for a single-user Known site?

Q2. AsynchronousQueue on a shared web host without sudo access?

Also, I'm on a shared web host where I have access to a limited SSH access, without sudo; how can I set up Known cron for the AsynchronousQueue event queue?

Q3. Which PHP 7.3 Extensions should be active?

Which PHP (7.3) extensions should be active for a Known server instance? See my list here in the screenshot below:

screenshot of active PHP 7.3 extensions

 

Q4. RESOLVED - How can I get the Twitter POSSE plugin working? 

I currently need to manually mention the https://brid.gy publish webmention endpoints to repost my posts and status updates. The Twitter plugin by Known doesn't work on my server. Suspecting an outdated dependency on the tmhOAuh PHP library. Would be awesome if I can get that to work.

Resolution: update the tmhOAuth plugin and cacert.pem certificate.

Q5. Tagging with Known input forms is missing the dedicated tags field

Check why.

To be continued...

Johan Bové

You can keep your metrics, Twitter

3 min read

How knowing the number of followers I have makes me want to use it less

I seem to have been hovering around 404 followers for a couple of months now. Some tweets bring me a couple of new ones, other tweets seems to scare away followers. Not sure how to interpret that.

Following people based upon a single Tweet is a mistake and a sure-fire hit to get disappointed later. When I see someone posting something interesting or funny, I don't immediately decide to follow them. I always have a look at their timeline to see the general tone and topics they post about. There is hardly anyone who consistently posts interesting stuff. (There are some really clever people out there, so there are exceptions)

Anyway, I'm not using "social media" to post curated and carefully picked words to please every follower; I share it because I care about the content and/or the author and believe the message important enough to be passed along or promoted.

Some time ago somebody shared the thought that Twitter should offer an option to hide the follower and other counters from the User Interfaces. I agree that this option would actually benefit new joiners to not really know just how little followers they have.

I can understand that the number of followers, retweets and likes are easy to messure metrics to analyse the reach and the impact Twitter users have. But to most, I believe that knowing these numbers will actually demotivate and push those users away from the platform entirely.

That's one of the main reasons why I am totally for taking back control over your online presence and about hosting your own "social website". And thanks to the Known CMS project I could create a pretty neat social media hub within a limited amount of time and effort. It's all open source and currently maintained by Marcus Povey.

He's doing a lot of excellent work on the Known platform and posts about his ideas and implementations.

So I degressed from my original topic; I'll share more insights in how to set up your own Known site in a future post. It wasn't super-easy to set up the site, WordPress is a lot easier to start with, but Known was developed with the ideas of the Indieweb movement in mind.

So thanks to the IndieWeb, Twitter is not my main social media platform any longer. I own my content here and will continue to decide for myself what will be shared on that silo and what stays on my private social media Indieweb site.

We need the IndieWeb, so we can take back our online presence and feel back in control over social posting.

ps. I used Mastodon for a while, but couldn't get the feel right and didn't really enjoy using it. Having to decide on one or maintain multiple Mastodon instances, and set up in a way multiple social media accounts, was too much of a hassle. And unless your hosting your own Mastodon site, it's not really the :-)