Bad Dog!

Juno, do you know what this is?

This is an animal warning card the US Post Office uses.

Do you know what it says about you?

Friendly.

The mail carriers believe you are friendly. Mail carriers, Juno. Think about it. A dog’s mortal enemies. Friendly.

Bad dog!

Revising Theology—At Age 6 and Beyond

When I was about six, I constructed a theology of Sundays. I knew that Sundays were a celebration of the Resurrection of Jesus. I knew that “Sunday” had the words “Sun” and “day” in it. I surmised that God had ordained it that Sundays would be always sunny in honor of that most wonderful of miracles. I recalled that all the Sundays in my memory (at that time, perhaps as far back as a month) were, indeed, sunny.

And so this became an article of faith. My faith was confirmed for a number of Sundays thereafter.

And then, we had a cloudy, grey Sunday.

I revised my theology: God just made sure it didn’t actually rain on Sundays.

Then we had a drizzly Sunday. I reasoned that God had held back a larger storm. Then, rain that even I couldn’t explain away.

What to do? This could have shaken my faith in God, as happens to people when their faulty theology is exposed. I could have kept revising reality to fit my theology: people do this all the time. Or I could have concluded, as even at six I did, that my theology was wrong.

Theology is a human endeavor. Like that other human endeavor, science, we need to write our theology in pencil. That is what my professors at Gordon taught me.

A Week Without

Sarah Latimer is away camping in the White Mountains for a week.

She doesn’t think we can survive without her.

We aim to prove her wrong.

Day 1.

Grocery shopping has been made greatly easier. A week of this will be a trifle.

Day 2.

Our efficiency in daily tasks has improved dramatically:

  1. Reduction in dishes used by eating out of the same pots in which we cook. (Not that we are cooking; Pop Tarts rule!)
  2. Further reduction in dishes by drinking from containers, rather than wasting time and resources dirtying glasses.
  3. Juno (our dog) provides excellent dish-cleaning service, indistinguishable from dishwasher processing.
  4. Still more time saved by not showering or bathing.
  5. Who needs to put on clean clothes every day?

Wait, what is that? …

Day 2, Continued.

Holy, freaking crap! There is nothing left of the Pop Tarts but wrappers. Do you children have no discipline at all?!

(The boogers mumble something about apples and trees.)

We’re ruined! Doomed. Do you hear me!? We’re going to starve, or worse, have to eat something I cook! Do you remember fiasco of the pancakes? Ashish remembers the pancakes? (“You cooked steak? I thought you were going to make pancakes.”)

This could get interesting, in a “Define, ‘interesting,’” sort of way.

Day 3.

Someone in this house smells. It seems to be worse around the children. And the kitchen.

Maybe the philosophy of, “Why clean? It’ll just get dirty again,” needs some reevaluation.

At least Juno is happy, although this morning she walked over to me, looked me right in the face, sniffed once, and ran away.

And. We’re hungry. The children are sticking firmly to their commitment to starve before they eat anything I might cook.

What we thought was thunder turned out to be the combined output of stomachs rumbling.

How much longer?

Day 4.

It’s midnight now. The house is dark. I am not sure how this will turn out. The kids are all desperately sick, throwing up. I can hear my son and daughter retching in separate bathrooms. I went in to check on them a few minutes ago, to see what was coming up.

I think I’m okay, at least for the moment. But of course the odds aren’t good: most of the people involved in this business are already dead. And there are so many things I can’t know for sure.

I have a ringing in my ears, which is a bad sign. And I feel a vibrating in my chest and abdomen. The baby is spitting up, not really vomiting. I am feeling dizzy. I hope I don’t lose consciousness. The kids need me, especially the little one. They’re frightened. I don’t blame them.

I am, too.

(With apologies to Michael Crichton.)

Day 5.

We have, at last found something we can agree on eating. Thankfully, we have (had?) a real dog, rather than a Chihuahua or something tiny.

Weasley Clock Code – Now with WiFi

Back at one of Veracode’s Hackathons, I published the video below.

My Original Weasley Clock

The New and Improved Weasley Clock(s)

(Original post is here.) I was determined to update the code to use WiFi, and make some other improvements, so finally rewrote it. Here’s the first major revision:

#include 
#include "Adafruit_IO_Client.h"
#include 

