#dev 2022-11-06
2022-11-06 UTC
# [snarfed] oh, unrelated, did this regress at some point? https://github.com/aaronpk/Loqi/issues/45
# IWDiscordGateway <kongaloosh> It works! https://sigmoid.social/@sharky6000/109293462026708146
# [schmarty]1 kongaloosh++
# [schmarty]1 snarfed++ too and also aaronpk++
# [schmarty]1 good hackin' today folks
# IWDiscordGateway <kongaloosh> ❤️ thanks for all the help, gang!
# IWDiscordGateway <kongaloosh> snarfed++
# IWDiscordGateway <kongaloosh> aaronpk++
# [tantek]1 I still think it's been interesting to see the people pop up on indieweb.social
# [schmarty]1 after peering down the activitypub rabbit hole enough to know i am not leaping in today, i instead started playing with running my own instance of Meridian (https://latl.ong/) and... it works! It also reminded me how painful getting ruby dependencies installed can be lol
# [schmarty]1 jgarber++ much appreciated. i made it through, just had to remember not to get mad at `bundle install` and summon from the depths my memories of which `libsomethingsomething-dev` would fix it.
# [schmarty]1 yep, all set! meridian is pretty much as simple as they come (barest sinatra app that touches a db and has a couple of query endpoints)
# [schmarty]1 https://download.geofabrik.de/north-america/us-northeast.html cropped using `osmium` to a vague NYC bounding box.
# [schmarty]1 (i just tried using more direct NYC borough geometry via https://data.cityofnewyork.us/City-Government/Borough-Boundaries/tqmj-j8zm as the limiter but something didn't work. all my nearby venues in manhattan disappeared)
# [schmarty]1 this was honestly just a fun diversion since if i am gonna work on a checkin client i should be focusing on designing that so i can dig in on the code. i also want to use existing checkins as a primary source before OSM data so we are on similar tracks!
# [schmarty]1 it power micro.blog!
# [schmarty]1 *powers
# [schmarty]1 GWG: the us-northeast pbf i linked you to is 1.4GB. using the meridian-recommended settings to export data in a loose square around NYC results in a ~1.9GB XML file. doing the import and sticking it into mysql results in a ... 13mb mysql data folder 😂
# @baldbeardbuild For fun, I added webmentions to my @astrobuild blog today. The link below isn't related but you can like, reply, or retweet this tweet to see it in action.
Explainer blog post incoming!
https://baldbeardedbuilder.com/blog/using-netlify-functions-faunadb-for-short-urls/ (twitter.com/_/status/1589074080497807360)
# IWDiscordGateway <kongaloosh> It's good to be back!
# IWDiscordGateway <kongaloosh> I have one more question for [snarfed]:
# IWDiscordGateway <kongaloosh> Is it possible to make requests to follow people, and have them added to our following list?
# IWDiscordGateway <kongaloosh> you'd need to be able to sign the request, so it has to go through brid.gy, but I'm not seeing anything in the BF doc (but could be missing something)
# IWDiscordGateway <kongaloosh> oh-ho
# IWDiscordGateway <kongaloosh> no, I can't see my followings, and I don't know of many other remote profiles
# IWDiscordGateway <kongaloosh> what is an IndieWeb follow?
# IWDiscordGateway <kongaloosh> ah, I forget how to trigger loqi
# [snarfed] ok it is possible, eg https://indieweb.social/web/@ash@acegiak.net
# IWDiscordGateway <kongaloosh> I'm going to hit the hay, but I'll be back tomorrow 🙂
totertats joined the channel
# @baldbeardbuild For fun, I added webmentions to my @astrodotbuild blog today. The link below isn't related but you can like, reply, or retweet this tweet to see it in action. (Updates every half hourish)
Explainer blog post incoming!
https://baldbeardedbuilder.com/blog/using-netlify-functions-faunadb-for-short-urls/ (twitter.com/_/status/1589103024945139712)
# IWDiscordGateway <kongaloosh> Should I maintain my own “follower list”
# [snarfed] your use case is...you want them to show up on your profile when it's rendered elsewhere? like eg https://indieweb.social/web/@ash@acegiak.net ?
ash[m], slyduda[m], Xe, AramZ-S[m] and Loqi joined the channel
# [tantek]1 what is u-follow-of
# Loqi It looks like we don't have a page for "u-follow-of" yet. Would you like to create it? (Or just say "u-follow-of is ____", a sentence describing the term)
# [tantek]1 what is follow
# Loqi follow is a common feature (and often UI button) in silo UIs (like Twitter) that adds updates from that profile (typically a person) to the stream shown in an integrated reader, and sometimes creates a follow post either in the follower's stream ("… followed …" or "… is following …") thus visible to their followers, and/or in the notifications of the user being followed ("… followed you") https://indieweb.org/follow
# [tantek]1 u-follow-of is an unofficially proposed [[microformats2]] property for linking to a site or profile being followed in a [[follow]] post, inside an [[h-entry]], published by a few IndieWeb sites, and handled by [[Bridgy Fed]].
# [tantek]1 follow << u-follow-of
# Loqi ok, I added "[[u-follow-of]]" to the "See Also" section of /follow https://indieweb.org/wiki/index.php?diff=84237&oldid=83950
# @jaxroam ↩️ The unbroken bridge is #BridgyFed, connecting the two archipelagos of #IndieWeb and #Mastodon. (The htaccess line lets the bridge stand on your site.)
This is a good solution, far better than no solution, but still clunky and brittle long-term.
https://fed.brid.gy/ (twitter.com/_/status/1589131336727793664)
# @schnarfed ↩️ Agreed! It's only really for technical power users. Everyone else is better served by plain non-Fed https://brid.gy/ (twitter.com/_/status/1589138777284685824)
# @webrocker sorry, yet another test. I updated the indie web plugins on my (wordpress) blog, and now this one, Syndication Links by David Shanske, should publish this post to Mastodon and Twitter via http://brid.gy, without me adding markup to the post, but… https://www.webrocker.de/?p=28794 (twitter.com/_/status/1589178486664691712)
# @webrocker ↩️ Meh. Worked for Twitter, but for Mastodon it failed. http://brid.gy gets 403 responses "error":"This action is outside the authorized scopes" and "Error: Forbidden for url: https://mastodon.social/api/v1/media" errors… sigh (twitter.com/_/status/1589195600469397507)
neceve, barnaby and neceve_ joined the channel
# jonnybarnes snarfed tried using one of the tokens I got from my database, that worked with cURL, but it gave me the error "error": "unauthorized", "error_description": "No user found with that token"
# jonnybarnes which I assume is from your end cos its not the token that “Get token” shows me
neceve_ joined the channel
# Saphire aaronpk: see my little .zshrc for an example implementation :P
# Saphire barnaby: pleroma requires it for every JSON-LD request iirc
# Saphire GET included
# Saphire Or at least the stuff I've poked so far did
# Saphire 's why I've made it in first place
# [KevinMarks]1 so was mastodon.social going js;dr in the 4.0 release notes?
# barnaby I don’t see anything about it https://github.com/mastodon/mastodon/releases/tag/v4.0.0rc1
# barnaby anyone feel like raising an issue about the removed mf2 support? not sure if it’s better to make a new issue or comment on https://github.com/mastodon/mastodon/issues/18845
# Saphire stares
# Saphire Are they literally copying Twitter now
# Saphire (tbh seeing the "trending" sidebar had me screaming)
# IWDiscordGateway <kongaloosh> g'morning 🌞
# IWDiscordGateway <kongaloosh> yeah, I think, I want to be able to keep track of who's following me and who I'm following.
# IWDiscordGateway <kongaloosh> Right now, I'm thinking of making a separate page with u-follow-of entries that I can webmention to let bridgy know to ping the mastodon folks that I'm following them.
# IWDiscordGateway <kongaloosh> If I look at my webmentions, I can tell who's following me based on 'linked mentions', and just keep track of them.
# IWDiscordGateway <kongaloosh> From Snarfed: it's there, if you post a u-follow-of and trigger with a wm, BF does convert it to AP and deliver it. it's not stored on BF's end though
# IWDiscordGateway <kongaloosh> I am not sure
# IWDiscordGateway <kongaloosh> BF implements an inbox, so presumably they go there
# IWDiscordGateway <kongaloosh> I'm not sure if they get converted to WM and get sent as mentions to my main page.
# barnaby looks like it ends up trying to send webmentions for all incoming Create activities https://github.com/snarfed/bridgy-fed/blob/main/activitypub.py#L116
# barnaby and then looking at this, it’ll only forward Create activities for objects with inReplyTo or mention tags https://github.com/snarfed/bridgy-fed/blob/main/common.py#L147
# IWDiscordGateway <kongaloosh> Cool; worth trying to implement follow count 🙂
# IWDiscordGateway <kongaloosh> Does anyone know if there's a way to track your own "followers" list in BF?
# barnaby (based on looking up references to Follower from https://github.com/snarfed/bridgy-fed/blob/main/models.py#L130)
# IWDiscordGateway <kongaloosh> I guess I could send out a post and then look at the BF logs to see who it sends the post to 👀
# IWDiscordGateway <kongaloosh> G’morning 🌞
# IWDiscordGateway <kongaloosh> It’s not “native” but having the option to forward to a local inbox would be cool.
# IWDiscordGateway <kongaloosh> Like it breaks the WM MF pattern
# IWDiscordGateway <kongaloosh> Yeah, that’s what I’m thinking.
# IWDiscordGateway <kongaloosh> And then the person can do with it what they wish
# IWDiscordGateway <kongaloosh> Without messing up WM
# IWDiscordGateway <kongaloosh> Yeah.
# IWDiscordGateway <kongaloosh> I just struggle to see how they could be WM
# [schmarty]1 I'll take it!
# [KevinMarks]1 Pre 4.0, each account has an h-feed, so you could subscribe to them individually. That just got broken. This also breaks archive.org for mastodon.
# [KevinMarks]1 So that is a major regression worth writing up IMO.
# aaronpk this is the latest draft https://www.ietf.org/archive/id/draft-ietf-httpbis-message-signatures-13.html
neceve joined the channel
# barnaby okay looks like the HTTP messages signatures spec leaves key discovery up to the implementation https://www.ietf.org/archive/id/draft-ietf-httpbis-message-signatures-13.html#section-3.2-3.5
# aaronpk so far it's used for one small part of OIDC https://openid.bitbucket.io/fapi/fapi-2_0-message-signing.html#name-http-message-signing
# barnaby it gives a tantalizing hint about getting keys from JWTs or introspection endpoints without actually specifying anything https://openid.bitbucket.io/fapi/fapi-2_0-message-signing.html#section-2.6.1.2-3
[davidmead] joined the channel
# aaronpk https://www.drupal.org/project/activitypub looks like it's been updated a couple days ago too
# h4kor[m] The page for implementing IndieAuth seems to be outdated (missing PKCE and indieauth-metadata link). https://indieweb.org/authorization-endpoint
nertzy joined the channel
geoffo joined the channel
# Saphire aaronpk: also indueauth the site doesn't always do pkce it seems?
neceve_ and [davidmead]1 joined the channel
# @aaronpk ↩️ This is basically what we're doing with Webmentions. It's an old post, but surprisingly relevant all of a sudden: https://aaronparecki.com/2018/06/30/11/your-first-webmention (twitter.com/_/status/1589302610367913984)
# @kbravh ↩️ Came here to mention Webmentions! Glad to see a building interest. (twitter.com/_/status/1589308659439439873)
# KatherineMoss[m] Speaking of Webmentions... I was looking at the Twitter landscape at the moment, and people are hurting the Fediverse and the open web right now with their words; somebody, I think he was one of my DotNet allies, said that "Mastodon" not "The Fediverse" causes more problems than it solves. If we don't set people straight, and firmly as possible, then the Fediverse and the open web will further and further slide out of the
# KatherineMoss[m] communities grip with enough pile ons.
# KatherineMoss[m] Maybe it makes not a difference at all, but considering we're on a role with the open web, education is good.
mro joined the channel
# @jlengstorf ↩️ Yeah, I love the spirit of WebMentions but the implementation is too high a bar for many (most?) site owners. But maybe a man investment in UX / tooling makes more sense than trying something net new. (twitter.com/_/status/1589315163525885953)
# @schnarfed ↩️ The bar may have been higher years ago, but it's pretty low these days! Mature plugins for most popular CMSes, https://webmention.app/, https://webmention.herokuapp.com/, https://webmention.io/, etc. (twitter.com/_/status/1589316783496122368)
mro and nertzy joined the channel
# [snarfed] Re https://twitter.com/davewiner/status/1589298960132636673 , it's sad. If it was someone else, I'd jump in. But knowing Dave, I don't want to engage at all
# @davewiner Developers only. Do you know enough about ActivityPub to help document it? I'll write the docs. I'm good at it. I'll ask the questions to get the info from you. I want to put up a simple chat app on the AP network. Open source of course. Node.js. https://github.com/scripting/reallySimpleActivityPub (twitter.com/_/status/1589298960132636673)
geoffo joined the channel
# [tantek]1 ^
# [tantek]1 Going to wait to see how long it takes for folks (anyone) that not only is there nothing “really simple” about AP, but no amount of Q&A/docs has a chance of making it “really simple”
# IWDiscordGateway <kongaloosh> 💯
# IWDiscordGateway <kongaloosh> WM was easier to do when I knew nothing about requests; I know how requests work now, and there's just so many different ways to interpret some of the AP stuff (not a spec?!)
gRegor joined the channel
# @ih8nickfinding ↩️ PS: This seems relevant https://github.com/mastodon/mastodon/issues/4800#issuecomment-504100941 and there is already some discussion going on how to solve federated authentication. Need to read up on IndieAuth. But I'm confident it will eventually be solved. (twitter.com/_/status/1589347392754954241)
# @schnarfed ↩️ Agreed! The CMS plugins, eg WordPress's and Drupal's, don't. For even less technical people, we recommend http://micro.blog. Choosing and registering a domain is as easy as choosing a username on Twitter, DNS is automated and invisible (!), webmention support is built in. (twitter.com/_/status/1589353563851206656)
nertzy_ joined the channel
geoffo joined the channel
# AramZ-S[m] aaronpk that would be nice, when I started playing more actively in Mastodon it instantly struck me that it might be a good fit with their model.
gRegorLove_ and geoffo joined the channel
# [tantek]1 aaronpk, perhaps start with opening an issue (or two!) on Mastodon to add IndieAuth support (IdP and RP, perhaps separate issues), taking the best bits of what you said in https://github.com/mastodon/mastodon/issues/4800 and reformatting much of the rest in FAQ format in order to make it easier to see the summary case and note all questions/misconceptions that people keep repeating in one place
# [tantek]1 [snarfed]++ for trying to answer the Q&A re: RSS/replying and dealing in good faith with some amount of goal post moving
# [tantek]1 from the depths of the posts in #indieweb-meta I thought this was particularly good/insightful for anyone considering building software/services for anyone beyond themselves (which is many people here!) https://medium.com/a-change-is-coming/lessons-from-mastodon-for-independent-social-networks-ae2d4ccf8f72
# [tantek]1 aside: I would have posted the originally posted link, however "Error establishing a database connection / This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down."
barnaby joined the channel
# [timothy_chambe] ↩️ I can try to help!
geoffo and [eddie] joined the channel
# [tantek]1 hello and welcome back [eddie]++
# [tantek]1 also the dropping of mf2 is a bigger deal, it's the dropping of indexable/crawlable HTML for non-logged in users, e.g. search engines, e.g. your new Mastodon posts won't ever show up in web search (whereas your IndieWeb posts will)
# IWDiscordGateway <capjamesg> Mastodon dropped mf2?
# IWDiscordGateway <capjamesg> Why?
# IWDiscordGateway <jacky> ^ I'm curious about that too
# [tantek]1 right, that's my understanding
# [tantek]1 it's more of a js;dr problem than a dropping mf2 problem
# [tantek]1 barnaby, there were tests, [ben_thatmustbe] contributed them to their regression suite
# [tantek]1 my guess is that due to the massive rewrite, they also rewrote all the regression tests for those views
# [tantek]1 sknebel, was there an instance-wide setting for "can be indexed by search engines"? I'd start there
# [tantek]1 There is some deep irony in the phrase "written out of all this history" and Mastodon's switch to js;dr logged out profile pages and post permalink pages. This is precisely why I pointed out in the js;dr post that such pages/contents are dead to history.
# [tantek]1 sknebel, perhaps the setting should be "please write me out of all history" to turn off search engine indexing of posts
# rubenwardy mf2 is redundant with rss/atom/jsonfeed :P
# rubenwardy rss/etc is also much easier to add and has wider support
# [tantek]1 rubenwardy, the sidefiles are for the most part for read-only interactions, one-way. there's reply extensions to Atom but they're not used much in practice, except in bridges from mf2 h-entry. the mf2 h-feed & h-entry is for two-way interactions, including a variety of responses
# [tantek]1 what are responses
# Loqi responses, or interactions, in the context of the indieweb, refer to all the different ways and things people explicitly do to and with others’s posts, from written replies to quick likes, in other words responses = replies + reactions https://indieweb.org/responses,
# [tantek]1 ^ this is where all the sidefile feed formats basically dropped the ball
# [tantek]1 RSS is frozen. No one is evolving Atom. JSONFeed has potential.
# [tantek]1 but yeah, if you don't care about social web use-cases, RSS/Atom work just fine for one-way publishing.
# rubenwardy you could add an extension to either with author and is-reply-to
# [tantek]1 Atom already has author. in-reply-to got some uptake in Statusnet / OStatus but that died. The only remaining support that I know are in the tools / bridges built by this community, in Bridgy & Granary
# [tantek]1 as you say, no one else supports them. however there are plenty of implementations that support consuming mf2 h-entry responses for likes, reposts, bookmarks etc.
# [tantek]1 in over a decade, Atom/RSS never got anywhere with replies/responses (besides the blip of Statusnet/OStatus), so it's effectively a dead-end too
# [tantek]1 that being said, adding more backcompat to Atom is not unreasonable, and for that I'd suggest look into AS1/Atom