This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will delete this post on this instance and on all federated instances, and it cannot be undone. Are you certain you want to delete this post?
This action will block this actor and hide all of their past and future posts. Are you certain you want to block this actor?
This action will block this object. Are you certain you want to block this object?
Are you sure you want to delete the OAuth client [Client Name]? This action cannot be undone and will revoke all access tokens for this client.
Are you sure you want to revoke the OAuth token [Token ID]? This action cannot be undone and will immediately revoke access for this token.
| Introduction | https://epiktistes.com/introduction |
|---|---|
| GitHub | https://github.com/toddsundsted/ktistec |
| Pronouns | he/him |
| ๐ | Sector 001 |

i'm "pretty sure" i have litestream backing up my epiktistes sqlite database, but getting it running was surprisingly fiddly...

I have Markdown editing working in Ktistec!
Which post was written in Markdown?

Voilร !

This is an often requested feature. It also makes Ktistec usable in browsers when JavaScript is disabled. The Markdown editor supports autocomplete and autosave, just like the rich text editor. Expect this to show up in the next release.

The big feature in release v3.2.4 of Ktistec is support for viewing and voting on Mastodon polls (AKA FEP-9967: Polls). This feature took a surprising amount of work. Some of the effort was due to my struggles with visual design, but getting the behavior right was also tricky. For example, a "vote" is just an ActivityPub Note, but unlike other notes, it shouldn't appear in a poll's replies (it could, but that would be redundant and confusing). So I had to add exceptions throughout the code to deal with this. A custom Vote object type would have been nice in the original implementation.
Added
Fixed
title attributes are now preserved.Changed
Thank you @jayvii for the build fix!

โTwas a beautiful day for a ren faireโฆ

I don't love the food, but I do enjoy the peopleโฆ and the merchandise. There are a few makers who really pour heart and soul into making and selling something interesting and unique. And musicians who find an audience for niche songs about dragons, or being lost at sea. And where else are you going to encounter a hurdy gurdy?

And the weatherโit was 75ยฐF in December.

After thrashing through several attempts to add a smooth transition to the poll partial after the user votes, I realized that the best solution was hiding in plain sight. Turbo already sets the busy attribute on a turbo-frame element while the request is in progress, and adds a complete attribute when the request is complete. The only thing required was the styling!


Just cooked up a quick Mastodon theme for #ktistec :)ย https://src.jayvii.de/pub/ktistec-tweaks/file/css/mastodon.css.html

Polls are rendering!

I'm working to get all of the little visual elements available across the Fediverse to render in a usable way on Ktistec. When released, users will also be able to vote on polls.

Release v3.2.3 of Ktistec includes two big features:
The full changelog:
Added
Person, Group, etc.) overlay badges on actor panels.Fixed
Undo includes the undone activity.Like and Dislike does not.Changed
The next release will include support for Mastodon polls (FEP-9967).


Since all my websites and web-tools use the phenomenal #SimpleCSS framework, I thought it would also make sense to create a theme for #ktistec using those exact colours. Of course, this is also available from my ktistec-tweaks, next to the old purpleish-theme, which I had before.
Also new is the separation of the card-style post theming, which is also shown in the screenshot below, in its own CSS file.


A while back, I posted about creating a Forth-inspired programming language that uses emoji as words (functions) and said that I would post the source code. I keep my wordโthis weekend I cleaned up the code and published it.
I've built a tool that transpiles emoji source code into either Crystal or Python, and then builds and runs the transpiled source.
Here's the solution to Project Euler Problem 1, with comments so that you can more easily follow the flow:
๐ญ Project Euler Problem 1:
๐ญ Find the sum of all the multiples of 3 or 5 below 1000 => 233168
๐ญ Define a word to check if a number is divisible by 3 or 5
๐โ ๐ญ Stack: ( n -- bool )
๐ ๐ญ Duplicate n for two tests
๐ข3 ๐ ๐ข0 ๐ฐ ๐ญ (n%3==0)
๐
๐ข5 ๐ ๐ข0 ๐ฐ ๐ญ (n%5==0)
โก ๐ญ (n%3==0 OR n%5==0)
๐
๐ญ Declare variables
๐ฆ ๐ฏ ๐ญ sum variable
๐ฆ ๐งฎ ๐ญ counter variable
๐ญ Initialize variables
๐ข0 ๐พ ๐ฏ ๐ญ sum = 0
๐ข1 ๐พ ๐งฎ ๐ญ counter = 1
๐ญ Loop from 1 to 999 (inclusive)
๐
๐ญ Get counter and check if divisible by 3 or 5
๐ค ๐งฎ ๐ญ counter
๐ โ ๐ญ counter bool
๐
๐ญ If divisible, add counter to sum
๐ค ๐ฏ โ ๐พ ๐ฏ ๐ญ sum = sum + counter
๐
๐ญ Increment counter
๐ค ๐งฎ ๐ข1 โ ๐พ ๐งฎ ๐ญ counter = counter + 1
๐ญ Test exit condition: counter > 999
๐ค ๐งฎ ๐ข999 โฌ๏ธ
๐
๐ญ Print the result
๐ค ๐ฏ ๐Forth is fun because it is so easy to create a simple implementation of the language. It's also very very terse, which makes the emoji-nature of a project like this shine through. Here's the program above with emoji digits, fewer alphanumerics, and less whitespace:
๐ญ Project Euler Problem 1 ๐โ ๐ 3๏ธโฃ๐0๏ธโฃ๐ฐ๐5๏ธโฃ๐0๏ธโฃ๐ฐโก ๐ ๐ฆ๐ฏ ๐ฆ๐งฎ 0๏ธโฃ ๐พ๐ฏ 1๏ธโฃ ๐พ๐งฎ ๐ ๐ค๐งฎ๐ โ๐๐ค๐ฏโ๐พ๐ฏ๐ ๐ค๐งฎ1๏ธโฃโ๐พ๐งฎ ๐ค๐งฎ๐ข999โฌ๏ธ ๐ ๐ค๐ฏ ๐
The project README has more detail on the language features if you're interested.