đŸ’Ÿ Archived View for gemini.circumlunar.space â€ș users â€ș adiabatic â€ș scrawlspace captured on 2020-10-31 at 00:53:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

âžĄïž Next capture (2020-11-07)

-=-=-=-=-=-=-

Scrawlspace

This is scrawlspace. I scrawl in this space. Do not expect coherence or permanence here.

2020-10-28: Walking, its effects, and their descriptions

I “needed to clear my head”, or so I thought, so I decided to take a walk.

It was a decently long one — 6 miles (10 kilometers). I paused at the starting point after walking about half that and decided to make another loop around. I kind of thought I could use it.

I’m glad I went for a walk, and I’m glad I went for the full two loops.

What I did _not_ expect afterwards is to better describe the walk as “restoring my executive function”.

2020-10-26: Re: Strategy for writing drafts in a Gemlog?

In response to:

gemini://carcosa.net/journal/20201025-drafts-branching.gmi

I don’t have a gemlog (yet), but if I wanted to write posts that would automatically get picked up and published I’d probably just put the draft in a directory off to the side that doesn’t get uploaded or otherwise monitored. Then, when it’s done, just move it into wherever it should be so it can get picked up by sftp/rsync/the index-file generator.

I use Git for my capsule as well, but I can’t imagine using more than one branch unless I wanted to radically restructure everything and break loads of links.

On second thought, I imagined it. Multiple branches might be a useful tool for managing the deployment and rescinding of a great April Fool’s joke.

2020-10-25: A comically uncompelling argument

iPad gaming is better than Switch gaming because the screenshots are all in PNG (not JPEG) and you don’t have to dig them out of a teeny SD card thing in the back of the device after shutting it off.

2020-10-24: Public-service announcement

It’s Saturday. Do you know if your capsule’s TLS certificate is expired?

If you’re not automatically getting your TLS certificates renewed like Let’s Encrypt has you do, do you have a manual to-do set to pester you a month before your 1- or 3- or 5-year certificate expires?

I ask because I was checking out the usual CAPCOM and Spacewalk feeds and, like, three of the links I checked out had TLS-type errors in amfora. Unlike a lot of Gemini clients, amfora’s pretty strict about not letting TLS funny-business pass.

Relevant links:

amfora on GitHub

2020-10-23: Writing in raw HTML: It’s kinda not awful these days

Background:

gemini://tanelorn.city/~bouncepaw/gemlog/md-sucks.gemini

gemini://perplexing.space:1965/2020/re-why-markdown-sucks.gmi

https://docs.emmet.io/

https://prettier.io/

A while ago I wanted to make a structured document. More structured than what I could get out of a giant Markdown file (I wanted a deeply nested <section>/<h1>-style, and I can’t get that with Markdown).

My favorite editor for many things is Visual Studio Code. It has Emmet support, which will let you type a pretty-much-CSS bit of text and get nicely-structured HTML out of it. VS Code, with the right plugin or three, also has decent Prettier support, which will happily re-indent your HTML nicely (so you don’t have to). I don’t do reformat-on-save for Prettier, but I hit ⌄⌘F to run Prettier fairly frequently when I’m editing anything that can be reformatted by it.

If you want your document’s version of Prettier to be stable, you’ll need to basically install it into the root of the directory associated with your HTML document. Having a containing folder for an HTML document isn’t an issue for me (how else am I going to have it in a Git repository?), but there’s now a `node_modules` directory sitting in an otherwise clean-feeling directory. It’s one thing to have a boxed-up Lovecraftian horror like a node_modules directory in a mostly-JavaScript programming project or tucked away in `/usr/local/` or `~/Library/Application Support/`, but it’s another thing to have it sitting there in a _very_ otherwise-Spartan directory, all wrapped up with a garishly large bow.

VS Code won’t auto-curl your quotes like BBEdit will, but there’s nothing keeping you from typing in BBEdit and occasionally handling the re-formatting of your elements in VS Code. (Tip: in BBEdit, hold down `Control` and press your (double) quote key to get the opposite behavior, whether your quote marks are curly-by-default or straight-by-default.)