/**
 * https://www.amazon.com/gp/product/B015RQ97W8/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
 * 5-wire unipolar steppers with controller
 * Longruner 5x Geared Stepper Motor 28byj 48 Uln2003 5v Stepper Motor Uln2003 Driver 
 * Board for arduino LK67
 * 
 * AWESOME details on these motors/controllers:
 * https://arduino-info.wikispaces.com/SmallSteppers
 * 
 * Much Better than standard stepper library: AccelStepper
 * http://www.airspayce.com/mikem/arduino/AccelStepper/classAccelStepper.html
 * 
 * Weasley Clock
 * -------------
 * 
 * Created by Doug "LegoDoug" Wilcox for Veracode Hackathon IX.
 * 
 * Video of the completed project is at https://www.youtube.com/embed/oRUViFnxKsg.
 * 
 * "Share and enjoy."
 */

/************************* WiFi Access Point *********************************/
#define WLAN_SSID "DefinitelyNotMySSID"              // "...your SSID..." Amusingly, the cannot contains spaces or hyphens.
#define WLAN_PASS "TotallyNotTheRealPassword"        // "...your password..."


/************************* Adafruit.io Setup *********************************/

#define AIO_SERVER           "io.adafruit.com"
#define AIO_SERVERPORT       1883                           // use 8883 for SSL, otherwise use 1883
#define AIO_USERNAME         "TotallyNotMyAdaFruitIOUser"   // "...your AIO username (see https://accounts.adafruit.com)..."
#define AIO_KEY              "TotallyNotMyAdafruitIOKey"    // "...your AIO key..."
#define AIO_FEED_PATH        "/feeds/"
#define AIO_PUBLISH_FEED     "weasleyclockposition"
#define AIO_SUBSCRIBE_FEED   "weasleyclockstatus"

// Motor pin definitions
#define motorPin1  14    // IN1 on the ULN2003 driver 1
#define motorPin2  12    // IN2 on the ULN2003 driver 1
#define motorPin3  13    // IN3 on the ULN2003 driver 1
#define motorPin4  15    // IN4 on the ULN2003 driver 1

#define DELAY 1
#define HALFSTEP 8

/************ Global State (you don't need to change this!) ******************/

// Create an ESP8266 WiFiClient class to connect to the WiFi network.
WiFiClient client;
// or... use WiFiFlientSecure for SSL
// WiFiClientSecure client;

// Create an Adafruit IO Client instance.  Notice that this needs to take a
// WiFiClient object as the first parameter, and as the second parameter a
// default Adafruit IO key to use when accessing feeds (however each feed can
// override this default key value if required, see further below).
Adafruit_IO_Client aio = Adafruit_IO_Client(client, AIO_KEY);

// Alternatively to access a feed with a specific key:
Adafruit_IO_Feed clockFeed = aio.getFeed(AIO_SUBSCRIBE_FEED, AIO_KEY);

// States
const String LD_HOME         = "ld_na";
const String LD_TRAVELING    = "ld_tr";
const String LD_VERACODE     = "ld_of";
const String LD_CHURCH       = "ld_ch";
const String LD_MORTAL_PERIL = "ld_mp";
const String LD_GLOUCESTER   = "ld_gl";
const String PLUS_ONE        = "plus_1";
const String MINUS_ONE       = "minus_1";
const String PLUS_FIVE       = "plus_5";
const String MINUS_FIVE      = "minus_5";
const String NO_MOVEMENT     = "none";

// Steps
const int STEPS_HOME         = 0;
const int STEPS_TRAVELING    = 600;
const int STEPS_VERACODE     = 1250;
const int STEPS_CHURCH       = 1900;
const int STEPS_MORTAL_PERIL = 2600;
const int STEPS_GLOUCESTER   = 3450;
const int STEPS_ONE          = 32;
const int STEPS_FIVE         = 5 * 32;

String fValue = "";

const unsigned long requestInterval = 5000L; // delay between updates, in milliseconds

void stepBySteps(int newPosition, boolean resetWhenDone = false);

AccelStepper clockStepper(HALFSTEP, motorPin1, motorPin3, motorPin2, motorPin4);

