#dev 2022-11-30

2022-11-30 UTC
#
gRegor
[snarfed], minor: BF says 5 followers but when I click through only shows 4. Missing https://toot.cafe/@aciccarello
#
Loqi
Anthony Ciccarello
#
gRegor
I don't see toot.cafe in the logs when I post, either, so maybe that follow back got dropped somehow
walkah joined the channel
#
[tantek]
for the security minded, and in case you were ever tempted to allow a "user option" to view/embed HTML in your content platform/OSS/service: https://portswigger.net/research/stealing-passwords-from-infosec-mastodon-without-bypassing-csp
#
[jacky]
I think they patched this in all of the forks but mainline
walkah and geoffo joined the channel; walkah left the channel
#
[tantek]
yes I believe so and before the blog post was made public
#
[tantek]
like it wasn't a zero day
#
[schmarty]
namecheap is down and i can't update my DNS lol https://www.namecheap.com/status-updates/archives/73591
#
Loqi
[Dmitriy Khablak] [Started] Namecheap.com emergency maintenance
#
aaronpk
TIL namecheap has microformats on their blog lol
#
gRegor
good ole wordpress
#
[ender]
[capjamesg] I tried updating it!
lanodan joined the channel
#
[Michelle_Moore]
[tantek] Thank you!!
#
GWG
aaronpk: Does Compass work with PHP8?
#
aaronpk
I am not sure about that
#
GWG
Seems not to.
oodani and gRegor joined the channel
#
[schmarty]
been having a bit of fun reworking my old micropub clients, trying to extract a bunch of the common plumbing, etc. slowly moving them to a new bayside.pub side and, _i guess_, leaning into this terrible naming scheme i started so long ago. :}
#
[schmarty]
heh, autolinking doesn't recognize dot-pub. okay! it's https://bayside.pub/
[jeremycherfas] joined the channel
#
[snarfed]
gRegor thanks for the report! should be fixed now
angelo, mro and win0err joined the channel
#
jeremycherfas
Is /Together still being developed? It doesn't seem to find my h-card on some posts, although /mf2 does. And it also seems to have trouble with another feed, bringing in old items that I know I have read. Of course, that could be a fault with the feed, although NewsBlur does handle it.
gRegor and gRegorLove_ joined the channel
#
@lordmatt
Panel 2 of #BeansInDungeons. Originally published (and WebMention target): https://matrixdreams.com/beans-in-dungeons/heroes-needed/2021/07/needing-a-hand/ #WebComic #DnD #RatherSilly #IMadeThis
(twitter.com/_/status/1597869921442168833)
mro, alex2, tiim and geoffo joined the channel
#
[snarfed]
re nitter ie de-jsing Mastodon, you could do a bare bones version of that really quickly by just fetching the AS2 versions of actors, objects, etc and passing them through granary
#
[snarfed]
could almost do it with URL munging alone, no code needed, _except_ for conneg
#
[snarfed]
goddamn conneg--
#
Loqi
conneg has -13 karma in this channel over the last year (-16 in all channels)
#
[tantek]
lol snarfed actually said "just need conneg" without emojis/emoticons
#
[snarfed]
can you configure any IFTTT or similar service to add HTTP headers? if so this is doable low/no code
#
[snarfed]
ugh I'm now sorely nerd-snipe-tempted to throw this together quickly
#
superkuh
Dew it.
#
aaronpk
i tried pasting the outbox URL into monocle preview to see if that would work but sadly it does not
#
aaronpk
this is a not-conneg version of the JSON for a user https://mastodon.social/users/apktest/outbox?page=true
#
superkuh
Uhg. Not http either so my local tools can't connect because their ssl is rejected.
#
[snarfed]
but it doesn't have any of the profile content we care about. eg here it is converted to mf2: https://granary.io/url?input=as2&output=mf2-json&url=https%3A%2F%2Fmastodon.social%2Fusers%2Fapktest%2Foutbox%3Fpage%3Dtrue
#
[snarfed]
woo, added the conneg to granary and it works, deploying now
#
[snarfed]
also conneg--
#
[snarfed]
it's live! I think. plug any Mastodon AS2 URL into https://granary.io/?input=as2&output=mf2-json#logins and it will give you mf2 JSON
#
[snarfed]
even the user-visible ones like https://granary.io/?input=as2&output=mf2-json#logins , doesn't need the exact AS2 URLs
#
Loqi
Ryan Barrett
#
Loqi
[Tim Chambers] Welcome to the many, many new users to this instance TONIGHT, and & for many of you, welcome to the #Mastodon & the #Fediverse. Promise this will be different than Twitter for those of you migrating on the Elon news. We're working to make it BETTER t...
barnaby joined the channel
#
Loqi
[https://indieweb.social/users/tchambers] Welcome to the many, many new users to this instance TONIGHT, and & for many of you, welcome to the #Mastodon & the #Fediverse. Promise this will be different than Twitter for those of you migrating on the Elon news. We're working to make it BETTER t...
#
[snarfed]
not pretty, eg no profile picture, but still, server fetchable
#
barnaby
interesting to see opalstack jumping on the managed mastodon hosting bandwagon https://www.opalstack.com/blog/2022/11/29/mastodon-hosting-on-opalstack-is-here/
#
superkuh
I guess I'll use /api/v1/statuses/$statusid for now. I think that gets the full text? But I'm not willing to run the JS to be sure.
#
[tantek]
Anyone know the dev reasons why a Mastodon "explore" page would be empty? https://w3c.social/explore — I know folks on that server are posting things so this seems a bit odd
[manton] joined the channel
#
[manton]
[tantek] Don’t know, but I’ve noticed that in other (usually single-person) instances. It would be very good to document how “trends” work in Mastodon. Probably a post has some threshold of boosts or replies it needs to trend?
#
[manton]
To nitpick, a platform that markets itself as “no algorithms” should probably be transparent about this. Although I know they mean no algorithmic “timeline”, not necessarily no algorithmic other features.
#
aaronpk
also there's no such thing as no algorithm
#
aaronpk
reverse chronological sorting is literally a sorting algorithm
#
[manton]
Yep! Everything is an algorithm, but when people say algorithm they really mean: this does not work in any obvious way.
#
[tantek]
right [manton], the user use of the term "algorithm" (in fact any user having to worry about the term at all) means they are having to stress about something happening that is unpredictable to them
#
[tantek]
obviously all software has tons of algorithms, but they are there to implement the user's expectations
#
[tantek]
an "algorithmic feed" violates user expectations hence it gets labeled that way
#
[manton]
Exactly. I wrote a chapter about this in my book… Which coincidentally features a Tantek quote at the top! https://book.micro.blog/unattended-algorithms/
#
[schmarty]
re: conneg - I know Mastodon has a couple of endpoints that allow for extensions-as-type-hints. e.g. you can get the RSS feed for a give mastodon profile by adding .rss (https://w3c.social/@w3c.rss)
#
Loqi
World Wide Web Consortium
gRegor joined the channel
#
[schmarty]
oh ha my bad. of course it does, this is the profile information, not the outbox. sorry folks.
#
aaronpk
what is algorithm?
#
Loqi
An algorithm in general is a series of steps used to to automatically perform computations and other operations to produce a result; on the IndieWeb many standards have user-centric algorithms for peer to peer site interactions; social media silos have user-exploitative algorithms for advertising and reinforcing addictive behaviors https://indieweb.org/algorithm
#
Loqi
ok, I added "https://www.tbray.org/ongoing/When/202x/2022/11/28/On-Algorithms" to the "See Also" section of /algorithm https://indieweb.org/wiki/index.php?diff=84751&oldid=79076
#
Loqi
ok, I added "https://book.micro.blog/unattended-algorithms/" to the "See Also" section of /algorithm https://indieweb.org/wiki/index.php?diff=84752&oldid=84751
sciamp[m], ash[m], mambang[m], Zagura[m], kandr3s, h4kor[m], Kat[m], cambridgeport90[, AramZ-S[m] and walkah joined the channel
#
@RobbiNespu
Testing webmention on my custom hugo theme made by me from scratch https://journal.robbi.my/posts/markdown-syntax/
(twitter.com/_/status/1598009931877302272)
#
superkuh
Self-hosting an RSS reader seems like such a cargo-cult idea. Don't make it web-shit at all. Just use a native application.
#
[KevinMarks]
I suggest aperture/monocle
#
aaronpk
that's a little more than an RSS reader
#
aaronpk
and arguably not the same experience as you'd expect from a traditional RSS reader
#
[tantek]
who knows what people actually mean when they say "RSS reader"
#
[tantek]
it's a horrible jargon term that has shifted meaning over two decades
#
superkuh
Won't be too long before people are self-hosting browsers in a browser.
#
[tantek]
superkuh, FirefoxOS already did that 🙂
#
[snarfed]
re Bridgy Fed post links inside Mastodon: BF aggressively uses the site's original URLs for AP object ids/urls, _except_ in a handful of parts where Mastodon interop requires their domain to be the same domain that's serving them. in those cases it uses the /r/ URL you saw that redirects back
#
[tantek]
snarfed++ looks good and makes sense! bridgyfed++
#
Loqi
bridgyfed has 3 karma over the last year
#
Loqi
snarfed has 46 karma in this channel over the last year (85 in all channels)
#
[snarfed]
you can also get rid of that visible link in your post, probably by putting it outside e-content
#
[tantek]
it's fine. if my blog posts help increase awareness of Bridgy Fed, so be it
#
[tantek]
at least some of the webdev audience I have digs into anything that looks "interesting" in my posts, so I do like little crumbs & clues like that
#
gRegor
snarfed++ very cool. Might be good to mention articles explicitly in the docs. I held off federating because it wasn't clear if it would send full text.
#
Loqi
snarfed has 47 karma in this channel over the last year (86 in all channels)
#
[KevinMarks]
Terence Eden has most of the pieces to use a social reader already, he may need to app micropub
#
gRegor
The fed.brid.gy link looks more obvious to me than the muted color link preview under the Mastodon post, so that's cool
#
gRegor
No image in my link preview, so that probably is part of it being less obvious
#
[tantek]
gRegor, glad to be the canary 😂
#
gRegor
Though worst case, guess it could have let to me trying Mastodon delete posts :)
#
[snarfed]
should be straightforward
#
Loqi
[swentel] #30 Allow posts to be deleted
barnaby joined the channel
#
gRegor
[snarfed], Does BF convert p-category to hashtags? I tried a hashtag in the post text but doesn't look like it linked it on masto
#
gRegor
(I didn't try with p-category yet)
#
Loqi
[EdwardHinkle] #45 Post with hashtag doesn’t get linked?
#
gRegor
sorry, I really should search issues first! snarfed++
#
Loqi
snarfed has 48 karma in this channel over the last year (87 in all channels)
benatkin joined the channel
#
[ender]
https://book.micro.blog/ is cool ...
#
[ender]
is it possible to create an rss feed from an h-feed?
#
[ender]
I think granary will work, nvm
#
IWDiscordRelay
<c​apjamesg#4492> Ah yes! That book was published by [manton] I believe.
#
IWDiscordRelay
<c​apjamesg#4492> [ender] I use granary for that.
#
IWDiscordRelay
<c​apjamesg#4492> What is unmung?
#
IWDiscordRelay
<c​apjamesg#4492> https://IndieWeb.org/unmung
#
IWDiscordRelay
<c​apjamesg#4492> Unmung also supports the opposite conversion — rss to feed — but I think Granary does too.
#
gRegor
[ender], yep, I use granary to convert my h-feed to Atom
jamietanna joined the channel
#
jamietanna
snarfed++ is it expected that https://granary.io/url?input=as2&output=html&url=https%3A%2F%2Findieweb.social%2F%40tchambers does't show any posts, just the profile?
#
Loqi
snarfed has 49 karma in this channel over the last year (88 in all channels)
#
Loqi
Tim Chambers
geoffo joined the channel
#
[snarfed]
jamietanna yes, because the https://indieweb.social/users/tchambers AS2 object itself is just the profile
#
Loqi
Tim Chambers
#
[snarfed]
posts may be in the outbox, https://indieweb.social/users/tchambers/outbox, but there's no guarantee that they'll actually be there, or how many
#
[snarfed]
looks like they're there if you follow the paging, eg https://indieweb.social/users/tchambers/outbox?page=true
#
[snarfed]
unrelated, I've been trying to get bio and web site links to show up in BF's profiles on Mastodon. Mastodon puts them in the summary and attachment fields, but it's not rendering those fields from BF, even after I send Update activities for the profiles 😐
jamietanna joined the channel
#
jamietanna
Ah interesting. Trying to find the best way to follow Mastodon folks in Aperture, cause I'm seeing 0 posts from RSS for some folks, and for others I get the posts but i.e. no photos, so I still need to open them up on the source site
#
[snarfed]
yeah I don't know how reliable mastodon AS2 collections to granary will be. I suggest you follow them via BF and then use your BF feed instead
jamietanna joined the channel
#
jamietanna
Gotcha, thanks!
#
@brianwisti
↩️ And http://webmention.io is a hosted service that can likely do what you need. I have one core identity at http://randomgeekery.org, and other toy sites point to my http://webmention.io endpoint for that site. They show up as interactions for one site, but URLs disambiguate.
(twitter.com/_/status/1598070705673105410)
#
Loqi
[snarfed] #21904 How can federated actors' summary and attachment fields get rendered?
#
aaronpk
huh i was able to do that
#
aaronpk
[snarfed]: the json in your attachment properties look a little wonky
#
aaronpk
i think they require "name" too
#
[snarfed]
I'll try that
#
aaronpk
tantek's bio looks like it's showing up
#
[snarfed]
not for me on https://indieweb.social/@tantek.com@tantek.com . is it doing client-specific caching?!
#
aaronpk
i see it on mastodon.social
#
Loqi
Tantek Çelik
#
[snarfed]
well that's semi good news then, even if the caching is frustrating
#
[snarfed]
aaronpk but you don't see his links yet, right?
mro joined the channel
#
gRegor
I see the bio, no links for tantek
[mattl] joined the channel
#
[mattl]
I just looked him up on there for the first time. I see a bio and no links too
#
Loqi
[mattl]: tantek left you a message on 2020-02-12 at 6:25pm UTC: tomorrow is the 2 year anniversary of the closing of the W3C Social Web Working Group! https://www.w3.org/wiki/Socialwg if you have any particular updates regarding SocialWG/IndieWeb specifications that you worked on or implemented, consider this a good time to post about
#
gRegor
A wild mattl appears! wb o/
#
aaronpk
[snarfed]: i'm still seeing the same JSON from fed.brid.gy
#
[mattl]
[gRegorLove] yeah, it’s been… a while.
#
[snarfed]
aaronpk yeah I just now deployed the fix
#
[snarfed]
and yay name fixed it, thank you
#
Loqi
😃
#
[snarfed]
ok I can close that issue then
tiim joined the channel; tiim left the channel
#
[snarfed]
ugh links are rendering badly
#
[snarfed]
ah nm it's still me 🤦‍♂️
neceve joined the channel
#
gRegor
angelo, tracydurnell: I think it was you two at HWC I was talking with about Mastodon a couple weeks ago? Found the post I was looking for at the time:
#
aaronpk
heh, we're not the only ones who have much more recent editors' draft versions of specs than what is on w3.org https://w3c.github.io/webcrypto/
#
aaronpk
found via https://www.chromium.org/blink/webcrypto/ "The version on w3c.org is horribly out of date"