#dev 2023-03-05
2023-03-05 UTC
[snarfed] joined the channel
#
prologic its a good idea actually
#
prologic any advice on how I'm going to translate replies to/from Yarn/AP and have interop for threading?
#
prologic Yarn uses content-addressing (Twt Hash), AP uses inReplyTo (urls)
#
prologic isn't it already suffering from that?
#
prologic Umm in testing with Mastodon instnaces I've found that mentions won't work properly
#
prologic Where in any docs or specs that it require the actual content of a note to use micro formats for proper mentions?
#
[snarfed] As usual for Mastodon interop, first look in https://docs.joinmastodon.org/spec/activitypub/
#
prologic Does this mean every AP author follows the Mastodon spec for mentions
#
prologic or the AP spec?
#
prologic This is confusing :)
#
prologic I thought it would be enough to have @user@domain in the content and tag: ojects as per the AP spec
#
prologic but no :(
#
prologic problem with not doing this properly is people complain :)
#
prologic LOL
#
prologic Ahh but they are see
#
prologic Because that side of things works by looking at the tag objects
#
prologic not the f'n content :(
#
prologic We had to go and make (not we, Mastodon? :D) content HTML then shove in Micro Formats for god measure 🤦♂️
gerben joined the channel
#
prologic well micro formats are used in the content that's for sure
#
prologic by both GTS instances and Mastodon
#
prologic You're right, they have no bearing on how the notification gets into your "notifications tab"
#
prologic But they do affect the behaviour (UX) of clients when clicking on said links or how they're rendered :(
#
prologic not sure how you spell it :)
#
prologic probably the later?
#
Loqi microsyntax refers to short text conventions for conveying specific semantic meaning, such as an "@" prefix indicating a (user)name, or "#" prefix indicating a hashtag (both conventions popularized by Twitter) https://indieweb.org/microsyntax

#
prologic No, I mean Microformats
#
prologic like: "content": "<p><p>Hey <span><a href=\"https://gts.mills.io/users/prologic\" target=\"_blank\" rel=\"nofollow noopener\">@<span>prologic</span></a></span> 👋</p>\n</p>",
#
prologic Is that Microformats?
[schmarty] joined the channel
#
prologic Yup
#
prologic This is what I'm seeing everywhere and what most clients and Ap implementations are doing
#
prologic but it is to its UI
#
prologic man dealing with things that could be a single value or an array of values is a reall pain :(
#
prologic I wish it was just more strict :)
#
prologic I think I have a pretty good way (in code) to deal with this now: https://git.mills.io/yarnsocial/yarn/commit/e983fecda9a672ecce44cf3663cc1b894ed06428
#
prologic yeaht its okay I mean it just makes more work for me :)
#
prologic cost of strictness, harder to adopt by developers
#
prologic cost of flexibility, harder to develop against
#
prologic :D
#
prologic trade-offs huh :)
#
prologic Alrighty, that took me all day, but mentions are now working very nicely (finally)
#
prologic I really don't know how I'm going to do threading interop though :)
#
prologic yup
#
prologic both ways too, which is gonna be tricky
#
prologic one side (Yarn) uses content addressing (hashes)
#
prologic the other side (AP/Mastodon/etc) uses URIs
gxt__ joined the channel
#
prologic So how do you get AP actors to form long chains of threads?
#
prologic is there another attribute besides inReplyTo ?
#
prologic turns out adding threading isn't so hard
#
prologic there's only one more case left I think
#
prologic which is to figure out a way to tract actor notes and hash them so we can do a translation in that direction
#
prologic https://twtxt.net/conv/rjdelaq
#
prologic I can't quite work out what Mastodon is doing here ;)
#
prologic Yarn supports Relying and Forking, I _think_ Mastodon only supports the later?
#
prologic Not sure :)
bterry joined the channel
#
prologic it would appear that Mastodon and Activity Pub in general only knows how to do one kind of thread
#
prologic which we (Yarn.social) called forking
geoffo joined the channel
#
IWDiscordRelay <capjamesg#4492> I'm working on a hosted Trackback Endpoint: https://github.com/capjamesg/trackback-server
#
[KevinMarks] Replying is threaded, forking is going back to the root? Like a quote tweet as fork?

mro and geoffo joined the channel
#
[KevinMarks] Mastodon gaining more html https://github.com/mastodon/mastodon/pull/23913

[manton] joined the channel
#
[KevinMarks] I can nitpick <del> rather than <s> (as <del> belongs with <ins>) but a good sign. Maybe we can lobby for <sub> and <sup> too

gerben, mro, geoffo and [tw2113_Slack_] joined the channel
#
Loqi sanitize, specifically "sanitizing HTML", "sanitizing for (display inside) HTML", or "sanitization" is a common operation performed by any site which displays content from external sources, including user entry https://indieweb.org/sanitize

#
IWDiscordRelay <capjamesg#4492> What is sanitise?
#
IWDiscordRelay <capjamesg#4492> https://indieweb.org/sanitise
[capjamesg] joined the channel
#
[capjamesg] What is sanitise?

#
[capjamesg] Loqi?

#
Loqi It looks like we don't have a page for "sanitise" yet. Would you like to create it? (Or just say "sanitise is ____", a sentence describing the term)

#
[capjamesg] what is sanitise

#
Loqi It looks like we don't have a page for "sanitise" yet. Would you like to create it? (Or just say "sanitise is ____", a sentence describing the term)

#
[capjamesg] sanitise is /sanitize

#
[capjamesg] Why thank you!

#
[tantek] Markdown << Criticism: https://github.com/mastodon/mastodon/pull/23913#issuecomment-1455180785

#
Loqi ok, I added "Criticism: https://github.com/mastodon/mastodon/pull/23913#issuecomment-1455180785" to the "See Also" section of /markdown https://indieweb.org/wiki/index.php?diff=86882&oldid=82958

#
[tantek] This (currently) last comment on that PR makes a good point: https://github.com/mastodon/mastodon/pull/23913#issuecomment-1455180785

#
IWDiscordRelay <capjamesg#4492> aaronpk Loqi was a bit slow for me.
#
IWDiscordRelay <capjamesg#4492> hands Loqi a cookie
#
IWDiscordRelay <capjamesg#4492> What do blue dinosaurs eat?
mro and jonnybarnes joined the channel
#
IWDiscordRelay <capjamesg#4492> Eek.
[kimberlyhirsh], [snarfed], jonnybarnes, sp1ff, wagle, klez_, Kaja, saptaks, sivoais, oxtyped, [snarfed]1, mro, gxt__, sugoi, geoffo, IWSlackGateway, [KevinMarks] and [capjamesg] joined the channel