#dev 2023-03-10

2023-03-10 UTC
#
[tantek]
you know what I don't like about GitHub compared to MediaWiki, there's no radio-button-pick-two-versions-and-show-diff-from-to UI on a revisions history page like this https://github.com/tantek/cassis/commits/master/cassis.php
#
aaronpk
hm yeah there is a URL for it
#
[tantek]
but no UI?
#
[tantek]
and why isn't that linked from the history page 😭
#
aaronpk
um that link doesn't even switch to the files tab?!
#
[tantek]
yup, found the files tab and now scrolling. wheee
#
[tantek]
another annoying inconsistency. the history of file only shows dates (which is fine), e.g. https://github.com/tantek/cassis/commits/master/cassis.js
#
[tantek]
whereas the compare of tags only shows tags. 🙄
#
[tantek]
I mean, would it be too much to have both show both?
#
[tantek]
so instead I'm like manually checking to see what date was that tag tagged? and then trying to keep that in mind while looking at the history view
#
[tantek]
it's not like developers spend much time looking at diffs across files, releases etc. 🙄
#
[tantek]
oh look, I somehow figured out this problem back when tagging releases and encoded the date into the semver Patch number. of course I left myself clues like that
#
GWG
Starting my...let's add stuff about Micropub journey. https://github.com/indieweb/Micropub/issues/12
#
[tantek]
lol there's no "new" or "create" button or link on https://github.com/tantek/cassis/tags
#
[tantek]
like why would I possibly want to create a new tag when viewing the list of tags? 🙄
#
[tantek]
of course it's buried in the combo-box drop-down search thingie for creating a *release* in "Choose a tag" as "Find or create a new tag" input box placeholder text
#
aaronpk
i don't know why it's only under the releases tab
#
gRegor
They point at a commit so probably easier during the release process
#
[tantek]
aaronpk, does that work for your use-case ^
#
[tantek]
great, let's see if anything breaks
#
[tantek]
why would a CSS reset, or any React project have a dependency on CASSIS?
#
[tantek]
or am I misreading it?
#
[tantek]
aaronpk++ thanks for the fixes and the nudge to make a "stable" release, as the code released in that update has been tested for quite some time
#
Loqi
aaronpk has 29 karma in this channel over the last year (86 in all channels)
#
[tantek]
time to start pushing more updates from my "live" cassis.js to GitHub for broader usage/feedback
#
[tantek]
since I made A BUNCH of big changes lately like lots of auto_linking for @-@s, footnotes etc.
#
[tantek]
(not quite ready to replace Markdown yet, but steps in that direction 🙂 )
[chrisbergr] joined the channel
#
aaronpk
hmm, the bluesky app supports "link cards" which then mean the URL doesn't count against your char limit
#
Loqi
[preview] [aaronpk] #649 Support OAuth
#
IWDiscordRelay
<c​apjamesg#4492> Would sites that support displaying Salmentions nest h-entries into each other!
#
IWDiscordRelay
<c​apjamesg#4492> *?
#
IWDiscordRelay
<c​apjamesg#4492> How does a parser handle this?
#
IWDiscordRelay
<c​apjamesg#4492> Would it give a flat list of h entries or a nested list of them?
#
gRegor
I wouldn't expect a page sending Salmentions to have multiple h-entries generally. Maybe some nested h-cites for the comments
#
gRegor
Not sure what "this" you mean in that question, though.
#
IWDiscordRelay
<c​apjamesg#4492> That doesn’t sound good for my code 😅
#
IWDiscordRelay
<c​apjamesg#4492> How should a comments feed be marked up?
#
IWDiscordRelay
<c​apjamesg#4492> Right now my Salmention code is traversing microformats and finding new ones like entries and cites.
#
gRegor
what is comments
#
Loqi
Comments are displayed in the context of an original post, and may be a mix of syndicated reply posts from other sites received via Webmention, as well as locally created comments https://indieweb.org/Comments
#
gRegor
That page has details and some how to markup
#
gRegor
short answer, `u-comment h-cite`
#
IWDiscordRelay
<c​apjamesg#4492> That’s cool.
#
IWDiscordRelay
<c​apjamesg#4492> Great.
#
IWDiscordRelay
<c​apjamesg#4492> My code can handle that.
#
IWDiscordRelay
<c​apjamesg#4492> With a minor change.
#
gRegor
I see /Salmention says this which I don't think is quite right "E.g. incorporate a reply as a nested comment h-entry inside the original’s h-entry"
#
IWDiscordRelay
<c​apjamesg#4492> Yes.
#
Ruxton_
tantek: because it's being confused wiht an old package - https://www.npmjs.com/package/cassis
#
IWDiscordRelay
<c​apjamesg#4492> I think that’s why I was so h entry focused in the beginning.
#
IWDiscordRelay
<c​apjamesg#4492> How would I do nested comments?
#
gRegor
should be "nested comment h-cite" I think
#
IWDiscordRelay
<c​apjamesg#4492> u-comment in a u-comment?
#
IWDiscordRelay
<c​apjamesg#4492> w/ h-cite.
#
gRegor
That I'm not sure on, don't think there's many (any?) indieweb examples
geoffo joined the channel
#
[tantek]
Ruxton_ wow. My CASSIS was first :P
geoffo and gRegorLove_ joined the channel
#
GWG
I remember a discussion about changing the query functionality of Micropub to return something without authentication.
gRegorLove__ joined the channel
#
[tantek]
From #indieweb aaronpk? Why not have that be "just implement indieauth+Micropub+Micropub"?
#
[tantek]
Micropub+Microsub* lol autocorrect has learned Micropub
#
[snarfed]
for us, sure. for them, even if they're indieweb friendly, they presumably eventually want an app ecosystem that talks their protocols, not just ours
#
[0x3b0b]
Conceptually, at least as I understand them so far, I'd expect rendering of salmentions to be akin to the rendering of an Activitypub reply thread, which is the thing where in Microblogpub I have customized my instance (I had intended to contribute this upstream soon) so that if I'm on the permalink of a mid-thread note, the earlier notes in the thread render as u-in-reply-to h-cite instead of u-comment h-cite. The whole thread is
#
[0x3b0b]
wrapped in one h-entry, but it's all flat within that rather than having the comments nested. Webmention comments are displayed essentially the same way. While it technically displays with each note in the chain a link to which exact other note in the chain it was in reply to, it doesn't render the comment chains as nested; it's all flat.
#
[0x3b0b]
Also, having looked at that, I think if Microblogpub doesn't already support sending and receiving salmentions, it shouldn't be far off from the capability...but implementing it might be beyond me, because so far I have dug into neither its parsing nor the guts of how it sends mentions and federation.
gRegorLove__ joined the channel
#
aaronpk
I'm trying to be more conscious of working within the assumptions other folks are using, and introducing them slowly to the solutions that we've already worked out
#
aaronpk
Telling someone to implement a whole set of specs doesn't end up working well in practice, unless you already have enough leverage to be the driving force behind people wanting to implement them, which isn't exactly a healthy ecosystem
#
[snarfed]
aaronpk++
#
Loqi
aaronpk has 30 karma in this channel over the last year (87 in all channels)
#
[snarfed]
also they might be perfectly happy to adopt those standards eventually, but they're still early right now, and focusing on their (different) core motivating problems first
gerben joined the channel
#
[tantek]
aaronpk not sure I agree. Look at the example of how much there was heavy evangelizing to folks to adopt ActivityPub as the one true way and lots of projects have been convinced to do so.
#
[tantek]
If anything I think we've been too shy or self-conscious to push hard for more IndieWeb standards adoption by folks
#
[tantek]
(I’m not saying all that AP evangelizing was "healthy" btw, in fact I witnessed plenty that was pushy and bordering on bullying, or even patronizing, especially in reply to the original BlueSky announcements and invitations for ideas)
#
[tantek]
(Also a counter example we both know about is all the heavy evangelizing of RDF and SoLiD etc that turned people off because it wasn't really real - no real eating their own cooking - but we don't have that problem)
#
aaronpk
Yeah I don't think ActivityPub is in a healthy state, it's kind of a mess of specs all driven by mainly one implementation now which doesn't even really seem to care about the specs themselves 🤷‍♂️
#
[tantek]
To take a positive perspective, how possible would it be to extract the key parts from the AP S2S spec that's been implemented by multiple implementations and document it as a practical profile of AP?
#
[tantek]
At least to provide a baseline
#
[0x3b0b]
I think there is a strong tendency, at a certain level of organizational complexity that lies somewhere between small independent implementation and big enough that where you lead others will definitely follow, and especially when looking at the question of "what can we support/integrate with that will help us" (and hopefully also our users), at which "here is an official spec to follow and a few big-name implementations that don't
#
[0x3b0b]
really follow it very well" tends to be more compelling than "here's a bunch of consistent real-world use-cases and yes we've got specs written for some of them." Specs *feel* like stronger foundations than they really are sometimes, and an implementation with a big enough name to make news can be really powerful branding.
#
[0x3b0b]
But I'm sure I'm preaching to the choir which is probably because I'm up later than I should be
gRegorLove__ and [Joel_Auterson] joined the channel
#
@BlackForestBoi
And for anyone that needs further proof, here from the info PDF i got sent. And this is the "small" package. https://pbs.twimg.com/media/Fq0TSjGXgAEd76w.jpg
(twitter.com/_/status/1633983548708253696)
ross[m]123, [campegg], [Murray] and [manton] joined the channel
#
[manton]
Not sure I believe that $42k/month Twitter API leak. That is wildly different than Elon’s suggested $100/month. Maybe $42k is the “small” enterprise plan.
#
@BlackForestBoi
@IgorBrigadir Nope, the rep said no. The only things that will stay in the $100 basic tier is some limited write access. If you look at this slide, v1.1/2 are migrated into that enterprise plan. https://twitter.com/BlackForestBoi/status/1633983548708253696
(twitter.com/_/status/1634166418814935042)
#
[snarfed]
Hoo boy, ok then
#
[snarfed]
"The app is codenamed P92 and will allow users to log in through their existing Instagram credentials...The P92 app will support ActivityPub, MoneyControl reported"
#
aaronpk
Very possible to document the subset (and superset) of ActivityPub that is currently interoperable, the problem is you'll quickly end up making a bunch of people mad who say no don't limit AP to just social networking (see current discussion on the mailing list)
#
[KevinMarks]
Right, it's more like a new version of OStatus, where you list the protocol subsets you use for each bit.
#
[KevinMarks]
We kind of need SocialWhatWG to document the actual protocols that are in use, including all the fudges in practice, so that we can then iterate on that. What we don't need is even more cruft added to the spec like Rights Expression Languages or NNTP compatibility
[pfefferle] joined the channel
#
[pfefferle]
I think there already was such a spec (ActivityPub) I will see in my bookmarks if I find it
#
[pfefferle]
> LitePub is a suite of protocols which provide a federated social network. They constitute various profiles of the ActivityPub specification. It is intended that LitePub implementations provide compatibility with ActivityPub, but there are some core behavioral differences.
#
aaronpk
Didn't that fizzle out?
#
[pfefferle]
translates "Didn't that fizzle out"
#
aaronpk
oh heh
#
aaronpk
like slowly disappear
#
[pfefferle]
last change was 2020-11-25
#
[KevinMarks]
I think that was part of the pleroma schism before the lead dev picked a fight with everyone and flounced
#
[pfefferle]
translates "flounced"
#
[pfefferle]
ah, I see
geoffo joined the channel
#
Gorro_Rojo[m]
Hi! Not sure if this belongs here or in #indieweb. Is there any info on making a static blog hookup easily accessible through mastodon/activitypub? couldn't find such info on the indieweb wiki, but I might've looked wrong
#
Gorro_Rojo[m]
aaa perfect! thank you [snarfed] !
#
aaronpk
Gorro_Rojo[m]: also curious where you looked so we can make sure to make that more discoverable on the wiki!
#
Gorro_Rojo[m]
ah! I see it was further down on the actpub page https://indieweb.org/ActivityPub#Bridging, completely missed the small although adequate mention
strugee_ joined the channel
#
[tantek]
Yeah that needs to higher up in an explicit How To section of its own. Thanks for the heads up Gorro_Rojo[m]
#
[snarfed]
aaronpk you mentioned the AP mailing list. how do you think the community there compares to eg https://socialhub.activitypub.rocks/ ?
#
aaronpk
socialcg mailing list
#
aaronpk
the one that was recently turned back on
#
[snarfed]
ah ok. I assume it's more standards-body-oriented, vs the discourse ^ which is broader?
#
[jacky]
squints in semi-interest
#
[tantek]
the socialcg mailing list is IMO a social experiment, disconnected from any actual implementation impact. read it like an anthropologist might.
#
[tantek]
I mean I could just say "mailing list" there in general. It's 2023 folks.
#
[tantek]
[snarfed] you didn't ask me but IMO that socialhub has actual implementation impacts, per some of the replies to my most recent post (which I realize was a while ago now)
#
[tantek]
aside: codeberg makes me think of [benatwork]'s /Fatberg
[benatwork] joined the channel
#
[benatwork]
aka the most productive time I've ever spent in a standards meeting
#
[tantek]
standards *workshop* let's be clear 🙂
#
[tantek]
what was osfw3c
#
Loqi
#osfw3c is a hashtag for the W3C Workshop on Social Standards: The Future of Business that took place 2013-08-07..08 in San Francisco, CA, USA, which led directly to the creation of the W3C Social Web Working Group where several IndieWeb specifications were standardized https://indieweb.org/osfw3c
#
[benatwork]
I workshopped that website real good
#
[tantek]
[benatwork] for the 10 year anniversary of that workshop I want to make a list of everything proposed/announced/demo'd and put it into two columns: alive and dead
#
[benatwork]
that would be fascinating
#
[benatwork]
and wow, that anniversary is fast approaching
#
[tantek]
I am in the middle of a "2013 was a big year for the indieweb" post
#
[tantek]
(mostly dev-oriented)
[aciccarello] and geoffo joined the channel
#
GWG
aaronpk: What was the original thought on 'official' Micropub extensions and is that thought documented anywhere to your recollection?
#
aaronpk
not sure what you mean
#
GWG
It doesn't say anything about what makes it
#
GWG
Basically it is for my pop-up proposal
#
aaronpk
I don't remember anything specific, but I would say it should be the next higher bar than a stable extension. maybe a higher number of implementations, or has to have been stable for some amount of time
#
GWG
aaronpk: Okay...makes it a good pop-up discussion topic
#
GWG
That and.. should anything enter the living spec or just stay as an extension
geoffo joined the channel
#
capjamesg
I'd encourage everyone to add to that proposal if you have more to say!
#
Loqi
[preview] [capjamesg] #24066 Add support for IndieAuth authentication
#
[snarfed]
hey [keithjgrant], I was hoping to try out Omnibear in Firefox, but it's evidently not in AMO any more? the Firefox link on https://omnibear.com/ 404s, but I haven't found any explanation anywhere. mind if I ask what happened? was that deliberate?
[keithjgrant] joined the channel
#
[keithjgrant]
[snarfed] I should probably find somewhere reasonable to post the status of Omnibear, but here’s the gist:
#
[keithjgrant]
When I did one of the last builds for Omnibear, I apparently did it from an old work computer that built NPM packages from a local mirror of NPM internal to the company network. This meant that references to packages in package-lock.json pointed at mirror urls instead of the publicly-accessible npm.org urls.
#
[keithjgrant]
Firefox came back *years* after I published the package, and in some sort of routine review of the package, they were unable to build it from the source code because of the package-lock, and they pulled it from their add-ons.
#
[keithjgrant]
I tried to dust things off and rebuild several months ago, and found a) the JS tooling was really old and in sore need of updating and b) Chrome is soon (or now has?) made the switch to the newer Web Extensions Manifest V3 standard exclusively, which means if Omnibear still works in Chrome, it won’t for long.
#
[keithjgrant]
I put a good number of hours into updating the tooling and trying to convert to Manifest V3, but it was a much bigger time sink than I was prepared for and didn’t quite get there. I’m now in the middle of my book contract (CSS in Depth, 2nd edition) so I don’t think I’ll have a lot of time to give to finishing this for a while yet.
#
[keithjgrant]
If any JS devs are interested in helping take ownership of Omnibear, I’d love it. I’m bummed it’s in the state it is now.
#
[snarfed]
[keithjgrant] thanks for the explanation! I can definitely commiserate, esp w/manifest v3. https://github.com/snarfed/bridgy/issues/1090
#
Loqi
[preview] [snarfed] #1090 Port browser extension to manifest v3
#
[snarfed]
in the short term, consider updating the web site and docs repo to say explicitly that it's no longer in AMO?
#
[tantek]
[keithjgrant]++ really appreciate all the work put into OmniBear and good luck with your book!
#
Loqi
[keithjgrant] has 2 karma over the last year
#
[snarfed]
keithjgrant++ agreed!
#
Loqi
keithjgrant has 3 karma over the last year
#
[keithjgrant]
[snarfed] Yeah that’s a good idea
#
[keithjgrant]
[tantek] thanks!
#
[manton]
I’ve got photo upload working with the Bluesky API now. Kind of convoluted… I will write it up if it helps anyone. You basically upload a blog first, then add the cid for the image when creating a new post.
#
[manton]
Er… Upload a _blob_ first.
#
[snarfed]
[manton]++ nice!
#
Loqi
[manton] has 22 karma in this channel over the last year (37 in all channels)
#
aaronpk
sounds like same pattern as micropub media endpoint?
#
[manton]
A lot of it was trial and error. There are some file size limits too. When attaching an image, the error message said the max size is only about 900k.
#
[manton]
[aaronpk] Yes, that part is fine. The part I found confusing was just constructing the JSON to attach the image.
#
aaronpk
fwiw i found the tests on their repo more helpful than their docs
#
[manton]
Oh nice, that would be useful.
#
aaronpk
lol that's quite a mouthful
#
[manton]
Oh jeez, that would’ve saved me about an hour of trial and error. Whoops.
#
[manton]
Also doesn’t appear you can have more than 1 active session. So I kept having to sign in again to get a new token on my computer and then sign in again on iOS, back and forth. 🙂
#
aaronpk
oh really
#
aaronpk
that would explain why i had to log in again yesterday haha
#
aaronpk
that's a very strange limitation
#
[manton]
They’ll have to fix that for a broader rollout with potentially multiple apps on different devices. Hopefully it won’t be a server db change to store more than one token. 🙂
#
[manton]
I’m torn on how much more to do for now. I’m having fun with it, and I prototyped basic cross-posting from Micro.blog to Bluesky. But some of the limits make me want to pause for now, at least until the more public access. Maybe OAuth will be ready then too. (I implemented a username/password prompt, then I get a token and never save the password, but I hate even asking for the password.)
#
[manton]
I’m sure a lot of this hasn’t been completely nailed down yet.
#
[tantek]
bluesky is a specific instance to think about how to approach a couple of new kinds of things in general from an IndieWeb perspective
#
[tantek]
when someone comes out with a new social and/or decentralized protocol *with* an implementation, what are good ways to determine the IndieWeb relevance/opportunities, and what things are worth pursuing? e.g. direct bridging/proxying, POSSE/PESOS/backfeed support, etc.
#
angelo
crazy i instantly recognized the hill behind those goats
#
[tantek]
when someone comes out with a new social and/or decentralized *client,* especially if it looks "usable" on mobile devices, what are good ways to determine the IndieWeb relevance/opportunities, and what things are worth pursuing? e.g. IndieAuth, Micropub, Microsub support etc.
#
[tantek]
^ I think these are worth explicit conversations so we come up with well thought through ways to do outreach to interop / connect with new efforts
#
angelo
oops, sorry that was meant for -chat
#
[manton]
[tantek] Definitely. So much is happening right now with new protocols, it’s the right time to think about how the IndieWeb fits into everything. I like that Bluesky prioritizes domain names and portability. I don’t love the API, but I’m good with POSSE for now just to dip my toe into the water.
#
[manton]
In the Mastodon world, too, I’d love to see movement away from the Mastodon API to more open protocols like Micropub. Having a bunch of apps that _only_ work with Mastodon is not great, even if the larger fediverse + ActivityPub is more open.
#
[tantek]
agreed [manton]. I tried to recognize that positive step from BlueSky here: https://indieweb.org/bluesky#IndieWeb_Features
#
[tantek]
We need to have an easier to explain "pitch" to client developers for why/how they should adopt IndieAuth, Micropub, Microsub (in that order)?
#
[tantek]
None of the specs provide that "here's why and how" clear explanation right now. The specs (and wiki pages) are good references if you're already convinced but they don't provide a clear and simple 1, 2, 3 steps to adoption and what you get with each step
#
[tantek]
We need a wiki page equivalent of something like aaronpk's IndieWeb sessions where he coded a Micropub client from scratch in mere minutes
#
[tantek]
If more Mastodon app developers saw that they could add Micropub support in an afternoon, I bet many would do so
#
[snarfed]
tantek++
#
Loqi
tantek has 23 karma in this channel over the last year (80 in all channels)
[TMichelleMoore] joined the channel