#dev 2022-07-12

2022-07-12 UTC
[Jacob_Hall] and walkah joined the channel
#
sp1ff
Are u-in-reply-to, u-like-of and u-repost of mutually exclusive? Or can I like, repost and reply to a post all at the same time?
wiki[m] and nathan[m] joined the channel
#
GWG
sp1ff: You can, but it is a bit confusing
#
sp1ff
heh. How so?
#
GWG
Well, think of it in a sentence. You are reposting the entire post, then you are liking it, and replying to it....that makes a post very busy
#
GWG
Doesn't mean wrong.
#
GWG
Also, speaking on a code level, some code will have a hard time figuring out intent.
#
GWG
But that's my personal interpretation.
#
sp1ff
Agree.
#
sp1ff
But would it break any existing code?
#
sp1ff
I have a statically generated site using Emacs Org Mode HTML export, and I'm putting it on the Indieweb. Trying to figure out the rules.
#
gRegor
I would be surprised if consumers caught all three of those
#
gRegor
what is ptd
#
Loqi
Post Type Discovery specifies an algorithm for consuming code to determine the type of a post by its content properties and their values rather than an explicit “post type” property, thus better matched to modern post creation UIs that allow combining text, media, etc in a variety of ways without burdening users with any notion of what kind of post they are creating https://indieweb.org/PTD
#
gRegor
See the algorithm on that page ^
#
gRegor
I think most consumers would see it as only a reply
#
gRegor
But it wouldn't cause any issue with the mf2 parser. All three properties would be preserved there.
#
sp1ff
Ah... yes, I see it. Thanks
#
GWG
Yes, that's what I was referring to. But parsers wouldn't have an issue.
#
gRegor
what is mf2
#
Loqi
microformats2 is the latest stable and interoperable version of microformats https://indieweb.org/mf2
#
gRegor
Those are the u-in-reply-to, u-like-of classes (etc.)
#
sp1ff
Thanks all (including Loqi)!
#
Loqi
you're welcome
#
gRegor
Good bot :)
geoffo, [tw2113_Slack_]1, [tantek]1, [Jacob_Hall]1, [snarfed]1, ^ilhalmer, BinarySavior_, strugee_, oodani, juno, wagle, superkuh, cityjohn1, tetov-irc and jacky joined the channel
superkuh, jacky and AramZS joined the channel
#
jacky
anyone else use htmx on their sites? https://htmx.org/docs/#introduction
#
jacky
I find it very interesting to use esp with microformats mainly b/c it really digs into the HATEOS ideals (i.e.: using HTML as your API)
walkah joined the channel
#
[aciccarello]
After doing work with different JS frameworks, I'm suspicious of tools that make you learn DSL layers on top of HTML.
#
[aciccarello]
I think I prefer JS apis to be in JS.
#
jacky
this plays with the idea of removing JS apis altogether
#
jacky
or like making one _specific_ to JS
#
[tantek]1
who needs JS apis when you have conneg? 🤡
#
[snarfed]1
conneg-- gotta wake up earlier in the morning to sneak that by me
#
Loqi
conneg has -7 karma in this channel over the last year (-9 in all channels)
#
jacky
lmfao
geoffo joined the channel
#
[tantek]1
snarfed lol 💀
#
[tantek]1
jacky, I expect /metaformats will be more helpful with /linkpreview than with /ptd though maybe I'm missing something?
#
[tantek]1
re: #microformats
#
jacky
I figured it could do _some_ parts because of it's ability to pull out things like `photo`, `video` and `audio`
#
[tantek]1
hmm, could be interesting to see how many posts that would help? what's the consuming use-case in particular?
#
sknebel
what is metaformats?
#
Loqi
metaformats started as an April Fools joke concept to describe how to both publish using microformats class names and openly parse meta tags as a fallback for what should be in-the-body visible data, including backcompat with OGP, Twitter Cards, and meta author, description, and anything else real sites (like search engines) appear to consume https://indieweb.org/metaformats
#
jacky
I'm thinking about people who might not publish mf2 but appear in one's reader, a reader that could use it as an extension to mf2 could more apprioriately show their content in-stream
#
jacky
of course, this is def speculation but I was curious if it was a _novel_ one lol
jacky and mro joined the channel
#
[tantek]1
jacky, I think the key point here is that /ptd was designed for legacy systems that have an existing post type dependency. New systems, software, services shouldn't because they ought to be designed to adapt layouts, presentation etc. based on the properties present, not based on some abstract typology of posts
#
[tantek]1
instead of going properties -> abstract post types -> presentation
#
[tantek]1
they should be skipping the middle part
#
[tantek]1
properties -> presentation
#
[tantek]1
there's enough existing implementations (e.g. FB) that make it clear that not only do implementations not need that abstract explicit post types intermediate step, but that doing so causes a bad backpressure on the UX, forcing users to have to think about post types
#
[tantek]1
(e.g. what Tumblr is now stuck with)
mro and [schmarty] joined the channel
#
[schmarty]
has++ is--
#
Loqi
has has 1 karma over the last year
#
Loqi
is has -1 karma over the last year
#
[schmarty]
gives loqi a thanks for the lax stopword list
#
Loqi
loves the thanks for the lax stopword list
mro, jacky, sp1ff, angelo, [fluffy], j12t_, tetov-irc2, walkah_, [snarfed]1, AramZS, wagle, [Jacob_Hall]1, [manton], [benatwork], juno, IWDiscordGateway, jjuran and tetov-irc joined the channel