So, yeah. Kinda not awful if you have loads of modern tools close at hand. Then again, if you’re writing a big file like this in Markdown, you probably have somewhat different tools, like a live-preview that reloads your changes every time you save the file, so you’re probably also only getting by with a handful of helpful annoyances no matter what you’re writing in.

2020-10-22: Sometimes comically bad estimates go in the other direction

Initial time estimate: 4 hours, give or take.

Actual time taken: 11 minutes.

2020-10-19, but at the end of the day instead of only technically on 2020-10-19: Doo-dah, doo-dah

Maple bacon onion jam

Broken user query tests

2020-10-19: Desync in Homebrew-installed packages

Background:

https://github.com/lunaryorn/mdcat

https://github.com/charmbracelet/glow

https://github.com/sharkdp/bat

Somehow, I ended up with mdcat(1) on my laptop and glow(1) on my desktop.

Not sure if I should have both, one, or neither on my computers. bat(1) already seems to do what `mdcat` does, and probably better. Typing `glow` isn’t part of my muscle memory, though. What’s more, I have trouble remembering the name of the darn thing for the times when I _do_ want pretty-printed Markdown in a Terminal window.

Update: I actually had mdcat(1) on both my machines. Out the airlock it went, because bat(1) is better.

2020-10-15: People actually like _lossy_ WebP?

(was: Re: I am the preëminent server of WebP in Geminispace)

Previously:

gemini://nytpu.com/gemlog/2020-10-13.gmi

(also, scroll down to “I am the preĂ«minent server of WebP in Geminispace”)

I used lossy WebP on some The Legend of Zelda: Breath of the Wild screenshots (originally JPEG, much to my dismay) and they looked OK. The space savings was impressive.

Then, many months later, I looked again, more closely, flipping back and forth between the original and the lossy-WebP-recompressed version, and the WebP was clearly inferior. I remember someone else on the Internet said “well, waddya expect if you use a pile of video compression techniques on a still image?” and that sounded like a reasonable take. (IIRC lots of VP6? 8? compression techniques are used in lossy WebP.)

At any rate, I’m a teeny bit surprised someone would use imagemagick(1) to compress WebP, but that’s probably a handy swiss-army knife to a lot of people. I wonder what kind of lossless compression ratios nytpu (linked above) would get if `cwebp -z 9` were run on all the PNGs.

I can’t say I’m a huge fan of WebP, mainly because my desktop browser of choice and OS of choice won’t support it until I can be convinced that macOS Big Sur won’t be a raging dumpster fire. <picture>/<source> makes it usable in HTML, but there’s no widely-available fallback mechanism for CSS yet and “background hero images where nobody really needs to care how good they look” is where WebP really shines.

Replies:

nytpu: “WebP Revisited (a little more in-depth this time)”

Also:

carcosa.net: “2020-10-13: Re: webp on Gemini”

2020-10-11: wget(1)’s `-w 1` is a hell of a drug

I ran

wget -np -w 1 --mirror [some site with a bunch of tiny files]

`-np` means “don’t ascend up into a parent directory”, `-w 1` means “wait 1 second in between requests”, and `--mirror` turns on a bunch of options that’re good to have on if you want to mirror a directory tree.

Total wall clock time: 2d 7h 5m 47s
Downloaded: 173919 files, 2.6G in 1h 25m 17s (539 KB/s)

Two days of downloading, but only an hour and a half of downloading. Hence the title of this post.

Now I need to learn and memorize (or write down) the magic incantation that will allow me to skip downloading all of Apache’s sorted-every-which-way file-listing pages. You know, the ones with URLs like “index.html?C=D;O=D”.

I’d almost want to re-download all those files again, if only to see how much faster it’d be.

2020-10-10: I am the preëminent server of WebP in Geminispace

Background:

GUS: Gemini Universal Search statistics

the colophon here

I went to gus.guru and had a look at the stats there. It had this line in it:

7 - image/webp

I happily serve up WebP-encoded images. I wonder if I’m responsible for all of them.

> ag webp



