#dev 2023-01-31
2023-01-31 UTC
lanodan joined the channel
# [snarfed] afaik none, https://docs.joinmastodon.org/spec/activitypub/#sanitization , but that's only implied, feel free to try!
GWG, IWSlackGateway, [jacky] and [tantek] joined the channel
geoffo joined the channel
# [tantek] like https://mastodon.social/ — anyone else?
# starrwulfe[m] uploaded an image: (18KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/phLbHWGURwffdzkLREktbSxq/image.png >
# starrwulfe[m] ...and we;re back
# starrwulfe[m] well my mastodon is up... (mastodon.cloud)
# starrwulfe[m] Soonish. The disambiguation is needed
# Loqi It looks like we don't have a page for "thundering herd" yet. Would you like to create it? (Or just say "thundering herd is ____", a sentence describing the term)
# [tantek] Interesting (and a bit hilarious), the Wikipedia computing definition is for an *even older* kind of thundering herd: https://en.wikipedia.org/wiki/Thundering_herd_problem
[snarfed] joined the channel
# [snarfed] fwiw Mastodon itself already renders articles as just name + permalink, no content. https://fed.brid.gy/docs#which-parts
# [0x3b0b] My secondary account is on an Akkoma instance with the Mangane front-end. It shows my articles as a title linking to the article on my site/instance, followed by the first 700 characters or so of the article cut off by a "Read more >" which leads to a full local view of the article (still with the title link to my site at the beginning), and the local view...keeps my paragraphs, emphasis, strong, and code formatting, but *not* headers.
[aciccarello] and IWSlackGateway joined the channel
# [0x3b0b] By contrast, I can't figure out a way on infosec.exchange to view my profile or any of my posts - basically anything except the fact that I exist - without getting redirected to my site. I've been meaning to check on their federated timeline right after I make a post to try to figure out whether federation is failing.
[snarfed] joined the channel
# [snarfed] s/on top/a fork/ https://coffee-and-dreams.uk/development/2022/06/24/akkoma.html
# [0x3b0b] aaronpk: That depends on the context and the instance. I can view their federated timeline and look at posts from other instances as presented on their instance, but remote profiles redirect to their home instances. And on Indieweb.social I can view my local profile (https://indieweb.social/@0x3b0b@bw3.dev) but since nobody there follows me, that's all (and all I'd expect). I *do* have followers on infosec.exchange.
# [snarfed] 0x3b0b if you're logged into indieweb.social, you'll be able to view remote profiles and posts there. eg https://indieweb.social/@snarfed.org@snarfed.org
# [0x3b0b] But I once scrolled through the infosec exchange federated timeline to a point at which I thought I'd posted something and didn't find it - which made sense later, when I realized what I'd gone looking for shouldn't have been in the timeline due to its visibility 🤦, but I haven't subsequently verified that federation to that instance is in fact working as expected. I also don't remember why I suspected it wasn't, though.
# [0x3b0b] [snarfed]: I don't have an account on indieweb.social, so both that link and the one I posted actually redirect to our respective sites, but if I actually search for myself there, the search result takes me to a local representation of my profile with that URL, whereas at infosec.exchange even the search result redirects me to my site.
# [snarfed] oh interesting, that's true for BF profiles too. direct URLs like https://mas.to/@snarfed.org@snarfed.org redirect if you're logged out, but searching for @snarfed.org@snarfed.org on https://mas.to/search and then clicking shows the profile instead of redirecting
[jacky] joined the channel
# @cagrimmett ↩️ On my regular blog/personal site, no. On my digital garden, yes, because I use pages as my primary post type and want pingbacks/trackbacks/webmentions to show up there, all of which are tracked as comments. (twitter.com/_/status/1620258303761678338)
[schmarty], [James_Van_Dyne], [tantek], strugee_, mro, bterry1, [KevinMarks], player2 and [Murray] joined the channel
# @kecrily 很久之前就了解到 Webmention,但一直没用。
今天试了一下,发现 Twitter 的结构化评论会被拆成无关联的多个评论。
导致最后产生的评论列表一片混乱,阅读困难,还在考虑要不要实际部署。 (twitter.com/_/status/1620385282137944065)
mro, lagash_, pharalia, [dave], geoffo and gRegor joined the channel
mro joined the channel
# Loqi sanitize, specifically "sanitizing HTML", "sanitizing for (display inside) HTML", or "sanitization" is a common operation performed by any site which displays content from external sources, including user entry https://indieweb.org/sanitize
[manton] joined the channel
[aciccarello] joined the channel
# [aciccarello] haha
# [aciccarello] [manton] Are you able to determine if a server is mastodon or do you do that for all ActivityPub servers?
# [manton] [tantek] There’s a list here under “Allowed HTML tags”: https://help.micro.blog/t/timeline-display-rules/29
# [aciccarello] True. I was wondering if there was any way to avoid sinking to the lowest common denominator experience in AP
# [snarfed] ok now I'm curious. let's see...Pleroma: evidently supports more, https://docs-develop.pleroma.social/frontend/user_guide/posting_reading_basic_functions/#rich-text , haven't found details yet though
# [snarfed] Friendica: https://wiki.friendi.ca/docs/bbcode
# [tantek] some really interesting allow-list of HTML tags differences between WordPress and micro.blog, take a look: https://indieweb.org/sanitize#Software_Examples
# [tantek] [snarfed] could you add those to https://indieweb.org/sanitize#Software_Examples ?
[chrisaldrich] joined the channel
[TMichelleMoore] joined the channel
# [KevinMarks] No <s> or <q>, or <dl><dt><dd> then?
# [KevinMarks] The elk.zone masto app renders some markdown
# [KevinMarks] Agreed. I was amused that dw got both things he asked for while claiming something else.
nertzy joined the channel
[will] joined the channel
paulrobertlloyd joined the channel
# paulrobertlloyd Hi @aaronpk; trying to run an instance of Atlas, but is been a long time since I’ve done anything with PHP. How do you serve the app, Apache/Nginx? (My host uses Nginx). Do I need to set up one of the folders as the root perhaps?
# [KevinMarks] Mastodon was web and has deviated, in fact is moving against the trend to server side rendering AKA actual Web
paulrobertlloyd joined the channel
# paulrobertlloyd I’m using Railway with Nixpacks, turns out setting environment variable LARAVEL=yes points the nginx config to the right folder. Is this a Laravel app? Anyway, some sort of progress, but now getting an error from Savant3: https://paulrobertlloyd-atlas-production.up.railway.app
# paulrobertlloyd Am thinking composer install was run, but maybe not…
paulrobertlloyd joined the channel
# paulrobertlloyd Ah… I’ll have gander. If not, will see what bits need updating to work with PHP8.
# paulrobertlloyd Righteo… having a poke around with a locally running copy. Thanks for the pointers!
# paulrobertlloyd aaronpk++
nertzy joined the channel
paulrobertlloyd joined the channel
# paulrobertlloyd Hey tank, and why, thank you ☺️
# paulrobertlloyd *tantek
# paulrobertlloyd Focusing my attention back on my own website for a bit, thus the Atlas question.
# paulrobertlloyd Seems like Savant3 + PHP8 is a no go. Wondering if there are any modern equivalents… man, this stuff is never easy! Yak shaving all the way down.
# [tantek] has anyone watched this video about how to improve social media interop? https://www.eff.org/interoperablefacebook
# gRegor https://github.com/tantek/cassis/issues/37#issuecomment-1381017238 I'm not sure how to do that in Github Actions though
# Loqi [preview] [gRegorLove] I'm taking another look at this. From [shortly after](https://chat.indieweb.org/dev/2022-10-27#t1666829194999700) this issue in the chat logs, looks like we need to automate running post-process.php in GitHub Actions for new releases.
# gRegor The context was the /this-week PHP script, so it was using cassis.php