Monday, August 31, 2020

pdftk to the rescue (or: how to sign a PDF using a pen)

From the manpage: “If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a simple tool for doing everyday things with PDF documents.”

True, but the usage isn't always intuitive. Well, maybe it would be if I did these things every day. Which I don't. This one thing, that I have to do every few months (trying to make it less frequent), goes something like this:

  • Receive a PDF; call it orig.pdf
  • print page 3, sign, and scan; call that sigs.png
  • Create a new PDF which is the old one for pages 1–2, the scanned image from the previous step, and the old one for page 4; save as signed.pdf
Here is my cheat sheet for next time:
$ convert sigs.png sigs.pdf
$ pdftk A=orig.pdf B=sigs.pdf cat A1-2 B1 A4 output signed.pdf
There. Now the next time I have to do it, I won't have to stare at the manpage and try to reconstruct this incantation.

Sunday, August 09, 2020

Some Words on Anxiety

I have been thinking lately about anxiety. You know what the Apostle Paul said about anxiety, right?
And, apart from other things, there is the daily pressure upon me of my anxiety for all the churches. Who is weak, and I am not weak? Who is made to fall, and I am not indignant?
2 Corinthians 11:28–29 (RSV)
That’s right; he felt the pressure, just like you do. You want people to choose love and faith and generosity, rather than indifference and fear and envy. You long to see Christ formed in them. And in these pandemic times, you can’t see them in person to encourage them, or hold their hands while you pray for them. Paul knew about that, too.
Night and day we pray most earnestly that we may see you again and supply what is lacking in your faith. Now may our God and Father himself and our Lord Jesus clear the way for us to come to you. May the Lord make your love increase and overflow for each other and for everyone else, just as ours does for you.
1 Thessalonians 3:10–12 (NIV 1984)
Is anxiety good then?

Well, it’s not really recommended. Another famous writing of Paul tells us not to worry about anything, but to pray about everything (Philippians 4:6–7). And the Lord Jesus himself told us,

So do not worry, saying, “What shall we eat?” or “What shall we drink?” or “What shall we wear?” For the pagans run after all these things, and your heavenly Father knows that you need them. But seek first his kingdom and his righteousness, and all these things will be given to you as well. Therefore do not worry about tomorrow, for tomorrow will worry about itself. Each day has enough trouble of its own.
Matthew 6:31–33 (NIV 1984)
I’ll add a pastoral word here: Paul the Apostle himself was at times beset by anxiety, so he is not scolding us, wagging a finger as he lectures us about worry. Neither is the Lord Jesus assuming a punitive posture in this extract from the Sermon on the Mount. Rather, his attitude is more like this father, coaxing his child to take a first step:
This is the same Jesus who said, “Come to me, all you who are weary and burdened, and I will give you rest. Take my yoke upon you and learn from me, for I am gentle and humble in heart, and you will find rest for your souls. For my yoke is easy, and my burden is light.” (Matthew 11:28–30)

That invitation from our Lord is intended for everyone who is weary and burdened, for those “in ministry” and for those who don’t think of themselves that way. In other words, it’s for you and me.

So let us come to him, let us take another step to him. That, more than any of our accomplishments or possessions, is what pleases him, and what brings us life and peace.

Saturday, July 25, 2020

Ash Wednesday thoughts

[found on the Notes app on my phone, from February]

It was a good day to die, as Garrison Keillor said of that spring day in Minnesota, with the tomatoes just planted. His aunt was looking over her garden when her heart just decided to stop.

His monologue came to mind today, Ash Wednesday. “Remember that you are dust, and that to dust you shall return,” say the priests. It’s a good thing for me to remember, because like most Americans, I tend to ignore my mortality. But it struck me the other day that I probably have fewer than 10,000 of them left.

Indeed, as I’ve heard a few times recently, “Life is short. We don't have much time to gladden the hearts of those who walk this way with us. So, be swift to love and make haste to be kind.” (attributed to Henri-Frédéric Amiel)

I hope in this Lenten season that I’ll be diligent to do that.


At the end of his monologue, Keillor remarked that it was indeed a good day to die. And if a good day to die, how much more was it a good day to live?

Tuesday, July 14, 2020

I’m blind! Well, I was, anyway

In case you missed it, Matthew Dutton-Gillet, formerly rector at Trinity Menlo Park (California) was caught misappropriating church funds for personal use, at least $125,000 taken over the past five years. I was very disappointed to learn of this news, but beyond that, I was surprised to note that the idea of jail time for Matthew had not occurred to me until some weeks afterward.

That was a blind spot for me. Matthew committed a crime, maybe more than one, and he admitted this. How did it escape me that this is a criminal case? I’m far from the only one; there are Trinity members who to this day say that the police should not have been informed. I suppose that because we like and respect Matthew, we don’t want to think he’s also a criminal.

Speaking of “cognitive dissonance”…

Last November, we learned that MPPC’s senior pastor, John Ortberg Jr., was put on personal leave because of an error in judgment regarding a certain volunteer. (In case you missed it, here’s a timeline.) Some things about the whole story were puzzling (why did that volunteer confide in Daniel Lavery, formerly Mallory Ortberg?), but because I like and respect John, I don’t like to think of him as recklessly endangering children. I didn’t want to think about it; I wanted all to be well. MPPC’s communications folks were ready to help me with that.

