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”Linux tools on Windows with MSYS2 (And a Repeater app for Windows!)
One thing many don’t consider when setting up a GTK+ window application is that the same code that runs on a Linux phone or Linux computer, can also run on MS Windows with the same libraries! Next time you are on a Windows system and trying to set up a command or tool normally working on Linux, try this:
Continue reading “Linux tools on Windows with MSYS2 (And a Repeater app for Windows!)”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”Pi-Star MMDVM Setup and Setting Up Callsign listener with Hearham.live
Pi-start is a way to make a MMDVM (available from Newegg and other retailers) a DMR digital repeater node to talk with digital radio. If you have a Raspberry Pi, sd and reader, and a computer, you can set it up…
Continue reading “Pi-Star MMDVM Setup and Setting Up Callsign listener with Hearham.live”Github Copilot Technical Preview Edition Review
If you have had the opportunity to be added to the Github Copilot preview, you may have seen the great new extension of auto complete they advertise – but is it all it claims to be?
Continue reading “Github Copilot Technical Preview Edition Review”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”Zipf’s law, Kleiber’s law, and finding interesting patterns in browsing history
In the chapter The Long Tail of the Law, in Alex Bellos’ book The Grapes of Math, he shows some different statistical patterns that share the same properties:
Continue reading “Zipf’s law, Kleiber’s law, and finding interesting patterns in browsing history”Building a Linux app part 8: Adding an options screen
As you may have noticed, the repeater-START app doesn’t currently have an option to change that internal km/mile calculation. It also does not have any option to filter the repeaters of VHF, UHF or your preferred band.
Let’s see how to add a new dialog, then store the options, and load them on your program’s start:
Continue reading “Building a Linux app part 8: Adding an options screen”