Todd Sundsted
Todd Sundsted
toddsundsted@epiktistes.com
Better dead than bored.
Introductionepiktistes.com/introduction
GitHubgithub.com/toddsundsted/ktistec
Pronounshe/him
馃寧Sector 001
Todd SundstedWill Richardson

Building Dependency Injection with Crystal Macros

Appreciate my absolutely cursed macros that call other macros that trigger generic specialisation to introspect on method names all just to create objects

willhbr.net/2026/01/31/crystal

Todd Sundsted

today i learned that you can run commands in a docker container from the command line. i guess this is pretty obvious, but somehow i missed it.

docker run --rm alpine:edge sh -c "apk update && apk search crystal"

#TIL

Todd Sundsted
Todd Sundsted
Release v3.2.8 of Ktistec

I didn't think I'd ever pull it off 馃榾, but the new editor framework is complete and with it support for creating polls. One nice extra鈥攜ou can now choose which content editor to use (rich text or Markdown) on a per-post basis without updating your settings.

The full set of changes in this release:

Added

  • Front-end support for creating polls.
  • Editor selection support for content, polls, and optional metadata (name, summary, etc.).
  • Poll expiry notifications for poll authors.

Fixed

  • Poll closed_at handling for drafts and remote polls.

I'll try not to be quite as ambitious for the next release! 馃槄

#ktistec #crystallang #activitypub #fediverse

Todd Sundsted

A couple of summaries of recent polls:

Is building for browsers without JavaScript enabled an antiquated idea?

87% No / 13% Yes

I interpret this to mean 1) progressive enhancement still matters, 2) accessibility and resilience are important (maybe even at the expense of pure convenience).

Which distinctive Fediverse capability would you most like to see added (to Ktistec) next?

Emoji reactions and Quote-posts tied at 37% each

For what it's worth, I'm actively looking into emoji reactions. These seem to be most popular in servers other than Mastodon, and I'd like to encourage more diversity.

I very much appreciate everyone's participation! Please reply if I'm missing nuance.

#ktistec

Todd Sundsted
Todd Sundsted
Ktistec Theming Hooks

I'm using Ktistec theming hooks to make it easier to spot posts from actors I enjoy reading, to identify posts that are part of conversations I'm in, to identify posts about topics I'm interested in, and to simply expose more information visually.

The hashtags I follow don't require much emphasis, but I want them to stand out a little, so I theme these posts with a bold left border.

Image of a post with a bold left border and the #3dprinting hashtag.

It's helpful when I can spot posts that are parts of conversations I'm in, so my theme styles my replies, and others' replies to me. In the latter case, it also differentiates between cases where I'm one of the actors mentioned vs. cases where I'm the only actor mentioned.

Image of a brief conversation showing background colors that highlight each role.

There are a handful of people I follow who regularly post about topics I love. I've created custom backgrounds for posts from these authors.

Two posts showing themed background images: cobwebs in the first, equations in the second.

(This is also my #FollowFriday post. 馃榾 If you're not into my theming, but want to see amazing photos of abandoned places around the world and sometimes sleeping seals, follow @ObsidianUrbex. If you love physics, math, music, and related topics, or want to love physics, math, music, and related topics, follow @johncarlosbaez.)

All of this is powered by extensive post metadata that was recently added and is surfaced in classes and data attributes. You can, for example, customize a theme based on actor or object type, object status (sensitive, has replies, etc.), visibility, relationship state (followed by me, mentions me, etc.), the creator/sharer handle, etc. Details are in the theming documentation.

#ktistec

Todd Sundsted

Is building for browsers without JavaScript enabled an antiquated idea?

2
13
Todd Sundsted

I don't love the changes to Lucky in D&D 2024. It probably makes sense from a balance point of view or something, but it also feels like characters with the Lucky feat aren't really "lucky" anymore because there are so many ways to have advantage and Lucky is now just one of them.聽

#dnd #dnd2024

Todd Sundsted

馃弳 Yak-shave accomplished!

I tore apart the monolithic editor in #ktistec and replaced it with a configurable framework of editor components鈥攊ncluding a component for editing polls.

The Ktistec editor showing buttons for enabling and disabling editor components, including the rich text editor, the Markdown editor, optional fields (such as title, summary, etc.), and polls.

I'm planning to work on an editor component for managing attachments next.