Kategorien
Blog Instagram Software

Move to the Fediverse

I think, now it’s time to move to the Fediverse. Most of us know that all the proprietary, closed-profit applications are f***ed up.

They are feeding us content that we mostly don’t want, and their only purpose they have is, generating money for them. And for this purpose, they are using our data, that we are giving them voluntarily.

They are bombarding us with advertisements and locking us into their systems. This is the same for Facebook, Instagram, Twitter,…

Twitter crashing

And thanks to Elon Musk – a guy that I admire as a businessman, but hate for his racist opinions – who bought Twitter some time ago, triggered a lot of people – including me – to move to the Fediverse.

I think, Musk is very good at managing technical industry companies but will fail IMHO managing a social internet company.

The Fediverse is per definition focussing on non-profit and is interoperable between different applications.

Multiple changes happened recently which is why I think now it’s the right time to move.

WordPress supports the ActivityPub protocol

Now there is a new plugin for any self-hosted WordPress installation available supporting the ActivityPub protocol. As soon as you configure the plugin anybody in the Fediverse can follow either a specific author of your WordPress blog or the complete blog.

Move to the Fediverse

Pixelfed can import from Instagram

You can now import your posts from Instagram into Pixelfed, preserving all the content you have produced in the past.

Mastodon supports search

A quite new and long-awaited feature searching just for text in the toots is now available.

You wanna follow me?

To follow this blog here (and this author) please use @gerhardy2408 or the complete blog with @blog.gerhard-vogt.de

My Mastodon user is @gerhardy2408

My Pixelfed user is @gerhardy2408

More to read

https://gnulinux.ch/fediverse-serie-activitypub-bei-wordpress-einen-blog-in-ein-soziales-netzwerk-bringen

Kategorien
Blog Software

How to upgrade WordPress to PHP7.4

My WordPress admin center was complaining for a long time that I should upgrade WordPress to PHP7.4.

And from experience, I knew that this will typically not go without any hiccups. Be aware of any risks performing this upgrade and consider at least having a backup available, better even using a staging environment e.g. with UpdraftClone.

So here are the steps I have performed to make WordPress run again on that (not really) new PHP version 7.4.

upgrade WordPress to PHP7.4

My WordPress was running on a Raspberry Pi4, with Raspberry Pi OS 10 (buster) Version, mariaDB 10.3.39, PHP 7.3, and Apache 2

First, you should check, if there are any indications that your WordPress plugins and theme is not working with the new PHP version.

Then bring your OS to the latest version.

# sudo apt update
# sudo apt upgrade -y

Then install the certificate and add the repository.

# sudo apt -y install lsb-release apt-transport-https ca-certificates
# sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
# echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list

Install the following packages.

# sudo apt update
# sudo apt install php7.4 php7.4-fpm php7.4-mysqli
# sudo apt-get install php7.4-{bcmath,bz2,intl,gd,mbstring,mysql,zip,curl,dom,imagick,mbstring,intl}

You can check if the command line interface (cli) for PHP is running the new version with:

# php -v
PHP 7.4.33 (cli) (built: Jun 9 2023 07:38:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

As we are running the Apache web server with PHP we have to configure it now with the new version.

For switching between different PHP versions on a command line interface use the following commands:

# sudo update-alternatives --set php /usr/bin/php7.4 
# sudo update-alternatives --set phar /usr/bin/phar7.4 
# sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.4

You can also have multiple PHP versions on your system and switch with the following configurations between them for the Apache web server and WordPress.

# sudo a2disconf php7.3-fpm
# sudo a2dismod php7.3
# sudo a2enmod php7.4
# sudo a2enconf php7.4-fpm

We also have to replace the proxy entries in all the sites from the virtual hosts you are running with Apache (folder „sites-available“). Look for the lines:

        <FilesMatch \.php$>
                # 2.4.10+ can proxy to unix socket
                SetHandler "proxy:unix:/run/php/php7.3-fpm.sock|fcgi://localhost"
        </FilesMatch>

And set the version to php7.4-fpm.

Now it’s time to restart the Apache web server.

#  sudo service apache2 restart

Check with phpinfo() if the php configuration for Apache is working correctly. The new version 7.4 with a mysqli section should be shown.

Checkout the following references:

Kategorien
Blog Software

KI ist vor allem ein Marketing Hype

Die neue Signal Chefin Meredith Whittaker sagt, „KI ist vor allem ein Marketing Hype“, und liegt meiner Meinung nach damit richtig. Der Begriff „Künstliche Intelligenz“ wird total missverständlich verwendet, und erweckt viel zu große Erwartungen, die aktuell definitiv nicht erfüllt werden können.

Es wäre es aus meiner Sicht viel ehrlicher, die Begriffe „maschinelles Lernen, basierend auf Big Data“ zu verwenden.

In dem Artikel geht es auch um die Macht der Großkonzerne, die in manchen Bereichen wirklich an die Macht von Regierungen heranreichen. Das jüngste Beispiel dafür ist Twitter.

Ja, wir geben den Konzernen mit der Benutzung der Applikationen die Daten und die Macht. Auf der anderen Seite ist es natürlich sehr verlockend, auf das meist kostenlose Angebot wie von Google etc. einzugehen.

KI ist vor allem ein Marketing Hype
Konzentrierte Macht

Ich habe vor einiger Zeit versucht, als es die Datenschutz Diskussion bei WhatsApp gab, meine Freunde und Bekannten auf die Signal Plattform zu bekommen. Aber nur ein sehr geringer Anteil sind mir gefolgt und das Experiment ist gescheitert. Ich muss weiterhin mit WhatsApp arbeiten, weil die Leute viel zu bequem sind, sich mit etwas neuem zu beschäftigen. Das Alte funktioniert ja. Und dass man sich damit in die Abhängigkeit von Konzernen gibt („Google tracked sowieso schon“), wird stillschweigend akzeptiert.

Keep on signalling 🙂

Und vielleicht bald tröten auf Mastodon.

https://netzpolitik.org/2022/neue-signal-chefin-kuenstliche-intelligenz-ist-vor-allem-ein-marketinghype/

Kategorien
Blog Software

Max hours of creative work per day

The claim of Dave Winer is that there is a max hours of creative work that you can perform per day. And I think he’s right.

If your work involves creativity, you’re not doing more than five hours of work a day no matter how many hours you pretend.

max hours of creative work
Photo by Pixabay on Pexels.com

You can also discuss how many days per week it makes sense to work. As we are getting more tired and I’m also quite sure that the productivity is dropping.

http://scripting.com/2022/02/16.html#a160933

Kategorien
Blog Software

Be my eyes, community helps people with vision problems

A lovely idea not only helping people with vision problems but also in plenty of other situations is the appBe my eyes„.

Volunteers can help others in almost any situation.

Be my eyes
Eye

It’s about trust and help for a huge community.