Optimal placements and unsolved math problems

Optimal placements and unsolved math problems are among the interesting problems discussed in the book, Tomorrow’s Math, Second Edition by C. Stanley Ogilvy. On chapter two, pg.23-24 he asks how a land’s defenses may be best defended by n defense stations on a disk shaped land area? They state it had known answers for n<6, and “a general solution seems remote at present”.

Continue reading “Optimal placements and unsolved math problems”

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”

Pinephone setup – the more stable version with Phosh

If you have purchased the Pinephone you may have noted the very buggy issues with the default install. Unfortunately the Manjaro Linux with Plasma mobile has some very odd issues, keeps requesting updates, and is quite buggy. The Phosh (GTK) system is much more usable and uses the same Phosh startup shell which makes it work in similar manner as the more expensive Librem5 phone, and can be flashed to the Pinephone quite easily:

Continue reading “Pinephone setup – the more stable version with Phosh”

Snap Store and Flatpak – missing “app stores” for Librem 5 Phone?

As you may have noticed, the Librem phone and other Linux phones don’t always have the same apps you may be looking for for iOS and Android, with few available within the built in store. While you must check with developers and encourage them to build their apps for Librem phone, there are a number of these that can be installed already from Flathub/Snap store:

Continue reading “Snap Store and Flatpak – missing “app stores” for Librem 5 Phone?”