void setup() {
  Serial.begin(115200);
  delay(10);

  // Connect to WiFi access point.
  Serial.println(); Serial.println();
  Serial.print("Connecting to ");
  Serial.println(WLAN_SSID);

  WiFi.begin(WLAN_SSID, WLAN_PASS);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println();
  Serial.println("WiFi connected");
  Serial.print("IP address: ");
  Serial.println(WiFi.localIP());

  clockStepper.setMaxSpeed(1000.0);
  clockStepper.setAcceleration(100.0);
  clockStepper.setSpeed(200);
  clockStepper.setCurrentPosition(0);
}

void loop() {
  // Wait for a bit and read the current feed value.
  Serial.println(F("Waiting ..."));
  delay(requestInterval);
  // To read the latest feed value call the receive function on the feed.
  // The returned object will be a FeedData instance and you can check if it's
  // valid (i.e. was successfully read) by calling isValid(), and then get the
  // value either as a text value, or converted to an int, float, etc.

  Serial.println(F("Checking feed ..."));
  FeedData latest = clockFeed.receive();
  if (latest.isValid()) {
    Serial.print(F("Received value from feed: ")); Serial.println(latest);
    // By default the received feed data item has a string value, however you
    // can use the following functions to attempt to convert it to a numeric
    // value like an int or float.  Each function returns a boolean that indicates
    // if the conversion succeeded, and takes as a parameter by reference the
    // output value. Also, beware. There seems to be a limit on how long the
    // feed value can be. I had trouble when "minus_five" was used, which makes
    // me think the limit is 8 characters.

    // Want some fun? Learng about "conversion from 'FeedData' to non-scalar type 'String' requested" the hard way.
    fValue = latest;

    if(fValue == LD_HOME) {
      Serial.println("Nashua");
      stepBySteps(STEPS_HOME);
    }
    if(fValue == LD_TRAVELING) {
      Serial.println("Traveling");
      stepBySteps(STEPS_TRAVELING);
    }
    if(fValue == LD_VERACODE) {
      Serial.println("Veracode");
      stepBySteps(STEPS_VERACODE);
    }
    if(fValue == LD_CHURCH) {
      Serial.println("Church");
      stepBySteps(STEPS_CHURCH);
    }
    if(fValue == LD_MORTAL_PERIL) {
      Serial.println("Mortal Peril!");
      stepBySteps(STEPS_MORTAL_PERIL);
    }
    if(fValue == LD_GLOUCESTER) {
      Serial.println("Glostah");
      stepBySteps(STEPS_GLOUCESTER);
    }
    if(fValue == PLUS_ONE) {
      Serial.println("Forward one.");
      stepBySteps(clockStepper.currentPosition() + STEPS_ONE, true);
    }
    if(fValue == MINUS_ONE) {
      Serial.println("Back one.");
      stepBySteps(clockStepper.currentPosition() - STEPS_ONE, true);
    }
    if(fValue == PLUS_FIVE) {
      Serial.println("Forward five.");
      stepBySteps(clockStepper.currentPosition() + STEPS_FIVE, true);
    }
    if(fValue == MINUS_FIVE) {
      Serial.println("Back five.");
      stepBySteps(clockStepper.currentPosition() - STEPS_FIVE, true);
    }
    if(fValue == NO_MOVEMENT || fValue == "") {
      Serial.println("Not moving.");
    }
  } else {
    Serial.print(F("Failed to receive the latest feed value!"));
  }
}

void stepBySteps(int newPosition, boolean resetWhenDone) {
  clockStepper.enableOutputs();
  clockStepper.moveTo(newPosition);

  while (clockStepper.isRunning()) {
    clockStepper.run();
    delay(DELAY);
  }
  clockStepper.disableOutputs();

  if (resetWhenDone) {
    clockStepper.setCurrentPosition(0);
  }
  
}

Still to come, if I ever get around to it:

  • Alternative methodologies for reading the feed (publish/subscribe).
  • Secure WiFi communication.
  • Adjustment (such as after power disconnect) via an induction sensor.

One Cool Hotspot

Okay, wanna see something really cool? (Actually, it’s kinda hot …)

Below is a cropped image from a 1969 National Geographic map of the seafloor, showing the Pacific basin. What’s the cool part? See that long, almost L-shaped line of ridges and seamounts and islands that has Hawaii at the very end? That’s where the Pacific Plate has slowly moved over a hotspot in the earth’s mantle, which causes seamounts to form, and, occasionally, islands like Midway or Hawaii.

Pacific Floor Ocean Map, National Geographic, 1969.

