#dev 2023-05-15

2023-05-15 UTC
Soni, geoffo, eitilt, gxt__, pharonix71, [tantek] and jeremy joined the channel
#
[tantek]
Nevermind followship recommendation, I want a fellowship recommendation that suggests a small group you should follow if you need to accomplish a very difficult task.
#
capjamesg
Can you elaborate [tantek]?
petermolnar left the channel
#
[KevinMarks]
It's a Lord of the Rings reference
petermolnar, holiday_1, [snarfed] and geoffo joined the channel
#
[KevinMarks]
[capjamesg] OK, big-ass PR. moving the templates to nunjucks made them quite a lot smaller; they should be easier to iterate on now.
#
[tantek]
What is nunjucks
#
Loqi
nunjucks is a templating language for JavaScript https://indieweb.org/nunjucks
#
[KevinMarks]
the posts not having useful URLs in is annoying. You pass in a pot url like "https://staging.bsky.app/profile/kevinmarks.com/post/3jvmeekwoll2b" and get one out like 'at://did:plc:kn4dz4f67maytvsbcnbry36k/app.bsky.feed.post/3jvmeekwoll2b'
#
Loqi
[preview] [Kevin Marks] So, 14 years ago, when twitter was so new that it had just introduced retweets, a bunch of us talked about how to think about social on the web at Web2 expo NYC. This was me on vocabularies https://youtu.be/qYsMtroVLeA
#
[KevinMarks]
I suppose I need a macro for that to recompose them
#
[KevinMarks]
hm, expanding youtube could be good for this too
#
[tantek]
petermolnar, the skepticism about Bkuesky is fair, and apt. Until multiple servers are up & running and things "just work" across servers, you're right it's more like XMPP
mretka and Loqi__ joined the channel
#
petermolnar
no, xmpp is actually up, running, federated, and working
#
petermolnar
I was referring to the weight of protocols on matrix vs xmpp
#
[tantek]
Ohhhh ok. Makes sense. I thought you were talking about XMPP being setup on a few large servers that then turned it off later so it because useless.
#
[tantek]
Became* useless
[Murray] joined the channel
#
[snarfed]
[KevinMarks] agreed on the at:// vs https:// URLs annoyance. fortunately converting at => https is trivial since http://staging.bsky.app URLS support dids, eg https://staging.bsky.app/profile/did:plc:kn4dz4f67maytvsbcnbry36k/post/3jvmeekwoll2b for the one you posted
#
[KevinMarks]
Interesting. I reverse engineered it from the post data already though
#
[KevinMarks]
`{% macro post_url(p) -%}`
#
[KevinMarks]
`{%- endmacro %}`
#
[snarfed]
oh yeah definitely use handle if you have it available, you just may not always
#
[KevinMarks]
untangling all the different structures in the bsky API is a bit odd - they seem to not have a consistent encapsulation of posts
#
[snarfed]
right, there are many that overlap
#
petermolnar
re: XMPP - it is actually quite happy without the "big" players, there are small/medium servers running it, particularly in Germany. If anyone's interested https://xmpp.org/2023/05/the-xmpp-newsletter-april-2023/ is the latest state.
#
petermolnar
the most beautiful recent thing was this: https://unifiedpush.org/ which Conversations, an Android XMPP client can fully utilize, and Element, the flagship Matrix app can piggyback on it... essentially using XMPP for notifications.
#
[snarfed]
[KevinMarks] [capjamesg]I've been deep in mapping app.bsky.* to/from other formats recently, happy to compare notes if you want. https://granary.io/?site=bluesky#logins , https://github.com/snarfed/granary/blob/main/granary/bluesky.py
#
[snarfed]
petermolnar interestingly the creator of XMPP, Jeremie Miller, is one of the three Bluesky board members
#
[KevinMarks]
You're doing it properly with lexicons, unlike my 'whats in this nested json thingy?' approach
#
[snarfed]
your way is quick and works! rough consensus and running code 😎
#
[KevinMarks]
I need to add recordWithMedia support
#
[snarfed]
yeah that seems so awkward. why the union and then a separate type if you have both? just make both fields optional in the main type, right? 🤷
#
petermolnar
[snarfed]: heh, then my analogy is not even that much off :D
#
[snarfed]
maybe! I don't know much about either matrix or xmpp, other than streaming XML :zany_face:, but maybe
#
[KevinMarks]
that embeddings are a union of lists of consistent things rather than a list of varying things is a bit odd
#
[KevinMarks]
also that an embedded post is not quote the same as a post
#
[tantek]
petermolnar, feel free to add the newsletter to /XMPP
#
[tantek]
it looked like a good source of updates
#
[KevinMarks]
I'm getting a slight feel of java in the bsky lexicons, where arbitrarily nesting things is hard to do, so you define a bunch of things that are almost but not quite the same. Which I suppose is the complement of the 'you can arbitrarily nest things in microformats' problem we hit when trying to write things like xray
#
[snarfed]
hah yeah. this is the overly typed/specified path, vs the not quite typed/specified enough of AS1/2 and mf2
#
petermolnar
nested things, what could possibly go wrong, oh, right, billion laughs attack
#
[KevinMarks]
They have narrow nesting - you can have a photo inside a post inside a post, but not 3 posts deep
#
[tantek]
shallow 🙂
#
[tantek]
since nesting is about depth
#
IWDiscordRelay
<c​apjamesg#4492> Billion laughs petermolnar?
#
[tantek]
has anyone played with https://github.com/elk-zone ? I'm wondering since it seems to be early if they'd also be receptive to adding Micropub support (and IndieAuth sign-in flow)
#
petermolnar
XML is nearly as beautiful as YAML
#
capjamesg
Why is YAML so prevalent in devops?
#
capjamesg
Docker, GitHub Actions, Azure Pipelines
#
[tantek]
because XML is horrible to read
#
[tantek]
same reason Markdown is often preferred to HTML
#
petermolnar
YAML is even worse imo
#
petermolnar
the more complex it gets the easier to lose track of where you are
#
petermolnar
plus someone wanted to make something "cool" when XML fell out of favour
#
petermolnar
it's worth noting that people made horrible things with XML, see SOAP
#
aaronpk
SOAP--
#
Loqi
SOAP has -1 karma over the last year
#
Loqi
XML has -2 karma over the last year
#
Loqi
YAML has -1 karma over the last year
#
petermolnar
I can do this all day :D
#
vladimyr
capjamesg: fyi mf2.link seems down, returns 502
#
capjamesg
What was SOAP?
#
Loqi
SOAP is Spectacularly Overblown Architectural Posturing see WS-Deathstar https://indieweb.org/SOAP
#
capjamesg
Well that answers that.
#
capjamesg
[KevinMarks] got a 502 on bsky.link.
#
capjamesg
Error: Error: No default engine was specified and no extension was provided.
#
[KevinMarks]
Hmm, I may have to recheck the error stuff
#
[KevinMarks]
What did you pass it?
gRegor joined the channel
#
IWDiscordRelay
<c​apjamesg#4492> I don’t have that logged.
#
[KevinMarks]
ah I didn't fix the error logging if you go to /feed without a url
#
[KevinMarks]
done. A better fix would be a form on the feed page
#
capjamesg
Fix deployed.
KMF, jonnybarnes, [capjamesg], joshproehl, [chrisbergr] and gregsplace joined the channel
#
capjamesg
MIT licensed.
jarenado and geoffo joined the channel
#
[tantek]
time to add IndieAuth+Micropub? or at least file issues?
#
[tantek]
[snarfed] Mastodon the software may be "European", however ActivityPub was largely developed in the US, with a lot of input from folks in Europe and other places in our W3C meetings. Whereas AT Protocol was presumably developed pretty much by a US team.
#
capjamesg
Is there an impact of that?
#
[snarfed]
Ben was generalizing about philosophies, not the people/teams themselves
#
[tantek]
then more the software vs the protocol
#
[tantek]
I don't really see AP as any more "community" than AT
#
[snarfed]
[tantek] I think it is, due to both culture and functionality. https://werd.io/2023/the-fediverse-and-the-at-protocol and https://snarfed.org/2023-05-04_50157 both discus more
#
[tantek]
[snarfed] Mastodon and/or "fediverse" was already "a thing" long before AP, which makes this a weird comparison
#
[tantek]
AP was a cleaner way to swap out more of OStatus
#
[tantek]
the culture of Mastodon/fediverse was already roughly formed at that point
#
[tantek]
this is why I don't think AP has a particular "culture" per se or any "community". it was absorbed into the existing Masto/fedi culture/community
holiday_1 joined the channel
#
[snarfed]
sure. we weren't trying to draw fine distinctions, I'll happily concede that we were conflating AP and the fediverse
#
[snarfed]
although my point(s) are pretty directly about AP implementations and that technical ecosystem in practice right now, not (just) culture
jeremy, geoffo and bret joined the channel
bterry joined the channel