#dev 2024-03-21

2024-03-21 UTC
[tantek], [benatwork], jeremycherfas, alephalpha0, btrem, rrix, sebbu2, [contact898], lazcorp, [dominik], ttybitnik, Guest6 and mahboubine joined the channel
#
mahboubine
I know webmention.io can send webmentions to my site
#
mahboubine
but how can I make my website send webmentions to other sites?
#
jeremycherfas
One way to do so is with Telegraph https://telegraph.p3k.io
AramZS joined the channel
#
bacardi55[m]
telegraph++ , works very well!
#
Loqi
telegraph has 1 karma over the last year
geoffo joined the channel
#
[tantek]
I need to write a follow-up post about my experience with posting, federating, POSSEing a manual plain text /poll post.
#
[tantek]
it was surprising. most responses on Twitter, then less than half of that on my IG story, then *zero* on Threads.
#
redblobgames
In my circles, most everyone who migrated from twitter to bluesky/mastodon/threads has moved back, or stopped posting altogether :-/
#
mahboubine
going through the webmention spec right now
jacky joined the channel
#
jacky
feels like a lot but might be handy for those not wanting to fiddle with their local PKI https://anchor.dev/docs
[Joe_Crawford], [schmarty], gRegor, [KevinMarks], btrem and geskeca joined the channel
#
[tantek]
we're talking about how trailing spaces as "an instruction" e.g. 2+ trailing spaces on a line to mean preserve line-break, is a fragile and suboptimal way of encoding hard linebreaks
#
[tantek]
per what Markdown does
#
redblobgames
Oh, maybe I shouldn't run M-x delete-trailing-whitespace on markdown files
#
[tantek]
whereas a better option is: linebreak after a visible character = hard (semantic) line break, whereas linebreak after a single space character = soft (presentational) line break
#
[tantek]
lol definitely not. markdown--
#
Loqi
markdown has -3 karma in this channel over the last year (-2 in all channels)
#
aaronpk
i can't believe anyone thought two trailing spaces was a good idea
#
[tantek]
aaronpk, two trailing spaces, like most things in Markdown, was the workaround hack consequence of a prior bad design decision (treating linebreaks after visible characters as soft/presentational breaks)
geoffo and geoffo_ joined the channel
#
[tantek]
well that was quick
#
jacky
lots of interesting points there
#
jacky
noticing a bit of a trend but need to use my blog for this lol
geoffo and dustinm` joined the channel
#
btrem
Picking up from indieweb, the h-card icon needed multiple, chained c commands in the path. But trying to do that in VS Code was just too tedious. So I went with "good enough." :/
#
btrem
To see the difference, you'd probably need to display the SuperTinyIcons version with the one from the Indieweb wiki, blown up to a fairly large size, and do an a-b comparison.
#
btrem
I'm now in the same situation with h-feed. A simple arc command should do the trick, but alas, the points will not line up. So looks like I'll have to muck around with a cubic bezier.
#
btrem
sighs
#
[tantek]
^ [Paul_Robert_Ll] FYI - would appreciate your input here as to the intent / approach of the details in these icons
gRegor joined the channel
#
btrem
[KevinMarks]: Can't use SVGOMG for two reasons: (a) I have to scale the images; SuperTinyIcons are all 512x512, whereas the indieweb versions are 192x192. And (b) I'm simplifying the path to save bytes; instead of a path around each curve, with a white fill, I'm using a path with a wide stroke and no fill, reducing the commands.
#
gRegor
[tantek], just tried to follow you on threads via BF. I think it worked based on https://fed.brid.gy/web/gregorlove.com, though not showing up in my following list there yet. Do I show up in your follower list?
#
gRegor
Oh, probably not. From the BF log: "Returning 400: Couldn't determine protocol for https://www.threads.net/@tantek", huh
#
gRegor
Sounds like accounts need to opt-in "Threads users aged 18+ with public profiles can now choose to share their Threads posts to other ActivityPub-compliant servers." https://engineering.fb.com/2024/03/21/networking-traffic/threads-has-entered-the-fediverse/
#
gRegor
Has anyone else on Threads opted in to that yet? Curious to try following
#
[tantek]
I had to update the iOS app first I believe
#
[tantek]
"go to Profile > Account settings > Fediverse sharing to opt-in:
#
[tantek]
in iOS Threads: go to profile (πŸ‘€ icon lower right) > Account > Fediverse sharing > scroll down, tap ( Next ) > ( Turn on sharing )
#
[tantek]
"You're now sharing in the Fediverse"
#
[tantek]
curious if it has the same "cold start" problem as fediverse / Mastodon in general
#
[tantek]
I went to my Bridgy Fed /following page on my dashboard
#
[tantek]
entered [tantek]@threads.net into the input box and pressed return
#
[tantek]
ooh Bridgy Fed is doing an IndieAuth flow to make sure I'm http://tantek.com
#
Loqi
[preview] Tantek Γ‡elik
#
gRegor
Hm, retried the follow with a new slug, no error in BF but doesn't seem to have worked
#
[tantek]
new slug? did you post a follow post? I used the Bridgy Fed dashboard UI
#
gRegor
Yeah, I use follow posts from my site then webmention
#
[KevinMarks]
I followed you from my indieweb.social account, but I see no posts
#
[KevinMarks]
xoxo.zone blocks threads
#
gRegor
Aha. Noticed on tantek's BF following page the trailing slash on "https://www.threads.net/@tantek/". I added the trailing slash in my follow post and it worked!
#
gRegor
Weird edge case
#
gRegor
lol "MastoPleroMissCalckey thing" in your Threads bio :D
[snarfed] joined the channel
#
[snarfed]
the big missing piece here is that Threads (still) doesn't serve AS2 via conneg on profile or post URLs like https://www.threads.net/[tantek]
#
[snarfed]
to get AP/AS2, you have to start with webfinger, and then follow the separate URL structures from there
#
[snarfed]
they know about this and I think are planning to add that conneg support, just haven't yet
#
aaronpk
i can't seem to even hit their webfinger endpoint, unless i'm misremembering how it works
#
gRegor
never thought I'd see you put "missing piece" and "conneg" in the same sentence :)
#
[tantek]
Now that BF can follow your Threads account, it's possible to build an OwnYourThreads relay that follows your Threads account then posts to your site via Micropub
#
gRegor
Can you cross post IG to Threads? OwnYourGramViaThreads
#
jacky
you can for some posts
#
[tantek]
[KevinMarks] no notifications or content (e.g. replies) of any kind from outside of Threads
#
[KevinMarks]
I thought it passed on liikes?
#
[tantek]
[KevinMarks] likes are external content, as they are in essence like posts
#
[tantek]
ok so Threads following has the same cold start problem
#
[tantek]
"*Older posts from other servers are not displayed.*"
#
aaronpk
what's the actual source of that problem?
#
aaronpk
i thought AP defined an outbox as an endpoint that should be able to fetch older posts
[manton] joined the channel
#
[tantek]
aaronpk, I have a feeling it is folks copying Mastodon AP-quirks bc if it's good enough for Masto...
#
aaronpk
am i remembering right tho?
#
[tantek]
aaronpk, I think so. however something "being" in an outbox (i.e. older posts) is insufficient
#
[tantek]
since AP is a push-based protocol, *something* has to trigger the push of posts from the outbox, and the only thing AFAIK is a new "activity" like "create", "update", "delete" from the publisher
#
[tantek]
nothing "fetches" from the outbox unprompted, that would be polling πŸ™‚
#
[tantek]
[snarfed] can likely provide some additional details / corrections
#
aaronpk
i thought activitypub allowed/expected polling the outbox
#
aaronpk
"If a user submits a request without Authorization the server should respond with all of the Public posts"
#
aaronpk
"The outbox MUST be an OrderedCollection."
geoffo joined the channel
#
[schmarty]
i think this is one of those "yes the spec has it, but who actually uses it?" questions. i believe most AP implementations don't actually _poll_ an outbox. for example, to backfill posts the first time an instance gets a request to follow a user on another instance.
#
[tantek]
yep, going to chalk this up to: "if Mastodon didn't implement it, we can skip it too (for now)"
#
[snarfed]
outbox is part of AP, and some fediverse servers do serve it, but it's not commonly used to fetch remote profiles' posts
#
btrem
Sorry to interrupt the AP talk. I finished h-feed. Needed a spreadsheet and lots of trial and error. As with h-card, there are very minor differences between my copy and the Indieweb one.
#
btrem
Link to the PR is in the #meta channel.
#
aaronpk
please do interrupt the AP talk
#
[KevinMarks]
well done. Those tinyicons are fiddly but kinda rewarding puzzles
#
btrem
At first, I missed the "do"; thought it said "do /not/"! :-o
#
btrem
[KevinMarks]: yeah, had to much around with the c command points after converting the numbers mathmatically.
#
btrem
...mathematically.
#
[tantek]
[KevinMarks] "People would be able to reply and like those posts using their Mastodon clients, but those replies and likes would not be visible within the Threads application." via Tom Coates's post (link in #indieweb-stream)
#
btrem
Also fought with git for a bit. I somehow was on the wrong tip when I started my work, leading to what would have been a merge conflict. Had to go back to master the cherry pick my work.
#
[tantek]
checks #indieweb-meta
#
btrem
TIL if I double click a post, my chat client -- Thunderbird/Linux -- puts the author of the post in my chat window with a colon, so I can respond with that person mentioned. Neat!
#
btrem
Also can't figure out how to delete branches that are on origin, but no longer on upstream. All the `git fetch --prune`s in the world did not work. And as I type this, I realize why. --prune removes local refs to deleted branches. It does not remove branches on origin (my copy) that no longer exist on upstream (the one I forked).
#
btrem
So TIL that `git fetch --prune` does not.... :-D