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?”

Happy Pi Day 2022

Once again it is Pi day, a great time to make pie – or order a Pizza or Pie (check if your local restaurants have a special Pi day deal 🙂 )

This year Pi day comes on a Monday, which hasn’t happened since 2016! There are some interesting tricks to calculating what any given day of the week was, and I’ll leave you with a video that James Grime published with some math tricks for the day of the week for any given date:

Continue reading “Happy Pi Day 2022”