Happy Twosday! and a Surprising Pi trick

In Ben Sparks’ video he shows a very interesting trick. On a decimal angle calculator run:

sin(1/5555)

If your calculator has more than the standard Ubuntu calculator’s digits of accuracy you could add even more repeating 5’s. The answer is approximately PI with extra zeros…

0.000003142

Since today is Twosday (2-22-2022 in any date format), here is a similar Tuesday math trick for the Python console:

from math import sin
sin(22/700000.0)

It is also .0003142… or approximately Pi!

Continue reading “Happy Twosday! and a Surprising Pi trick”

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”

Pat + Winlink with handheld radio and handheld Mobilinkd TNC

A previous posting showed how to set up Winlink through basic internet (Telnet). Internet/Wifi may or may not be available in any emergency, however, so it is important to be able to work Winlink over a VHF/UHF radio – which is the main benefit of WINLINK over e-mail, after all. To get this working you will need a radio, a TNC, and computer with the Pat or Winlink program. For my test I use a Yaesu FT-70 handheld, Mobilinkd TNC3, and Pat on a Linux computer.

Continue reading “Pat + Winlink with handheld radio and handheld Mobilinkd TNC”