As you can see, I have blind spots galore. When it was revealed earlier this month that the volunteer was John’s younger son, John III, some scales fell off even my eyes. One puzzling question was shockingly answered, and yes, it now seems to me astoundingly reckless to allow John III to be alone with children to whom he felt sexually attracted.

In the week or so since I started writing this, I have seen a wide variety of responses from people I know personally at MPPC. Apparently I am not alone in my disorientation. As Jeremiah famously wrote, “the heart is deceitful above all things and beyond cure; who can know it?” It is difficult—for me anyway—to discern the severity and gravity of mistakes made by people we respect or admire. I now have a new understanding of how deeply and severely I at least can deceive myself.

Thus I am so very glad that the Lord Jesus Christ promised that the Spirit of Truth would guide us into all truth. How much I need to pay attention to that Spirit in these days!

Monday, July 13, 2020

Debian9 upgrade

I mentioned in an earlier post that upgrading from debian8 (jessie) to 9 (stretch) solved a display mystery. (I wonder if a 3440x1440 monitor will work on this distro.) This post will record mysteries created, rather than solved.
  • xsane: no devices found
    So I had to download brscan4, I forget where from... brscan4-0.4.9-1.amd64.deb
    Then I had to use brsaneconfig. Like this:
    sudo brsaneconfig4 -a name=mfc9340 model=MFC-9340CDW ip=192.168.1.40
  • …that's it for now!
I understand that upgrading to buster (debian10) will remove python2. Since I'm a Python Dinosaur (not really analogous to my granddaughter's "Dragon Pig" concept), python3 is the new-fangled (or -fanged) thing that I don't quite feel comfortable with.
And then there was an broadband internet service change 2020-08-14
"ping" tried to use ipv6 addresses. So I did this:
collin@p64:~$ cat /etc/sysctl.d/local.conf 
net.ipv6.conf.all.disable_ipv6 = 1
collin@p64:~$ 
And after filling in DNS servers in /etc/resolv.conf, I made it not a symlink and told network manager not to update it
BUT! That was a bad idea.
[main]
plugins=ifupdown,keyfile
dns=none                       ←add
...
/etc/NetworkManager/NetworkManager.conf
Why was it a bad idea? Because I thought I could use my ISP's nameservers. But since my IP address was assigned by AT&T, my ISP's nameservers rejected all my queries. I hate rejection. So I'll stop asking.

Wednesday, July 01, 2020

Solved!! LG 34UM58-P Revisited: a Puzzle

In 2017, I bought an LG 34um58p monitor and, after some xrandr(1) hackery, got the display to work, more or less. But the display was always a little ugly, as described in a 2019 whine.

Today, for unrelated reasons, I upgraded my Linux distro from Debian GNU/Linux 8 (jessie) to Debian GNU/Linux 9 (stretch). I rebooted and Surprise! First, I didn't need to run my xrandr script. Second, the pixels actually look good; no smearing/dithering as shown in the aforementioned whine from 2019.

I was so excited to see the new sharper image (no ™) that I whipped out my iPhone™ camera and snapped the pic at right. Although I didn't set up the camera as carefully as I did for last year's shot, I hope you can see how much nicer it looks now.

Sunday, June 21, 2020

I miss Matthew, too

Today was the first Sunday at Trinity with neither Aaron Klinefelter nor Matthew Dutton-Gillet on staff. In case you missed it, Matthew is on administrative leave for misappropriating church funds for personal use. Aaron, his assistant, had been officiating since then, but he left us to become rector (not assistant) at St. Jude's Episcopal in Cupertino.

It has been some weeks (I guess it's been two months at this point) since we've seen or heard from Matthew. That wasn't his choice; contact with the congregation is forbidden by the diocese during the "Title IV process." This morning's service was officiated by Tom Traylor. We respect, like, and appreciate Tom, but he's not Aaron, and he's not Matthew.

I've been missing Matthew for some time now. Part of it of course is that I'm also missing the whole experience of meeting together in person on campus. But I miss Matthew's smile, his wise, compassionate words, his warm greeting and pastoral care.

Why did he have to siphon off $2000 a month of church funds for the past five years? Why did he have to go and disqualify himself for the ministry he obviously felt called to and took such joy in? I wish he hadn't done that to us, to himself and his family, to Aaron and his family... There's a temptation to think, "What kind of hypocrite could preach those sermons while taking $500/week from the church treasury for the past five years?" or "We thought he was this wise and compassionate and godly man, but it turns out he's a criminal."

But of course that's an overly simplistic view of humanity. David, the "man after God's own heart," committed adultery and murder. How many of the rest of us, given access to a vast supply of funds and a lack of financial controls, might have taken similar actions? We humans are so complicated. And we'll probably never know what really happened.

I believe Matthew is a wise, compassionate man, but he's also a criminal. How different am I? I'm probably not as wise or compassionate, and I'm no less a sinner; my faults are no less than his, as far as I know. Do I have envy, anger, selfishness, self-pity, pride, impatience? (Does a bear shit in the woods? I guess you can add crudity to the list.) So far my flaws have not gotten me in legal trouble.

So yeah, I'm grieving. I'm glad that the Bible is full of flawed-but-still-inspiring people, saints who weren't perfect but sought to follow God—so that when we see each other's faults, we might grieve with understanding and compassion, rather than condemning with outrage.