Daily Notes for 2024-01-18

ยท 1051 words ยท 5 minute read

I snarl because I care ๐Ÿ”—

Every time I post a critique like this I feel like I’m looking over my shoulder a little. It’s an election year, everyone’s on edge, and there is just this vibe about it all that is intense.

I’m not going to try to paper over or sugarcoat my political leanings: Pretty “left,” in the basic political parlance. Not a Republican. Not a “centrist.” Not a “moderate.” Not a “right-winger,” “fascist,” or whatever.

Behaviorally, I vote Democratic, but I do not believe that it’s my obligation to “create unity” during primaries, and I don’t think the Democratic party represents my views or even really my interests in any “forward progress” sense of the word.

Ideologically, I don’t like picking any label because I have been thinking about those labels for decades on decades and have seldom seen them actually help anyone be more clear on what anyone else believes. If I had to pick one, I’d stick to “socialist.” But I was once on the national committee of a socialist organization I do not care to name and understood very clearly the vast daylight between me and any number of other “socialist” organizations. We even joked among ourselves that we got a small hoot out of people believing we were probably just sort of into European-style healthcare and better emissions control.

And I don’t like the labels because I believe that you are what you do, not what you say you are. I really appreciate the phrase “my political commitments” as opposed to “my political beliefs,” because the idea of “commitments” naturally invites the question “if they’re commitments, what are you doing about them?” That’s a reminder for me, personally, when I think about opening my mouth on this stuff.

But even “left” and “right” have issues, as do “conservative” and “liberal.” We use those terms and there’s some rough agreement, but I’d much rather understand what someone is trying to do than understand some taxonomy of labels when these words are doing all kinds of work and mean so many things.

But when I snark about the cascading system failures going on around me, it’s not because I think we’d be better off with Republicans in charge. It’s because I think the people who are in charge are failing us, and a. they’re in charge, b. I don’t care if they’re the home team because they still need to be held accountable at the next opportunity (primaries, which is why believing primaries are for beating the base into alignment is a position you’d expect the people who want to keep power to take), and c. no, they’re not left enough for me. We should be building government housing and socializing healthcare.

My disgust with that pull quote up at the top is pretty simple: On what planet is “enlightened” a useful policy platform? Who cares what leaders say? What are they doing? Is there anything more Peak Portland Liberal than “well, we know better so it’s odd that things aren’t working out.”

PikaPods and Calibre-Web again. ๐Ÿ”—

I did all the setup on my PikaPod and Calibre-Web to get it talking to my Kobo and … something was very wrong. Sync wasn’t working, none of the books in my collection were showing up as download candidates, etc. I remounted my Kobo and rolled back the config change that pointed it at the Calibre-Web API in favor of the Kobo store API and went to bed mildly disappointed but deciding there are worse things in the world than sideloading my entire library of ebooks onto a device I update once every five or eight years.

This morning it turned out it was bothering me more than I had let on to myself. One discrepancy I noticed was that most docs expect the service to be listening on :8083, but the URL it was generating in the UI was going to hit :80. When I did a straight curl I got … nothing. So I curl -v’d the PikaPod with :8083 and got … nothing again. So back to :80 with -v and … oh … Calibre-Web’s handy little “paste this line into your Kobo config” field was providing an unsecured URL and curl was stopping on a 308 redirect to the secured URL. I guess 308 is implemented inconsistently, because it should have simply redirected to the secured URL with the request intact. I’ve never even seen a 308, but my education in redirects stopped decades ago with an SEO cleanup.

Anyhow, curl -v to the secured URL with no port qualifier told me curl and the API were talking, so I remounted the Kobo, changed the config to point to the PikaPod’s API endpoint and now there’s ping. Plus a ton of duplicate books, because Calibre-Web is configured to serve up a .kepub (a Kobo-specific epub variant more amenable to location sync) as well as any .epub it can find, and I didn’t take the time to narrow that down.

At least I can start the work day knowing the most mysterious part is working.

Say what again? ๐Ÿ”—

PikaPods is a web service that lets you host common/popular webapps. It’s pretty neat: You pick one, click the little deploy button, and it fires up a container with its own URL and the option to point a CNAME at it, plus instructions on enabling sftp connections if you need them. Calibre-Web is one of the services PikaPod will host for you. It’s an online ebook library that works with Calibre, a popular means of converting ebook formats. Among its other capabilities, Calibre-Web can serve up your library to a Kobo device and manage location sync between all the clients. A nominally loaded PikaPod running Calibre-Web is supposed to cost only a couple of bucks a month, and the billing is all metered.

I gave PikaPod a try because the instructions for getting a Calibre-Web container to run on my Synology were all so impenetrable that I decided there had to be a better way. Ironically, by the time I had the PikaPod running I understood what I was getting wrong with the self-hosted containers. So there’s a chance my inner autodidact will have no rest until I have my half-assembled container working correctly.

But PikaPod is cool.