Hm, I can’t count. Computers are better at that than I am, anyway.

> ag webp | wc -l
11

OK, the unpublished templates, the upload script, and the colophon verbiage account for all of the difference between 7 and 11.

I am literally the sole server of WebP in Geminispace.

If you’re looking to be Old on the Internetℱ one day, you can say “I remember when all the WebP on Geminispace was lossless”.

2020-10-10: I try API Blueprint

Background:

API Blueprint

Aglio, an API Blueprint-to-HTML converter

Snowboard, an API Blueprint toolkit

I’ve been wanting to play around with API Blueprint for quite a while. This past Friday night (yes, yes, I know) I finally got a chance to mock up a simple API with it.

It’s my kind of thing, but the tooling around it is mediocre (at least for the tools I’ve tried). Aglio seems like one of the most popular to-HTML converters for API Blueprint, but for some reason it’s not outputting variable bits in URLs (things in braces). Snowboard is also a thing, but it’s in a Docker container which
I’m still not _happy_ about, even if Docker is a totally reasonable, fine choice for this sort of thing.

My lukewarm attitude towards API Blueprint reminds me of my attitude toward DocBook. Sure, DocBook can provide you with a fantastically rich documentation source that can be converted into a bunch of different formats, but if you don’t like the default DSSSL and XSL transformation stylesheets, you’re not going to like what you get out of DocBook. And I didn’t like the stylesheets’ output, and I didn’t have enough manpower to any of them into something I’d like (unlike, say, the GNOME Project).

2020-10-09: I try Commitizen

Background:

https://commitizen-tools.github.io/commitizen/

Finally got a chance to try commitzen. My evaluation:

git rm .cz.toml
brew uninstall commitizen

2020-10-06 (later): What IPv4 shortage?

Prior reading:

gemini://going-flying.com/~mernisse/10.gmi

My hot take: Given current auto-update technology, a personal server in every home is a widespread security nightmare. Only a tiny handful of nerds vet the devices they allow on their home network, and most IoT devices are running some flavor of Linux or whatever that’s vulnerable to heaven alone knows what sort of exploit.

Also, “send some company some money every month to host your stuff” is a pretty decent idea, whether it’s a web host or VPS or Heroku. That way, someone else handles the patching and upgrades and hardware faults.

Oh, and basically none of these homebrew solutions seem to have cracked the “I want to share photos of my kids with just their grandparents and a few of my friends” problem. Facebook, Google, and Apple have all solved that mostly. Anyone can share anything to everybody pretty easily, but sharing to only a handful of people on the planet is much, much more difficult to get right and easy and not subsidized by ads.

2020-10-06: I kind of resent blogs

I kind of resent blogs.

One of the things I’ve noticed is that it’s difficult to get your work noticed in Gemspace if you don’t have some kind of Atom feed. In order to have one of those, you’re probably going to have to have some kind of automatically-generated feed. What’s the best way to have an automatically-generated feed of anything? Having a blog.

I don’t want to have to set up a blog or a blog workflow or a static-site generator. I burned a couple days on generating an Atom feed from a YAML-formatted JSON Feed feed and I want those days of my life back. On the other hand, having a single-file blog was kind of a neat idea and I might actually use it in the future.

The weird part? I used to be a big fan of Atom. Now its insistence on titles grates. I think I’d rather patch Spacewalk to handle JSON Feeds in addition to Atom feeds. Unlike CAPCOM†, I don’t think I need to do anything weird to have it handle nonexistent titles
because it doesn’t seem to display titles anyway.

†: Boy, that was a confusing name when I first saw it in Geminispace.

Update

gemini://sakurina.flounder.online/20201006r.gmi

I can’t reach out and tell you that I’ve responded to your post, so I guess we’ll see if you notice this. this gemlog doesn’t have a feed of any kind, so if you see it, I guess content *can* be noticed without an atom feed.

Guess I should’ve read the Spacewalk README/source code a little bit more slowly and thoroughly, then. Thanks!

⏚

Home

Hi! I’m a one-pixel invisible tracking image! View me to let my webmaster know you’ve scrolled through the entire page!