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

Today's release of code fixes things that have been annoying me for a while: 

  • Commits c01e797 to b21a97a ensure that bulk assignment raises an error when the type of an argument value does not match that of the corresponding property being assigned to. In the past, attempts were silently ignored. As you'd expect, adding the check and raising the error was easy—cleaning up all the places I'd carelessly passed in nil and other garbage was not. Lesson learned? We'll see...
  • While I'm in there, commits 1ac498e to 3d45ece ensure that bulk assignment raises an error when attempting to assign a property defined only by a getter (which is, effectively, a read-only property). Previously, this code wouldn't even compile, thereby unintentionally coupling database persistence and bulk assignability.
  • Finally, commits 5c2ec70 to 99dca65 clean up a few small defects in presentation: wide blocks of code no longer blow out the width of the parent container, image attachments present at ratios closer to what Mastodon uses (the presumption being that's what people optimize for if they optimize for anything) (this should also fix issue #53), and figure captions get a little breathing room. I'm no good at CSS, so this kind of thing takes me forever.

#ktistec

Todd Sundsted
attachment showing profile metadata from both a mastodon site and a ktistec site

i built @relistan 's branch this morning and tried out ktistec support for mastodon profile metadata. the attachment shows profile metadata pulled from the ruby.social mastodon instance, as well as @relistan 's own personal ktistec instance. this is something i've wanted for a long time!

a shoutout is due both these two (the owners of the two profiles shown in the attachment): @alexanderadam has been posting encouragement about ktistec all year long, and maybe before—an intangible that's immensely valuable when you're banging away on open source software—and @relistan is the first person besides me to contribute major feature functionality to the project—which takes a huge leap of faith.

thanks!

#ktistec

Todd Sundsted

elon needs to learn that freedom of speech isn't measured in decibels.

Todd SundstedKarl Matthias

Links as attachments are now mostly working when pulled in from #Ktistec from #Mastodon. Plenty more to do on the PR, but initial testing looks good. Links not in the correct format don't show up as links in Mastodon, so I will work on fixing that.

Screen Shot 2022-11-28 at 1.57.13 PM.png 746.2 KB
Todd Sundsted

i’m setting up an old mac laptop (2019) for dev work… docker or podman?

Todd Sundsted

in nyc, hoping to score a raspberry pi zero 2 w

Todd Sundsted

i added some in-process data collection to ktistec in order to better understand how it uses memory.

attachment 1: chart of total requested, heap, and free

the chart shows the accumulated total requested memory (blue) over time. as expected, it grows monotonically and almost linearly. in theory, i guess, if i posted something engaging, you'd see the effect of the engagement  (likes, shares, follows, etc. etc. etc.) on memory usage. in any case, the heap (red) remains flat.

attachment 2: table of total requested, heap, and free

i think it would be great to have this chart on the metrics page. when time permits, i'll add it. in the meantime, if you're running a (very) recent build, you're collecting data.

#ktistec

Todd Sundsted

sometimes positive sounding things—like effective altruism—become justification instead of motivation.

Todd Sundsted

tonight's the debut of toby spark, gnome artificer. it's my third campaign with the same group of people—all old coworkers, and some family. we play over hangouts—it's amazing how normal that feels now. ("sit around a table with paper and pencils! oh, how quaint!")

stable diffusion generated profile picture of toby spark

toby says, "...the secret to controlling magic is gears and pulleys...!"

#dnd5e

Todd Sundsted

for a bit of levity... links to some of my #pointfreeverse