Some Bits: Nelson's log

10 posts in February 2023

Starlink: worse service, higher prices

Starlink has announced a $10 price hike ($15 for some), the second in less than a year. Meanwhile in that time service has significantly degraded: cutting speeds from 100 Mbps to 20 Mbps, adding a data cap, increasing packet loss and evening congestion, and an SLA that promises as much as 15 minutes of downtime a day. It’s all kind of dismal.

But it also is a successful product because for many in the US, including me, Starlink is the best option they have. Years of not investing in broadband infrastructure left many of us with no good Internet option. Starlink is truly better in many ways. The main mistake they made was wildly overpromising before launch. I’m glad the FCC figured out they couldn’t deliver before handing them $900M based on their promises.

Weirdly the company announced tiered pricing: $120/mo for customers in heavily subscribed areas, but a discount to $90 in sparse areas. On Reddit it looked like about 10% of customers got a discount, so this is basically a price hike for almost all of the US.

I fear the Starlink product is going to keep getting worse; they keep adding customers. They are adding satellite capacity too but it hasn’t been keeping up in the US. Meanwhile they have way more capacity than customers in most of the rest of the world. It’s a difficult business.

Calorie Counting apps

I’m doing calorie counting, something I’ve found effective for managing my weight as long as I can stick to actually tracking everything. It’s a pain in the ass but being mindful about what I eat helps. Which means the tool I use for counting calories is important.

Boy, are the tools out there terrible. I’m using MyFitnessPal but other apps seem the same.

My immediate rant is the absolute garbage that’s in their food database. They are very proud to advertise they have 11 million entries. Like this one, where cream has the calorie density of enriched uranium:

Last night I had some delicious Königsberger Klopse. I had a sensible amount of the sauce, maybe 2 tablespoons of cream. How many calories was that?

Well according to the screenshot above, 5175 calories. No wonder I’m so fat! Mind you this database entry has a little green checkmark which supposedly means it’s verified good data. About as “verified” as Musk’s Twitter Blue, I guess. The image on right shows there’s a zillion different options for recording amount, a confusing mix of metric and imperial, volume and weight.

There’s three different ways to record “tbsp”. Depending on which you choose, 2 of those are 104 calories, 690 calories, or 5175 calories. Just total nonsense. And I can’t even use their edit workflow to fix it; apparently this particular item was entered by MyFitnessPal themselves so there’s no easy way to report an error.

This example is particularly bad but the database is full of all sorts of bad data. I don’t begrudge being off by ±10%, whatever. But there’s plenty of just wrong information, incomplete descriptions (is that yogurt sweetened or not?), and a lot of made-up-fiction where some other user hallucinated a number. Still particularly annoyed to see this error in a so-called verified item.

Database issues aside there’s all sorts of other problems with the actual tracking flow. The variance in ways of measuring things; volume vs weight, and the units. Many items have gram to ounce conversions so you can use either, but not all. Sometimes it’s not clear of “ounce” means weight or volume. A lot of things get listed as “1 serving” or “1 slice” which is meaningless.

I have a lot of other complaints too. The fad now in food tracking is macros, recording fat, carbohydrates, etc. I’m sure that’s helpful for some people but for me it’s too much; I’m having a hard enough time tracking just one number. Worse, MyFitnessPal decides to scold me about the other numbers I don’t care about. Entering my 2 tablespoons of cream comes up with a warning like “your daily goal is 97 grams of fat and this item has 22 grams”. That kind of nagging is actively harmful to my goals and I can’t figure out a way to turn it off. I did tell them my goal was 10 kilograms of salt a day, so at least it’s not harassing me when I eat a pickle. Don’t tell my doctor.

There’s a lot of other apps, maybe some are better. But what I really want is a real leap in food tracking. I have a theory that with contemporary AI you could build a tracker that works solely based on a photo of the food and maybe a little extra data: the weight of the dish, maybe a note like “made with extra butter”. I have no proof that’d work of course but I hope someone tries.

Ubiquiti, RFC3442, and Starlink routes

I’m still trying to find a solution for the problem I have with a router bug and Starlink. First, a meta commentary. A friend teased me for all this writing about Starlink and routers. Let me just say it sucks. Trying to understand a broken Internet connection without the means to really fix it is intensely frustrating. The router is a bit more in my control and I’ve come to the conclusion Ubiquiti’s newer routers just have bad software. Next time I work on this I’m going to try an OpenWRT router again, maybe the SmoothWAN variant with channel bonding.

