#dev 2022-12-03

2022-12-03 UTC
[James_Van_Dyne] joined the channel
#
[James_Van_Dyne]
[snarfed] I’m experimenting with posting GitHub issues from my site and backfeeding comments on them. I was able to publish the reply via Brid.gy without problems and it created this issue. I also left a comment on the issue to see how they would backfeed, but comments don’t appear to be being backfed. i.e. I put the github issue url in Resend for post field and Bridg.y says no webmention targets. Any ideas what might be
#
[James_Van_Dyne]
going on? 🙏
#
[James_Van_Dyne]
I’ve used the same pattern successfully with Mastodon / Twitter via bridgy in the past and brid.gy has backfed webmentions without issue.
[timothy_chambe] joined the channel
#
[snarfed]2
[James_Van_Dyne] can you post an example url or your Bridgy user page?
#
[James_Van_Dyne]
[snarfed] Do you mean where it says like “an hour ago”?
#
[James_Van_Dyne]
https://github.com/jamesvandyne/tanzawa/issues/264 is an example issue (which also has a link to my post)
#
Loqi
[preview] [jamesvandyne] #264 Response to Allow editing of bookmark/reply titles
#
[snarfed]2
Thanks! Will look
geoffo joined the channel
#
[snarfed]2
[James_Van_Dyne] oh the only comment is from you, Bridgy generally won't backfeed that. it uses GitHub notifications, which don't include your own comments. https://brid.gy/about#GitHub%20responses
#
[snarfed]2
the resend button should maybe work though, I'll look into that
#
[James_Van_Dyne]
Ah ok. That makes sense. I’m thinking of using GitHub issues the way Simon Willison has with his datasette project where issues are like a lab notebook. So trying to keep that data someplace I own.
#
[James_Van_Dyne]
Thanks for looking into it!
#
[James_Van_Dyne]
Thanks for looking into it!
#
[tantek]
snarfed, I'm curious what happens when I change the slug (thus permalink) of a post that I've federated through Bridgy Fed. Will it still track the post or will it not connect the old URL to the new URL despite redirect?
#
[tantek]
like if someone on a Mastodon "likes" the old post permalink, is Bridgy Fed following sufficient redirects to send that webmention to the new post permalink?
#
[snarfed]2
I think the wm would be sent with source of the old url, and target page will contain the old url, so it'd be up to your wm endpoint
#
[snarfed]2
Which is wm.io, so it would, but then your site would have to handle that
sp1ff joined the channel
#
[KevinMarks]
If you edit a post on mastodon it loses existing likes and boosts AFAIK
sp1ff` joined the channel
#
[chrisaldrich]
Noticing something funny, odd, and very indiewebby on Mastodon. Can one put HTML, particularly text with wrapped links, directly into Mastodon and have it render properly? I just noticed that the only clickable links in most people's posts are @names, #hashtags, and raw URLs. I hadn't really seen any wrapped links on text until my own post just now (the one above this post:
#
[chrisaldrich]
https://mastodon.social/@chrisaldrich/109448748757048796. Am I missing something for how to do it in general, or is my ability to do it thanks to the IndieWeb magic of mirroring my site into the Fediverse with the ActivityPub plugins for WordPress? Has anyone else noticed this or gotten it to work on an instance?
#
Loqi
[preview] [Chris Aldrich] @chrisaldrich@boffosocko.com Dude!!! How did you manage to inject raw HTML into your mastodon posts?!? I want to wrap text in links like that! Most people posting only get basic links by inserting URLs or #hashtag links. How does one do this?!? We ha...
mro joined the channel
#
[KevinMarks]
ActivityPub supports html, but Mastodon has an autolink only ui and has rejected styling and markdown input a few times.
tiim joined the channel
#
@lordmatt
I would like to discover blogs. I am particularly interested in #niche or personal #blogs especially if they have fewer than a thousand regular readers. (My broad definition of a blog includes sites that accept WebMentions). Please hit me with links… https://mastodon.social/@lordmatt/109448841017804511
(twitter.com/_/status/1599012626436071424)
[eddie] joined the channel
#
[tantek]
Great post. Worth adding to the Gift Calendar IMO
#
[tantek]
Also let’s send a webmention from that and here in the chat archives 😆
#
[tantek]
!tell snarfed heads-up in case Bridgy Fed is vulnerable to this kind of attack: https://github.com/misskey-dev/misskey/pull/9247
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[preview] [Skehmatics] #9247 fix(server): "forkbomb" DOS mitigation
#
[schmarty]
edent++ great post! my favorite takeaway is "oEmbed [...] a massive faff" 😂
#
Loqi
edent has 1 karma in this channel over the last year (3 in all channels)
#
Loqi
faff has -1 karma over the last year
#
[snarfed]2
[chrisaldrich] [KevinMarks] I haven't investigated deeply, but Mastodon definitely does support some HTML in AP object content! Ie, beyond just auto linking and what you can compose in their UI. Including arbitrary links and formatting
#
[snarfed]2
edent's post reminds me of https://sebastiangreger.net/2018/05/indieweb-privacy-challenge-webmentions-backfeeds-gdpr/ , which is more abstract, and notably Daniel Goldsmith's comment on it, which is spot on
#
Loqi
[preview] [Sebastian Greger] The Indieweb privacy challenge (Webmentions, silo backfeeds, and the GDPR)
#
[snarfed]2
That fork bomb issue is fascinating, but sadly way too light on details
#
[snarfed]2
Bridgy Fed isn't vulnerable because it doesn't do complete activity resolution. Which maybe it should, but 🤷‍♂️
#
aaronpk
Yeah i want to see more details on that fork bomb
#
aaronpk
what kind of "resolution" are they talking about?
#
aaronpk
Also does that imply JSON-LD resolution could have a similar problem?
#
[manton]
Not fully understanding that fork bomb. I ignore JSON-LD in my implementation too, by the way. I consider it noise.
#
aaronpk
I would love to do an update to the spec based on the implementation experience of it and remove the LD part tbh
#
@dimensionmedia
Deep into nerdism today for me: "The ethics of syndicating comments using WebMentions” (via @edent) https://shkspr.mobi/blog/2022/12/the-ethics-of-syndicating-comments-using-webmentions/
(twitter.com/_/status/1599062904757796866)
mro joined the channel
#
[manton]
[aaronpk] I’d love that.
#
[manton]
If you look at the JSON for most user profiles on Mastodon.social, the `@context` part is just about as big as the rest of the JSON.
#
aaronpk
yeah it's quite a mess
#
aaronpk
it's too bad that you can't even hint that LD is pointless without superfans coming out of the woodwork to defend it
#
[manton]
Gotta pick your battles.
geoffo joined the channel
#
@ethicsBot_
https://shkspr.mobi/blog/2022/12/the-ethics-of-syndicating-comments-using-webmentions/ Muito interessante. É ótimo ver alguém pensando nisso em detalhes, em vez de apenas dizer, ooh tecnologia legal.
(twitter.com/_/status/1599104383496687616)
#
@lilianedwards
https://shkspr.mobi/blog/2022/12/the-ethics-of-syndicating-comments-using-webmentions/ Very interesting . Great to see someone thinking this through in detail rather than just going, ooh cool tech.
(twitter.com/_/status/1599104354677563393)
#
Loqi
[preview] [Ruud] To all Mastodon-admins: seems like there's an attack on all instances by troll accounts. Servers get slow because of it. They use thousands of subdomains of activitypub-troll.cf. My 'pull' queues skyrocketed.I now blocked the domain activitypub-trol...
mro joined the channel
#
sknebel
what is apache?
#
Loqi
Apache is widely deployed open source web server software https://indieweb.org/Apache
#
sknebel
apache << Tuning/optimiziation guide: https://github.com/ptudor/betterhttpd
#
Loqi
ok, I added "Tuning/optimiziation guide: https://github.com/ptudor/betterhttpd" to the "See Also" section of /Apache https://indieweb.org/wiki/index.php?diff=84885&oldid=69498
#
[snarfed]2
^ always odd when people publish a blog post/page on a github repo
#
[snarfed]2
I assume they hope they'll get community contribution PRs?
#
Loqi
[preview] Paul Kinlan - Modern Web Development with Chrome
mro, gRegor, geoffo and tiim joined the channel
#
IWDiscordRelay
<c​apjamesg#4492> Why are HTML tables not responsive on mobile devices out of the box?
#
IWDiscordRelay
<c​apjamesg#4492> I know CSS is for styling but I wonder why the default table doesn’t wrap on mobile.
#
[snarfed]2
table UX is notoriously difficult on small screens
#
[snarfed]2
how do you wrap a table? should you? open question 😁
#
[snarfed]2
pretty much all spreadsheet-style UIs I've seen on small screens scroll instead because wrapping a table is confusing
#
[Murray]
snarfed has said it better, but to keep tabular content readable you pretty much always need to scroll and keep the original aspect ratio
#
[Murray]
it's certainly not something I'd want to see browsers attempt to guess at; way too many edge cases. Tables can have multiple heading cells/levels; they may be optimised for y-axis headings (rather than the normal x-axis); they may have specific columnal relationships where data should be shown together to get the complete picture 😬
#
[Murray]
I'd say that scrolling _is_ the responsive layout for for a table 😄
#
[KevinMarks]
If you don't do the mobile Web incantations in the head then the browser will fit the table to screen width and expect you to pinch zoom.
#
gRegor
plus tables with fixed pixel width and spacer gifs are the pinnacle of web design ;)