It works!!!!!!!! An API Endpoint to post statuses directly into lists so people can make their own #DIYAlgorithms . Now some cleanup and a bit of UX stuff but i can't believe i actually wrote code in #Ruby i am proud of myself. :)
#MastoDev
Conversation
Notices
-
Embed this notice
jonny (jonny@social.coop)'s status on Tuesday, 20-Dec-2022 21:27:53 JST jonny -
Embed this notice
Evan Prodromou (evan@prodromou.pub)'s status on Tuesday, 20-Dec-2022 21:27:50 JST Evan Prodromou @jonny so, posting to a list treats everyone on that list as if they're addressed?
-
Embed this notice
Evan Prodromou (evan@prodromou.pub)'s status on Tuesday, 20-Dec-2022 21:29:49 JST Evan Prodromou @jonny so you can share things with your close family list only, or your work list, or whatever? Like circles or aspects?
-
Embed this notice
Evan Prodromou (evan@prodromou.pub)'s status on Tuesday, 20-Dec-2022 21:55:31 JST Evan Prodromou @jonny lists are groups of people, though. Not streams.
-
Embed this notice
jonny (jonny@social.coop)'s status on Tuesday, 20-Dec-2022 21:55:33 JST jonny @evan that's actually another thing I have been thinking about w.r.t. ways to hack on lists :) in this case I'm referring to HTTP POSTs not posts like toots. So the idea is you have some script you are running on your own that is streaming a timeline and computing some sorting algorithm on top of it, and then it POSTs an array of status IDs to a list, rather than autopopulating from accounts on a list. hence DIY Algorithms :)
-
Embed this notice
Evan Prodromou (evan@prodromou.pub)'s status on Tuesday, 20-Dec-2022 21:56:29 JST Evan Prodromou @jonny yes, posting to a collection is the right way to do it.
-
Embed this notice
jonny (jonny@social.coop)'s status on Tuesday, 20-Dec-2022 21:56:30 JST jonny @evan I did a quick mod of the status compose interface the other day and saw how it works, and between that and this I think it would be pretty trivial to make a drop-down menu under post visibility that selects a list, and then uses either an ActivityStreams Collection of accounts in the To field, or abuses the "direct message" functionality and autopopulates the message with @'s. need higher char limits by default tho
-
Embed this notice
Evan Prodromou (evan@prodromou.pub)'s status on Tuesday, 20-Dec-2022 21:57:01 JST Evan Prodromou @jonny I like the idea but wish it was distinct from lists.
-
Embed this notice
jonny (jonny@social.coop)'s status on Tuesday, 20-Dec-2022 21:57:02 JST jonny @evan the next step of the DIY algo part is to make a toolkit of algorithmic primitives so it's v easy to adjust various sliders and combine different derived metrics together. no ML black boxes, but the first things I want to try and do for myself are fixing timezone/sleep cycle mismatches as well as correcting post frequency mismatches yno
-
Embed this notice
Evan Prodromou (evan@prodromou.pub)'s status on Tuesday, 20-Dec-2022 22:12:17 JST Evan Prodromou @jonny could you use another API endpoint for user-curated streams?
-
Embed this notice
jonny (jonny@social.coop)'s status on Tuesday, 20-Dec-2022 22:12:18 JST jonny @evan currently they are groups of people! but under the hood there is very little difference: I added a "list mode" parameter that explicitly switches between "account" and "status" mode so it's clearer which kind of list is which.
-
Embed this notice