The ridges show the movement of the Pacific plate over the last 75,000,000 years. Kind of slow movement, only about 6,000 km in that time, or 0.000000009132 km/h, about 80 mm/year.

That bend in the L is where the Pacific plate shifted direction 43,000,000 years ago.

In case you’re wondering where it goes as it moves, you can see the trenches on the top and left edges of the plate. Those are subduction zones, including the Marianas Trench, the deepest part of the ocean on earth. That’s where the Pacific plate is moving underneath the other plates, getting recycled very, very slowly.


Notes:

Ciphers in the Bible

Found an interesting tidbit in a children’s book I have: The First Book of Codes and Ciphers by Sam and Beryl Epstein.

The First Book of Codes and Ciphers
The First Book of Codes and Ciphers, Sam and Beryl Epstein

And all the kings of the north, far and near, one with another, and all the kingdoms of the world, which are upon the face of the earth: and the king of Sheshach shall drink after them. (Jeremiah 25:26)

SHESHACH in Jeremiah 25:26, and elsewhere, is a Hebrew backward alphabet cipher called ATHBASH (the English equivalent of which would be AZBY, although we would transliterate it as ATBASH). SHESHACH means BABYLON (or BABEL).

The same type of cipher is used in Jeremiah 51:1 and 51:41.

See https://en.wikipedia.org/wiki/Atbash.

Naomi is … Clara!

We are thrilled that Naomi has been selected as Clara in this year’s performance of “The Nutcracker” by Gate City Ballet.

A black, female ballerina holds an accurately-sized Mouse King in her hand.
(Our friend Ashish Joshi created this doodle about 4 years ago.)

Three performances will be held:

  • Saturday, December 16, 1:00 pm
  • Saturday, December 16, 5:00 pm
  • Sunday, December 17, 1:00 pm

Tickets are available from the Stockbridge Theatre online.

Nutcracker Poster 2017

Nutcracker 2017
Naomi Wilcox is Clara in Gate City Ballet's 2017 production of The Nutcracker. December 16 and 17 at Stockbridge Theatre in Derry, N.H. Tickets are available at https://stockbridgetheatre.com/.
« 3 of 58 »

Mom’s Official (Boring) Obituary

(Read the better one, here: “90 Years in 900-ish Words“)

Rachel "Addie" Wilcox, September 5, 1926 to July 26, 2017
Rachel “Addie” Wilcox, September 5, 1926 to July 26, 2017

Wilcox, Rachel A. 90 of Beverly Hills, Fl. entered into rest on July 26, 2017. Rachel was born on September 5, 1926 in New Bedford, Ma the daughter of Joseph Sampson and Rachel Chace Sampson.

She married Paul John Wilcox on April 1, 1945. In addition to raising their own children, she fostered numerous infants. They moved to Beverly Hills, Fl. in 1986. They spent the first years of their retirement helping build Heritage Baptist Church. Paul Wilcox died in December 2003. In
June of 2007, she married George Fortini, her next door neighbor and they had four and a half wonderful years together.

Rachel leaves behind her loving family 4 daughters Frances and her husband Chet Matheson of Waxhaw, NC, Cynthia Roberts of Huntington, MA, Joyce Thorne of Bridgewater, MA and Martha and her husband Richard Gracia of Raynham, MA, 3 sons Douglas Wilcox and his wife Sarah of Nashua, NH, Paul Wilcox of Homosassa and Aaron Wilcox of Inverness, 13 grandchildren and 9 great grandchildren. She was a light of Christian faith shining in a dark world.

Friends are asked to visit at the Wilder Funeral Home 4890 South Suncoast Blvd, Homosassa, Fl. 34446 on Saturday July 29, 2017 from 12:00 to 1:00 PM. A celebration of life service will be held at 1:00 PM at the funeral home. Interment will be at Fountains Memorial Gardens, Homosassa.
In lieu of flowers memorial donations may be made to Hospice of Citrus and the Nature Coast P.O. Box 641270 Beverly Hills, Fl. 34464 or Cornerstone Baptist Church, Hills Campus 2 Civic Circle, Beverly Hills, Fl. 34465 or Precious Paws Rescue, Inc. 7358 S. Florida Ave, Floral City, Fl. 34436.

Arrangements are under the direction of Wilder Funeral Home, Homosassa, Fl.

Published in Citrus County Chronicle on July 28, 2017.