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”

Makerfaire is coming up!

The past 18 months or so have been somewhat different as far as availability of in person gatherings, meetups and Makerfairs, etc. but this year there are some changes for the better… If you are interested in Machine learning and computer-vision projects, come look at a couple demos at the booth at Central Oregon Maker Fair, Nov 13-15th!

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