Author Archives: luke

Let Elon Musk Run TSA

This is rich. One of the Thousands Standing Around who do security theater in airports says that they need a raise.

People tend to take our jobs for granted. You’re more likely to hear about long wait times or annoyance about taking off your shoes than you are about the important work we do. What you don’t hear about are the weapons we confiscate, the threats of violence we deal with, and the grueling work hours we endure in order to keep America’s skies safe.

Actually, we hear a lot about the weapons you don’t confiscate, and the snow-globes you do. And when we want to know, how, exactly, strip-searching grandma and three-year olds keeps our skies safe, you say you can’t tell us because Terrorists are watching.

What’s up with this bitching about a raise, anyway? Is it throwing out a high bid so we can negotiate back down to where we are now, instead of cutting your pay and eliminating headcount like you need? Because, as employees in a public union, you need a pay cut and worse hours.

Until 2011, our union even lacked the right to bargain over workplace conditions. While some bargaining rights were granted, we still lack many of the same rights that most federal workers are entitled to.

Organizing labor against the Federal Government is (by definition) organizing against the representatives of the people. It should be illegal. And a strike should be given the same treatment that Reagan gave PATCO.

But if I was in charge, the first thing I’d do would be to dismantle the deep state. The agency I’d start with would be the DHS, and I’d use the TSA as poster children. But if people aren’t willing to embrace my proposal, let’s at least let Elon Musk take over running it. Deadwood like this complainer would be the first ones out the door.

Raspberry Pi maintenance

I hadn’t done any system maintenance in quite a while:

$ sudo pacman -Syu

And when I did, I got this message:

error: failed to commit transaction (conflicting files)
rpi4-post-install: /etc/udev/rules.d/99-vcio-rewrite.rules exists in filesystem
Errors occurred, no packages were upgraded.

Which means (I’m told)

Previously we added this file to fix a few issues, but it was not owned by any package. So with this update, we switched it to be owned by rpi4-post-install, which results in this file conflict. Workaround: Run

sudo pacman -Syu --overwrite /etc/udev/rules.d/99-vcio-rewrite.rules.

CSV from the command line

There’s a whole bunch of tools out there:

miller seems to be the most versitile (that I could install without effort)

xsv also looks good.

dasel appears to be similar, but I haven’t tried it yet.

pspg looks very good.

The instructions to install csvtk are out of date (go get instead of go install)

Most of the homepages for these list others as well (tv, visidata, …)

Psych 4.0 is broken

That’s what I hear, anyway, that Psych 4.0 quit working.

The toolchain I’ve constructed to publish my podcast quit working after a recent upgrade I’ve been trying to get it working.

Unfortunately, while I’ve been using ruby since 2001, I’ve never had to figure out how rubygems work. I program for a hobby. It’s not my day job. For what I do, I’ve always been able to use the most recent version. I don’t even know how to use Bundler. (As a first step, I should try it in a single script.)

I did figure out that I could uninstall 4.0, but I might need something that depends on it. So I need to learn how to specify a particular version in my own scripts.




Unicode on the Mac’s APFS is Insane

That’s what I hear, anyway.

I inherited a bunch of files created on a Mac that have Korean names. On a Mac they look like this: ’13 주문 MIROTIC.m4a’ and ’01 Hook가 HookGA (feat. 화사).m4a’

But on my Linux backup system, they look like this: ’13 주문 MIROTIC.m4a’ and ’01 Hook가 HookGA (feat. 화사).m4a’ .

In wordpress, I can’t tell the difference. But I can tell you it doesn’t make rsync happy.

I haven’t figured this out yet. But I wanted to remember what little I did figure out.

OpenSSL problem on (older?) Macs

I had a whole bunch of problems break my podcast all at once, and I’m slowly figuring them out, one by one.

One of the problems is keeping both ruby 2.7.4 and 3.0.2 from building:

Installing openssl-1.1.1l...

BUILD FAILED (Mac OS X 10.13.6 using ruby-build 20211109)

Inspect or clean up the working tree at /var/folders/2h/930zdx_d2dv8l6tg8m_kw_fh0000gn/T/ruby-build.20211114160436.20979.mnlPJV
Results logged to /var/folders/2h/930zdx_d2dv8l6tg8m_kw_fh0000gn/T/ruby-build.20211114160436.20979.log

Last 10 log lines:
        ^
clang  -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/Users/luke/.rbenv/versions/2.7.4/openssl/ssl\"" -DENGINESDIR="\"/Users/luke/.rbenv/versions/2.7.4/openssl/lib/engines-1.1\"" -D_REENTRANT -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/luke/.rbenv/versions/2.7.4/include  -MMD -MF crypto/rand/randfile.d.tmp -MT crypto/rand/randfile.o -c -o crypto/rand/randfile.o crypto/rand/randfile.c
crypto/rand/rand_unix.c:385:47: error: use of undeclared identifier 'kCCSuccess'
    if (CCRandomGenerateBytes(buf, buflen) == kCCSuccess)
                                              ^
2 errors generated.
make[1]: *** [Makefile:4637: crypto/rand/rand_unix.o] Error 1

Because I’m the next thing to a Normie, I never discover a new problem. This one has been observed since September (or earlier). That post says “the OpenSSL fellows do not develop on MacOS.” Fortunately, some people do. But I have to learn how to use the workarounds.