Packaging a Python application for ArchLinux/Manjaro Linux

In a previous howto I showed how to build a .deb installer file for a Python program. This would work for the majority of systems with Debian/Ubuntu/Linux Mint etc. However there are many users on Arch Linux or Manjaro, which do not take this .deb installer file. Some Linux computers such as the popular (and currently out of stock 🙁 ) Pinebook laptop, and Pinephone come with Manjaro Linux, which takes Arch packages. Thankfully there is an easy way to add a package to the AUR for these Arch-based devices.

Continue reading “Packaging a Python application for ArchLinux/Manjaro Linux”

Optimizing a Python program with profiling data

If you have been maintaining a Python program that has been growing for some time with new features you may notice at some point it can get a bit lagging and slow. For example, the app that is powered by hearham.com repeaters listing has grown from thousands of repeaters to now over 10,000 repeaters in the listing shown in the app. This hung things up especially on devices like Raspberry Pi or Librem phone while starting up the app.

Continue reading “Optimizing a Python program with profiling data”

Re-flashing the Librem Phone with Byzantium

If you just received a Librem 5 you probably have the latest software – including the new software that has a (mostly) working photos app, gps and a basic maps app! Development has continued on these devices but if you have one of the previous preorders you probably have been waiting on new updates and only getting a few standard package updates and no new apps 🙁

If you want to upgrade the phone in this case you need to re-flash it and wipe it with the newer version. Note this deletes everything and starts anew!

Their instructions here should be fine for some, but only if you have a very very new Ubuntu based system. If you have an older one such as Ubuntu 20.04 then you can get set up as shown below.

Continue reading “Re-flashing the Librem Phone with Byzantium”

GTK Choice box with Glade and Python

There may be times you have a simple choice or listing in a GTK list box – for this example, in choosing a serial connection or other device. Glade is a good way to build an application window easily with an interface to build in to your app on Linux desktop, Ubuntu or Librem phone or other Linux based phones. I was able to use this to create a Winlink user interface for the previous tutorial to call up the Pat interface.

Continue reading “GTK Choice box with Glade and Python”

Hacktoberfest 2021 is here!

It’s been one year since the spammageddon of Hacktoberfest requests and issues with contributing to only accepted opted-in repositories – but this year there are some good changes:

You can now use Gitlab for PRs.

Monetary donations are also encouraged for open source projects.

You can either get a shirt or plant a tree, for completing 4 PRs with improvements to participating open source projects.

Also, of course if you have a project yourself you maintain, you can add “Hacktoberfest” tag to get participants to find your repo. 🙂 What are some of the projects you might consider helping?

Continue reading “Hacktoberfest 2021 is here!”

Book review – The Most Human Human

In Brian Christian’s The Most Human Human, he first explains some of the early experiments in human-like chatbots – Eliza the therapist and the more recent attempts to “understand” language through the vast equivalent documents the UN keeps record of.

He also goes in to the question that plagued early industrialism, will robots be getting our jobs with AI? Well, if something is a repetitive and arduous task, as he puts it, you are the robot. In the art world an actor may do a play for a weekend or two… and no more – is that a waste? I his words:

Continue reading “Book review – The Most Human Human”