Us and them

Today in seminary we were talking about Flat Earthers. Don’t ask; it’s not important.

What is important is the part where one of the teenage girls in class said “I actually know someone who believes the earth is flat!”

One of the boys snorted and said “He must be a Democrat.”

She replied, “No, he’s not.”

And he responded incredulously, “You mean he’s a Republican?”

We all kind of laughed it off, but later, as I thought about the exchange a bit, I realized it bothered me for a couple of reasons. First, this young man– who’s a great kid and quite sharp– seems to believe that all people can basically be defined by their political beliefs. You’re either a Democrat or a Republican, and that’s it. And second, he clearly feels that the former are idiots and the latter are geniuses (or perhaps better stated, Democrats are wrong and Republicans are right).

I feel like this pretty much sums up the way American society is today. So many people have an “us and them” mentality, where they place anyone who believes differently than them into a category, and then turn them into an enemy. And everything– literally everything— is politicized. I long for the Good Old Days when we were the United States, and where polite, respectful discourse was the norm, not this bitter rancor we see now.

Sigh.

The latest gadget

I’m working on a new house project: remote temperature sensors. With a house as big as ours, I feel like it’ll be useful to understand the temperature of various places, so we can be more efficient in our heating and keep those pesky electric bills down. I looked online for wireless sensors, but they’re both surprisingly expensive and frustratingly un-useful. Most require a special phone app, and have no way to export the data.

Well, I’m a Linux geek and I love electronic gadgets, so I decided to buy a handful of Raspberry Pi Zeros (Zeroes?) and attach them to some digital sensors. Once they’re connected to our wifi, I can ping them every few minutes to collect temperature (and humidity!) data. I’ll stuff it into a database and generate some cool graphs. Even better, when we’re away from home we’ll be able to monitor things and make sure nothing is freezing or whatever.

I installed Linux on the Zero and plugged it into a monitor and keyboard, and BAM away we go! What’s really cool about these little guys is how incredibly small they are… maybe half the size of a credit card. In the circle below is the Zero: a full-featured Linux computer!

I’ve successfully written a Python program to grab the data from the sensor, and now I have to figure out how to collect it remotely and aggregate it.

It’s good to have hobbies. And gadgets.

Keeping the saw sharp

One might argue that since I’m retired, I don’t need to “keep up” with web technologies or computer programming in general. But I would retort that because I’m retired and enjoy programming, I should spend some time learning and practicing. Keeping the saw sharp, as they say.

Also, I’m kind of a geek.

Every December there’s a famous programming challenge called the Advent of Code, where each day there are two tasks which require a computer program to solve. You can use any language you want and build the program however you want; all that matters is that you end up with the right answer. This year I’ve decided to tackle the challenges in Python, a cool language I’ve dabbled in over time. I don’t consider myself strong in the language by any stretch– I tend to spend a third of my programming time reading documentation!

But I’m off to the races, having finished the first couple of challenges. The ol’ saw’s in good shape.