I have a USG 3P router. Ubiquiti has a router bug where static routes don’t work with WAN failover. Starlink looks like a normal ISP gateway, with DHCP advertising a route to the internet. But it also has a special hidden route for 192.168.100.1 so you can access Dishy’s stats. The easy thing to do is add a static route. This works fine on the Ubiquiti router unless you have WAN failover enabled (a backup Internet). Then the static route breaks. This is a known bug discussed for many years now.

(An added complication; Starlink’s dish also listens at http://34.120.255.244/. Not sure why but I’d hoped maybe this would work even without a special route for it, since it’s a public IP address. No such luck.)

My reader Daniel Y wrote in to suggest an interesting fix: install this rfc3442-classless-routes script to run as a DHCP exit hook. Starlink advertises the extra routes via a DHCP option. Which Ubiquiti apparently ignores? It’s apparently necessary for some European ISPs, and it’d sure be handy for Starlink. This script will set them. As a side effect Daniel said this also fixed the other bug I was talking about, where the router just ignores the DHCP lease in certain scenarios. I worked around that bug by inserting an ethernet switch between Dishy and the router so the ethernet link stopped going down.

Anyway, I tried the RFC 3442 script and it didn’t work for me. I did some debugging... First, it looks like my USG 3P has the RFC3442 routes even without this script. Maybe Ubiquiti did implement it afterall? (Daniel has the older EdgeRouter, most discussion is about those.) Second, the script gets invoked in a way it doesn’t seem to be expecting; there’s no $reason environment variable set so it doesn’t work. I hacked around this and tried adding routes with ip route add like the script would and nothing worked.

It’s a weird failure. Here’s the routing table according to ip route or Ubiquiti’s show ip route

default via 100.64.0.1 dev eth0  proto zebra
10.33.1.0/24 dev eth2  proto kernel  scope link  src 10.33.1.31
34.120.255.244 dev eth0  scope link
100.64.0.0/10 dev eth0  proto kernel  scope link  src 100.103.201.245
127.0.0.0/8 dev lo  proto kernel  scope link  src 127.0.0.1
192.168.3.0/24 dev eth1  proto kernel  scope link  src 192.168.3.1
192.168.100.1 dev eth0  scope link

That sure looks good to me! So why can’t I reach 192.168.100.1? Even explicitly doing ping -I eth0 192.168.100.1 doesn’t work.

My suspicion, without evidence, is that failover on the USG 3P is implemented in some complicated way that totally bypasses normal IP routing. That the routing table I see there doesn’t work. That doesn’t explain why the explicit ping-through-an-interface also fails. Honestly it’s all just such a black box. A broken black box. Ugh.

Random other Ubiquiti bug: their UI only supports RSA ssh keys. Can’t use Ed25519 or the other newer key types. Crap like that makes me cranky.

Starlink and BBR congestion control

I improved my download throughput with a simple change, enabling TCP BBR on the server. This all from a tip from an online friend who I’ve been sharing technical Starlink info with, I’ve been learning a lot from him. There’s a guide here.

I didn’t test this very carefully but casually observing an rsync transfer at 8am, when Starlink is quiet... With the default cubic congestion algorithm the transfer was bouncing around between 5 MBytes/s and 12 MBps. After enabling BBR I got more like a steady 12 MBps. Eyeballing it, I got 2x the throughput! Could be coincidence though, Starlink performance is so variable. I should test more carefully with iperf3 -C but am too lazy.

Ubuntu 22.10 by default uses the cubic congestion algorithm, use sysctl net.ipv4.tcp_congestion_control to verify. Enabling BBR is as simple as running sysctl -w net.ipv4.tcp_congestion_control=bbr. This will load the tcp_bbr kernel module and enable it. You can edit /etc/sysctl.conf to make it permanent.

Worth noting BBR is a change you need to make on the high bandwidth sender, typically the server. It can’t hurt on the receiver but I don’t think it will help either. There doesn’t seem to be an easily installable BBR for Windows. But it’s very easy to enable on a Linux server!

The guide I linked also suggests using FQ queueing and considers TCP window scaling. I didn’t change those. FQ has a good reputation on a router device.

What is TCP BBR?

TCP congestion control is one of the more important parts of Internet magic that makes things work. Basically it detects when a network link is getting overloaded and slows down transmits, trying to find the optimal throughput. The details of how it does that are remarkably subtle and have changed over the years. I’ve often wondered if Starlink’s wildly variable throughput and ambient packet loss were bad for existing algorithms. Maybe so, and maybe BBR is better?

TCP BBR is a Google innovation dating to 2016 or so on its way to becoming an IETF standard. They reported a 4-14% improvement after deploying it on YouTube. An analysis here shows the improvements are not big for a high quality link but are enormous at 1.5% and 3% packet loss; that’s more like my Starlink situation. Classic TCP congestion control interpreted packet loss as a sign of congestion. But it could also just be a flaky wireless medium. A modern algorithm designed to do more subtle modelling of the connection could definitely improve things, particularly for a Starlink client with 1%+ packet loss, 100% jitter, and varying maximum throughput.

I didn’t do a deep dive into understanding all of TCP BBR. Geoff Huston has a great writeup. And there’s Neal Cardwell’s formal paper and this video about the paper. The gloss I got from looking at these is that BBR is explicitly building up a model of the link characteristics and testing to update or revalidate it frequently. That’s a good deal more complex than “react to lost packets by halving the rate”, the core of the classical algorithm. It’s no surprise that as computers have gotten better there’s more room for doing more sophisticated traffic shaping.

Setting up SSH in 2023

I’ve been using SSH for over 25 years now. Haven’t really re-evaluated how I do that in a long time. I’ve been using the same 2048-bit RSA key since 2007. And mostly without an ssh agent of any sort, typing my key passphrase (or worse, Unix password) like a barbarian. So I’m setting up something new.

I’m struck by how little has changed. I might have gotten something wrong, feel free to comment. The Arch docs were a primary reference for me.

For advanced users, the things I learned this time are: ed25519 keys, that the ancient keychain is still the tool of choice, and that it doesn’t work well with agent forwarding. Really, keychain? Has nothing changed in 20 years?

Generating a key

Go to a secure Linux box that’s been up for at least a few minutes (so it has some entropy in the random numbers) and run

ssh-keygen -t ed25519 -C "name@example.com 20230212" -f id_2023

Two files will be generated: id_2023 and id_2023.pub. The first is your private key and while it’s passphrase protected, best to keep it secret and safe. You can spread your public key far and wide. It will look like this

I’m following Github’s advice here on the type of key. 3072 bit RSA is the default and is probably fine. ed25519 is a fancy elliptic curve that a lot of folks like. I like it because the keys are shorter, not that it matters much. The comment includes a date it was generated; ssh doesn’t store that in the key file. Be sure to set a strong passphrase when prompted.

$ cat *pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEKye4EydeuVQ8h5wG8GyluQ5+RK7BeaW76d0aYchiUj nelson@monkey.org 20230212

$ ssh-keygen -lvf *pub
256 SHA256:nJE3PwWMgAhll0EDbmBCNRwEUG2AOHwtNJa6hnIOrco nelson@monkey.org 20230212 (ED25519)
+--[ED25519 256]--+
|B=%&B+=+.. o.    |
|++.O*oo. .. ..   |
| .o.+   o o   .  |
| . .   . + o .   |
|...     S   o    |
|+oo          .   |
|o=               |
|o .              |
|oE               |
+----[SHA256]-----+

Authorizing a key

Now that you have a key you can use the public key anywhere to authorize it. The whole public key is just one line of text so you can easily copy and paste it. Append it to ~/.ssh/authorized_keys and now most Linux machines will let you log in remotely with it. There’s also the fancy ssh-copy-id tool which will append the key for you.

Some websites like GitHub will let you add your key, generally you just paste in the one line from the .pub file.

Using a key manually

The simplest way to use a key is just name it on the command line

ssh -i ~/.ssh/id_2023 example.com

If all goes well you’ll be prompted for the passphrase for the key instead of your Unix password. I find this is a little confusing and unpredictable but ssh -v helps me sort out any problems. The “-i” flag to explicitly name the key isn’t necessary if you use one of the default filenames like id_rsa or id_ecdsa. You can also put stuff in ~/.ssh/config to name a key to use for a particular host.

Using ssh-agent and keychain in Unix tty consoles

Typing your passphrase all the time sucks. ssh-agent will maintain a persistent copy in memory of your unlocked key and use it automatically. eval `ssh-agent` is the easy way to start it, but you have to do that in every shell (and remember to kill it when the shell ends!).

The better solution for Unix console / ttys is keychain. keychain is a wrapper for ssh-agent that maintains a persistent agent process running all the time, even when you’re not logged in. (Sounds dangerous! But handy.) In a tty environment there’s an easy way to start it, just drop this in your .bash_profile

eval `keychain --eval --agents ssh id_2023`

Keychain will look for an ssh-agent and attach to it if it can. Otherwise it’ll start one and prompt you to type your passphrase to unlock it. It’s a chatty program, you may want the --quiet flag. Also it is a little obnoxious if your id_2023 file doesn’t exist on the machine, so my login script checks for that (see below)

You can run keychain --stop all to remove all agents. There’s also a --timeout option.

Keychain vs agent forwarding

SSH agent forwarding lets you forward your ssh credentials so they can be used on the remove server after you log in. The private key stays on your original machine but the intermediate machine can query your ssh agent to log in to further machines. It’s very handy if you regularly bounce through one host to another. You have to manually enable ssh agent forwarding for each host you log in to in your config file (see the link).

keychain interacts badly with agent forwarding; it’ll ignore that you have a working agent and override it with one running locally. So it’s best to only run keychain if there’s no agent already defined in SSH_AUTH_SOCK. This is what I have in my .bash_profile

SSH_KEY=$HOME/.ssh/id_2023
if [ -z "$SSH_AUTH_SOCK" -a -e "$SSH_KEY" ]; then
        eval `keychain --eval --agents ssh "$SSH_KEY"`
fi

GUIs for Keychain

All this setup is for 1970s Unix tty user interface. A modern system from the 1990s has a GUI. I used to have ssh-askpass wired up in my X session so I’d type my passphrase once per X GUI login, it was great. I’m sure MacOS folks have something similar, maybe using Apple’s own keychain. Windows also has some GUI ssh agents but none of them seem designed for a WSL-centric work mode. I’ll probably just stick to the tty thing unless it gets really annoying with VS.Code, the only Windows GUI program I use that uses ssh.

Passwordless / restricted access

All these instructions assume you have a passphrase you have to type to unlock your key. It’s possible to generate ssh keys without them, very useful for automation. But it’s also dangerous; now all your security is in the privacy of the file only. There’s ways to restrict an ssh key to only be able to run certain commands to make that safer. I’ve done this a couple of times but it makes me nervous.

Yubikey / FIDO

Ultimately ssh-agent is storing an unencrypted version of your login key in memory. Best practices now are to use a secure hardware device of some sort to store that key, particularly a Yubikey plugged in to USB. There’s support in OpenSSH for keeping your key on a Yubikey. Also for generic FIDO authentication, which I think will ultimately let you use the OS own secure enclave for key management. I bet MacOS already has a good system for that and Microsoft is working on it. I’m not using any of that, I’m content with 1970s-era security apparently.

Starlink outages

Starlink has a nice outage report. I got the data off the dish via gRPC and have been logging it. It’s interesting. There sure are a lot of outages. The service description says “99% uptime” which is not a very ambitious goal; 1% downtime is nearly a quarter hour a day. In practice I have several minutes of outages a day, although some may be specific to my site.

That’s about 105 hours of outage data. Total of 11.7 minutes of outages, or about 99.8% uptime.

About 40% are attributed to obstructions; I do legitimately have a minor obstruction. But there’s something like 10 satellites in view of my house at all times now and in theory Starlink is supposed to switch away anticipating an obstruction. Not sure why that doesn’t just give me no obstructions in practice but I think the switching is not as robust as I’d like.

The other 60% are about half “No Pings” and half “No Downlink”: the mobile app calls these “Network Issue” and “No Signal Received”. I have no idea what causes these or how the dish knows that “No Signal” is not “Obstruction”. They all seem to be failures of the medium though.

My main question is whether these obstructions are legitimately obstructions and cutting down a tree would make a difference. A friend has an install with a full clear view and he tells me he still gets obstructions logged but “not often”.

The mobile app (wisely) divides up outages into categories: 0.1s+, 2s+, and 5s+., Even an 0.1s outage is noticeable to a video stream or gaming session but eh, it’s pretty minor. 2s+ is a significant problem. I didn’t measure how many of my outages were 2s+ but you can kind of eyeball it in the graph above.

Below is a screenshot from the mobile app’s outage log. I’ve highlighted two outages: a 15s “network issue” at 9:32am and an 8s “obstructed” at 9:48am. The second one terminated an open TCP session I had, I think the first one might have also. Both are accompanied by at least a little “no signal received”. My take on this is Starlink’s satellites failed entirely twice this morning, at least for several seconds.

ISP connection monitoring with IRTT

I’ve set up some new monitoring for my Starlink residential connection recently, using IRTT as a sort of very fancy ping tool to measure latency and packet loss. Here’s a couple of screenshots

24 hours
1 hour

IRTT is a carefully written round trip measurement tool. I have it set up to send a small UDP packet every 100ms to a server in an LA data center at 45.66.249.240, very near where my Starlink connection goes after the satellite hop. The IRTT server responds immediately with a reply and the software records the round trip time and packet loss. (It also records asymmetric delays and other things that I’m skipping over.) I do these requests for 58 seconds once a minute and record the results for the last minute in the graph above.

The top graph is for a full 24 hours. Packet loss first, then round trip time, and finally a graph of Starlink’s data traffic. From 13:00 to 15:00 I downloaded something big (a game from Playstation). You can also see the evening congestion around 18:00 to 22:00.

The bottom graph (in green) is also packet loss and RTT but for one specific hour, the busiest 19:00 to 20:00 hour. The third IPDV graph is more or less a measure of jitter in RTT.

Interpreting

So what does this all mean?

First I want to highlight a top line number: my average packet loss is 1.5% for the whole day. That’s horrible. My packet loss on a great fiber ISP like Sonic is essentially zero. Even at very quiet times like 5am, Starlink packet loss is still around 0.5%. I realize satellite radio is inherently unreliable but I’d have expected with enough capacity that retransmits in the link layer should paper over most of that. Then again Starlink reports an “obstruction fraction” of 0.6% with obstruction duration of about 800ms every 20 minutes. So maybe this is related to my particular site. At a busy time, like 19:00 to 20:00, I’m at 5% packet loss when some minutes at 10% or more. I can definitely feel those using the Internet, it’s not good.

Another thing to highlight is the jitter in round trip times. At the busy 19:00 hour it’s 44-86ms RTT with 10ms standard deviation. Note these are min/max based on averages over one minute; individual packets can take as long as 400ms to get a reply (or maybe more?) The quiet hour is surprisingly bad too, 33-75ms with 8ms SD. The per-packet variance isn’t as bad as during a busy hour but it’s still notable. (I don’t have great visualizations of this data, I should focus more on it.)

One big pattern is a jump in packet loss and round trip during my download around 13:00. This is expected for a typical Internet node. It’d be nice if some traffic shaping lowered the RTT hit from the download but that’s hard and this basic behavior is is pretty common for an ISP. I’m OK with that.

The second big pattern, and much more problematic, is the increase in packet loss and RTT during the evening hours even though I’m not using my link myself. This is the #1 evidence of Starlink’s congestion and is getting worse over the months by every measure. They are overselling their capacity.

More Work

So that’s some preliminary results. Lots more to do. As I said above, I should do more to characterize the extremes of behavior; the 400ms round trips, the strings of 15 lost packets in a row. Those are more important to user experience than hour-long averages; you notice when the video pauses or the game disconnects you.

IRTT also logs details on every single packet and I should do more with that information. Someone I’m chatting with has some very interesting visualizations showing millisecond-scale phenomena in the connection, including visible changes in latency when the connection hops to a new satellite. Neat stuff!

IRTT is a good tool but not ideally suited for continuous monitoring. It wants to run to completion and then produce a report of summary stats like average RTT. (I run it every minute; for 58 seconds to give the last run time to finish before the next starts.) I’d rather have something running continuously and reporting exponentially weighted moving averages or the like.

I should get more serious about measuring my obstructions; they are certainly the cause of some of the packet loss I see, but not much. The Starlink app shows a log of obstruction events but I haven’t figured out how to get at it in my own code, it must be in the gRPC data somewhere.

A Note on Correctness

Trying to measure this stuff in a consumer setting is difficult. I am not running a lab here. But I do try to get it right. Everything is wired ethernet. My network connection is mostly pretty quiet. I did this testing with three different servers, the data above is from the best one. (A second server in LA showed occasional transient packet loss spikes; I suspect the cheap VM I’m on gets deprived of network or CPU occasionally.)

BTW one nice thing about these tools is they don’t use a lot of bandwidth, like 6 Kbps each way. It’s a much nicer way to measure connection health than speed tests. And the continuous UDP stream seems a better measure of real application experience than ICMP pings.

My Starlink rotated

My Starlink dish moved itself in the past week or two. It was pointing due north, azimuth about 1-2° east of north according to old data. Now it’s visibly pointing a bit west and the software tells me it’s at -19.7°. It’s visible in the cool 3d view of obstructions in the mobile app, too. Elevation is currently 64.0; it used to be 65.

For the past month or two there’s been reports of dishes pointing themselves towards the oceans for coastal users. The speculation is they’re trying to squeeze out more capacity, getting folks who can to use previously unused bandwidth over the oceans. That seems like a good change to me!

The one downside is some folks report how they had a clear view to the north and now the dish is pointing itself straight at a tree. That seems avoidable, the firmware knows where obstructions are. Maybe they haven’t gotten to it yet. In my case the westerly view is actually a little better than due north; I have one tall tree in the north east that was obstructing about 1-2% of the view. Now it’s a little less although I can’t quite prove that out with numeric data. See the tiny smidge of red here; it used to be more.

CO2 and Cognition

Last year I blogged an aside comment about how higher carbon dioxide concentration makes you dumber, based on this 2021 article. It turns out that the story is a little more complicated. See this Hacker News comment for one reference. Or even better, this 2020 overview by the Naval Submarine Medical Research Laboratory: Stressors Present in a Disabled Submarine Scenario: Part 2. Effects of Environmental, Mental, and Physical Stressors on Cognition.

Page 22 has the relevant details on CO2 and cognition. Here’s the gist of it (quote heavily edited)

the relationship between CO2 exposure and cognition is debated ... While some studies have found that elevated CO2 may impair cognitive functions including decision making, attention, mental efficiency, and mathematical processing, these findings are not consistently replicated. In fact, many studies have been unable to establish a relationship between CO2 exposure and cognitive deficits.

There’s more in the article and it is full of citations of 50 years of research; well worth a look if you want detail.

One thing that seems particularly important: is more CO2 by itself a problem? Or is CO2 a proxy for stale air and there’s lower oxygen or some other confounding contaminant like carbon monoxide? I imagine every good study controls for this but it’s hard to know in your own home.

To get a sense of scale, normal atmospheric composition is 200,000 ppm oxygen to 400 ppm carbon dioxide. A little more CO2 isn’t going to actually displace a meaningful amount of the O2 you are breathing.

WinCompose and other ways to type Unicode

I’ve long wanted a good general purpose Unicode input method on Windows. To type so-called “special characters” like ñ or ü or ű. MacOS has a great way of doing this; long-press a key and a popup appears. Both Android and iOS have something similar. Windows doesn’t. I do a lot of cut-and-pasting.

There’s a bunch of Windows solutions that don’t work very well. You can choose an input method that includes more than US English, but that’s intended more for regular typing of one specific character set than the diverse one-offs I need. There’s the ancient numeric keypad method but it requires knowing the Unicode code point number for the character. I’ve tried some Windows programs that emulate the MacOS long press UI but none worked reliably. PowerToys has Quick Accent but the default activation key (space) is too easy to activate by accident.

WinCompose may be the solution I want. It gives you a compose key; you press Right Alt, let go, then type a mnemonic key sequence like ~n to insert ñ. Some of the sequences are pretty arbitrary and there’s a lot of silly macros like TF for “table flip like a boss”: (ノಥ益ಥ)ノ彡┻━┻. But I think I can guess or learn most of the characters I want. One particular thing to remember; a lot of emoji are defined by pressing Compose-Compose and then typing the name of the symbol. Ie Alt-Alt-JOYSTICK to get 🕹️.

One thing missing from the default compose tables is the ʻOkina, the character used in Hawaiian for a glottal stop. Along with ñ it’s an important character for writing US English place names correctly; the state is properly Hawaiʻi, not Hawaii. The character in Unicode is MODIFIER LETTER TURNED COMMA (U+02BB). The question is how to type it.

I’m going with ``, <grave> <grave>, pressing the upper left key that’s also ~ twice. I found that definition on this random site and it seems pretty reasonable.

    <Multi_key> <grave> <grave>                     : "ʻ"    U02BB   # MODIFIER LETTER TURNED COMMA (Okina)

Not sure this is the best choice. <grave> <grave> already has a meaning in WinCompose: “ which is U+201C, Left Double Quotation Mark (also used in kragen’s xcompose configuration). Overriding it causes no problems and anyway there’s other ways to type it: Compose < ” for instance. This X11 man page suggests <grave> <grave> is the beginning of a bunch of Cyrillic characters but those composed diacritics look pretty unusual to me, maybe not essential.. Anyway this is going to work for me.

It’d be nice to have a standard. I filed an issue with kragen’s config opening the question. It seems to be a good place to define some sort of standard.

I should add that the compose key has a long history in Unix computing dating back to the VT220 in 1983. XCompose, the X Windows system for this, is a defacto standard. WinCompose basically implements XCompose and uses the same config file format.