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”

Happy Twosday! and a Surprising Pi trick

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


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…


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

It is also .0003142… or approximately Pi!

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

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!

Sum/product of consecutive numbers and other math shortcuts

If you have studied some of the old SAT questions at some point you may have gone through questions like –

4 consecutive numbers sum to 166. What is the product of the numbers? or…

3 consecutive even numbers sum to X. What is their product?

The way the tutors and the online tutorials show seems to always be to algebraically solve this – for example 4 consecutive numbers would solve x+x+1+x+2+x+3 = 166, collect terms and solve…

However there is another way that works for this and works for other similar problems.

Continue reading “Sum/product of consecutive numbers and other math shortcuts”

PyImageSearch Review

If you have been doing OpenCV or Python machine learning, you have most likely come across PyImageSearch. If you come across a sale for this service I would recommend trying it out if you are learning some machine learning. This past week they have run a free promo 7 day trial, which gave me an opportunity to browse these.

Continue reading “PyImageSearch Review”