Epiktistes

Epiktistes is my home in the Fediverse. It is an instance of Ktistec, a single-user ActivityPub server like Mastodon, but with fewer users and fewer commits. Here's my introduction (last updated early-2025).

I wrote a series of posts about optimizing the performance of the Ktistec server, its build time, and its executable size: part 1, part 2, part 3, part 4, and part 5.

Some things I regularly write about, organized by hashtag:

I also wrote some #pointfreeverse.

Todd Sundsted
A photo of a small LED chandelier bulb.

I have ten 220V bulbs that came with the Moroccan lamps I bought last year that don’t work at all at 120V in the United States, and I have no idea what to do with them. I hate the idea of throwing them in the trash but no one will take these as donations!

Todd Sundsted
Todd Sundsted
#Horror | Photos of some very Lovecraftian hyper-realistic sculpture.
In front, a fish-faced creature with bulging orange eyes and rows of needle-like teeth, wearing a hooded green raincoat over a torn khaki shirt and jeans, reaches out with a clawed hand. Behind it, a pale man with closed eyes, in a black knit cap and a blood-spattered yellow rain slicker, is lashed to a post. In the background, a figure in bloody yellow overalls bends over a table.
A gaunt, gray-skinned fish-man with bulging eyes, wearing a black knit cap, a torn blue button-up shirt, and green pants, reaches out with long clawed fingers. At his feet crouches a pale, hairless creature with bulging eyes, small sharp teeth, and spindly limbs.

The street sign on the post (cropped out) says "Innsmouth" which is about right. These were made by the father and son sculpture and special effects artists Darren Perks and Tanner Perks, and were on display at Spooky Empire in Orlando a few weeks ago.

I still can't unsee them.

#SpookyEmpire #horror

Todd SundstedWeek in Fediverse :fediverse_light:
Todd Sundsted

i never got around to turning on HTTP/2

i guess that's a good thing

Todd Sundsted

listening to "Dave Rowlands, Bagpipes"

i bought it a few bandcamp fridays ago, and have been enjoying it since

#bagpipes

Todd Sundsted
Release v3.16.0 of Ktistec

The latest release ("walk the walk") of Ktistec completes the RFC 9421 work—the server now retries an outbound request with an RFC 9421 signature when its draft-cavage signature is rejected—and adds support for using private labels as feed criteria and replacing the default timeline with any published algorithmic feed.

I annotate posts with private labels to mark content I want to see (or don't want to see) and—now that I can use them as custom feed criteria—to group posts into topical reading lists, presented as feeds.

Being able to replace the default timeline with a custom feed is the closing chapter of a long-running desire of mine to separate the kind of posts I want to read (what people do) from the "hot takes" (what people say) that are part and parcel of social media 😀.

Here's the full changelog:

Added

  • Let a user choose a published feed as its timeline feed.
  • Retry rejected outbound requests with an RFC 9421 signature.
  • Add a link to Feeds in the top nav when on the deck.
  • Accept private labels as feed criteria.

Fixed

  • Restore the deck's scroll positions.
  • Map public keys from actor documents that omit the security context.
  • Decrement cached tag counts when a tag is destroyed.
  • Prefer alt text over figcaption in the image viewer's caption.

Changed

  • Put new feeds at the front of the deck.

I've shipped a lot of new features lately. The next few releases will focus on polishing them.

#ktistec #crystallang #activitypub #fediverse

Todd Sundsted
A test page showing the two cases: the original with icons fixed in place even when their labels shifted right; and the fix with both icons and labels shifted right.
Figure: The Test Page

Fixing this bug lost me some hair...

I have been living with a Ktistec rendering bug that shifts only the label in an icon/label pair when the page is morphed in response to a user gesture (e.g. liking a post), and then only in Safari on iOS.

Fixing it required setting both opacity: 1 and backface-visibility: visible. Apparently, the previous values caused the icon to be put into its own layer and Safari iOS doesn't repaint that layer when an in-place text change (a morph) shifts the icon.

#ktistec #safari #ios #bugsbugsbugs

Todd Sundsted
Algorithmic Feeds: The Data Exchange
The previous two posts (here and here) in this series on algorithmic feeds introduced the built-in criteria judge and external custom judges. A custom judge is a script run by the Ktistec server that…

The previous two posts (here and here) in this series on algorithmic feeds introduced the built-in criteria judge and external custom judges.

A custom judge is a script run by the Ktistec server that decides whether a post is included in the feed or excluded from the feed based on data about the posts that the server provides in a temporary SQLite database.

There is a lot of data to work with (the owner is you, the feed's creator):

  • feed
    One row describing the feed being judged.
    • name : The feed's name.
    • description : The feed's description.
    • params : The feed's parameters.
  • stats
    One row. Posts per day over the last 90 days, across the authors the owner follows (confirmed only, not deleted or blocked). Authors who posted nothing in that window are left out.
    • posting_rate_q1 : First quartile.
    • posting_rate_median : The median.
    • posting_rate_q3 : Third quartile.
  • authors
    One row per author of any post in posts or referenced. 
    • iri : The author's IRI.
    • type : The actor type.
    • handle : The author's handle.
    • followers : The IRI of the author's followers collection.
    • deleted : Whether the author is deleted.
    • blocked : Whether the author is blocked.
    • followed : Whether the owner follows the author (a confirmed follow).
    • rate_7, rate_30, rate_90 : The author's posts per day over the last 7, 30, and 90 days, counting only posts the server has cached that aren't deleted or blocked.
  • posts/referenced
    posts holds the posts to judge. referenced holds the posts replied to or quoted, one level deep. Both tables have the same columns.
    • iri : The post's IRI.
    • type : The object type.
    • name : The post's name (title).
    • summary : The post's summary (content warning).
    • content : The post's content as HTML (Markdown is converted).
    • language : The post's language.
    • sensitive : Whether the post is marked sensitive.
    • published : When the post was published.
    • to, cc, audience : The addressing, as arrays of IRIs.
    • attachments : An array of {url, media_type, caption}.
    • in_reply_to : The IRI of the post this one replies to.
    • quote : The IRI of the post this one quotes.
    • thread : The IRI of the thread's root.
    • hashtags, mentions : Arrays of {name, href}.
    • labels : An array of the owner's private labels on the post.
    • author : The author's IRI.
    • deleted : Whether the post is deleted.
    • blocked : Whether the post is blocked.
    • timeline : "create" or "announce" if the post is in the owner's timeline, otherwise NULL.
    • poll : {options, multiple_choice, closed_at}, but only when type is "Question".

This data is used in the example judges shipped with Ktistec.

The polls judge builds a feed consisting of polls. It includes only posts whose type is "Question". It would be very easy to extend this judge to filter on single-choice vs. multi-choice or on polls about specific topics.

The quiet_posters judge is a little more complex. The server provides statistics on all of the actors you follow, as well as the author's posts per day over the last 7, 30, and 90 days. A post is included only if you follow its author and that author's 90-day posting rate is at or below the median, so the quieter half of your follows aren't drowned out by the noisier ones.

As you might imagine, there's a lot of value in judges built around statistics, social signals, and interactions. This is the area where I'm now putting most of my effort.

#ktistec #AlgorithmicFeed #ActivityPub #fediverse

Todd Sundsted

crystal language version 1.22.3 has been released. it looks like there are a decent number of security-related fixes. great work getting those fixed and this released!

#crystallang