#dev 2023-02-19

2023-02-19 UTC
#
[tantek]
jacky++ thank for sharing that about moderation, that's a great thread
#
Loqi
jacky has 26 karma in this channel over the last year (69 in all channels)
#
[tantek]
moderation << Federated/decentralized considerations: https://hachyderm.io/@hrefna/109887787033151885
#
Loqi
ok, I added "Federated/decentralized considerations: https://hachyderm.io/@hrefna/109887787033151885" to the "See Also" section of /moderation https://indieweb.org/wiki/index.php?diff=86723&oldid=84604
#
[tantek]
moderation << ^ Of particular interest for [[diversity]] & inclusion per second post in thread: https://hachyderm.io/@hrefna/109887787074284617
#
Loqi
ok, I added "^ Of particular interest for [[diversity]] & inclusion per second post in thread: https://hachyderm.io/@hrefna/109887787074284617" to the "See Also" section of /moderation https://indieweb.org/wiki/index.php?diff=86724&oldid=86723
#
[tantek]
re: Mastodon's habit of making "instance-local" permalinks for any post that goes to any inbox on that instance, do those URLs return a rel=canonical link back to the original at least so one can automatically detect the original?
#
gRegor
they're js;dr now right? So I doubt it. Don't think they did before though, either
#
gRegor
Aside from stylesheets and icons, only rels I see are dns-prefetch and manifest on one of my BF status pages
#
[tantek]
sorta. I don't think js;dr and link rel=canonical have any particular correlation or not
#
[tantek]
I checked https://xoxo.zone/@tantek.com@tantek.com/109877487288621969 for example (which works because I'm still logged in there somehow) and no rel=canonical which is too bad. That feels like an "easy" upgrade of such instance-local-permalinks
#
gRegor
I guess if the fetching client actually runs the JS to get the HTML, but how many do that?
#
aaronpk
mastodon does different things depending on whether you're logged in
#
aaronpk
if you visit the URL while logged out it returns a 302 redirect, which is arguably better than rel=canonical
#
aaronpk
it mostly "just works", in that if you send that link to someone else, they will get redirected to the original, but if you visit it yourself, you'll see it in your instance so you can interact with it
#
gRegor
Does that apply for native Mastodon posts too, not indieweb setups?
#
gRegor
Alice posts on xoxo.zone, view it while logged out on mastodon.social, does it redirect?
#
aaronpk
yes, there isn't a distinction as far as mastodon is concerned
#
gRegor
oh, didn't realize that
#
[tantek]
good to know aaronpk, yes the 302 is better than a canonical
#
[tantek]
gRegor, Mastodon can't "tell" the difference between "native Mastodon posts" and "indieweb setups" federated via Bridgy Fed, that's part of the point 🙂
#
gRegor
It's mostly magic to me so I wasn't sure XD
angelo joined the channel
#
[tantek]
Bridgy Fed is definitely sufficiently advanced technology to me too 🙂
#
IWDiscordRelay
<c​apjamesg#4492> I listened to an interesting podcast earlier...
#
gRegor
Whoa, big GoDaddy WordPress breach. https://www.bleepingcomputer.com/news/security/godaddy-hackers-stole-source-code-installed-malware-in-multi-year-breach/ "affecting 1.2 million Managed WordPress customers ... They gained access to the email addresses of all impacted customers, their WordPress Admin passwords, sFTP and database credentials, and SSL private keys of a subset of active clients."
#
[tantek]
GoDaddy << Massive managed WordPress breach: 2023-02-17 [https://www.bleepingcomputer.com/news/security/godaddy-hackers-stole-source-code-installed-malware-in-multi-year-breach/ GoDaddy: Hackers stole source code, installed malware in multi-year breach]
#
Loqi
ok, I added "Massive managed WordPress breach: 2023-02-17 [https://www.bleepingcomputer.com/news/security/godaddy-hackers-stole-source-code-installed-malware-in-multi-year-breach/ GoDaddy: Hackers stole source code, installed malware in multi-year breach]" to the "See Also" section of /GoDaddy https://indieweb.org/wiki/index.php?diff=86725&oldid=77937
#
[schmarty]
yiiiikes
#
[tantek]
yeah that deserve to go on their permanent record
[KevinMarks] joined the channel
#
prologic
aaronpk re contend addressing woes and edits. you can detect an edit and deal with that really, its complete deletes that are more interesting to deal with
marissa, geoffo, gRegor, gRegorLove_ and mro joined the channel
#
prologic
Someone able to show me (at all) what an Accept object looks like to accept a Follow request?
#
prologic
Ahh!
#
prologic
Thank you very much!
#
prologic
Can you also explain how the ID should match the original Follow request recieved?
#
prologic
Is it the outter activity id that needs to match? or the inner object?
#
aaronpk
i think only the actor urls need to match?
#
aaronpk
so this is one that my server received
#
aaronpk
mastodon put my object ID in the object
#
aaronpk
so it's saying "yes I accepted your follow object" so the inner ID is *my* object ID
#
aaronpk
the outer ID is the ID of the new accept activity
#
prologic
yeah so the inner ID has to match the originally received Follow Id
#
prologic
👌
#
aaronpk
i don't think i'm actually checking that on mine, i wonder if that's bad
#
prologic
who the hell knows
#
aaronpk
i don't really care about the activity, i care about the person
#
prologic
I'm also wondering at this point about ids
#
aaronpk
a lot of this stuff seems unnecessary
#
prologic
I'm not really doing anything with them, because I simply don't care
#
aaronpk
and if it is actually necessary, then it is really poorly explained
#
prologic
same here
#
prologic
If this doesn't work for whatever reason
#
prologic
I'll just use uuid or ulid as ids and call it a day
#
prologic
I literally gives zero shits about tracking activities
#
prologic
I'm even going to try very hard to avoid building an "Outbox"
#
prologic
:)
#
aaronpk
i think you are coming to the same conclusion that many people who start building this stuff realize, which is that there is actually a very small subset of the activitypub spec that is actually needed and useful for shuffling this data around
#
aaronpk
it just reports the total number of posts. which i don't think is even used anywhere, because the post count you see from mastodon is coming from my actor profile JSON
#
prologic
Yeah
#
prologic
this is what happens when you over engineer a spec I guess :)
#
aaronpk
over in some places, under in others
#
prologic
love it 😝
geoffo joined the channel
#
prologic
yeah some of the specifics are rather sparse
#
prologic
hence my dumb ass questions
#
prologic
But I'm taking notes, so hopefully I can update the IndieWeb wiki page on this soon
#
aaronpk
and everyone's "test against mastodon until it works" approach
#
prologic
and maybe even build a few CLI tools for static websites
#
prologic
yeah in this case I'm testing against GTS
#
prologic
because standing up Mastoon is "too hard"™
#
prologic
seriously its insane
#
aaronpk
i did it using docker once and i never want to do that again
#
prologic
Also I've found an issue already with micro.blog, it doesn't seem to lookup my actor
#
prologic
despite no failures on my side
#
prologic
If it takes more than ~5mins to spin something up you've lost me already
#
prologic
plain and simple
#
prologic
if it requires a freak'n SQL/RDMB database, I'm out
#
prologic
:D
#
prologic
(at least an external one that is)
#
prologic
now let's see how badly I've gotten some of this
#
prologic
I've ended up writing so much untested code now :)
#
prologic
but mostly borrowing from my websub impl, because I started to realize hos similar the two patterns really were/are
#
prologic
except that I use websub to notify pods of twtxt feeds that are updated (its primary use case realy for websub, "hey thing X is updated!")
gRegorLove_ joined the channel
#
prologic
moment of trust 🤞
#
prologic
see how many things I got wrong 🤣
#
prologic
after fixing up a few stupid typos and b ugs
#
prologic
yarn_yarn.1.utgotvynowsb@dm6.mills.io | time="2023-02-19T06:08:28Z" level=error msg="error parsing object" error="error: unsupported object \"Undo\""
#
prologic
yeah okay not sure that I care all taht much about Undo activites righ tnow :D
#
aaronpk
That's what you get when someone deletes a post
#
aaronpk
I ignore them right now 🙈
#
prologic
I pretty much will be to
#
prologic
maybe I might do something with Undo+Follow
#
prologic
But that's about it
#
prologic
Dunno, we'll see :)
#
prologic
The problem with Undo btw... in case no-one has brought this up before, is you can't trust it at all
#
prologic
There is absolutely no way you can tell (unless you also track the originating Note) that the Actor who sent the Undo for a Note actually owns said Note
#
prologic
and then you can get into all kinds of bad actor bs (no phun intendeed) :D
#
prologic
Ahh hell
#
prologic
I'm getting 401 Unauthorised responses from doing lookups on actors on GTS again :/
#
prologic
Debugging this is gonna be hard, so many flows back 'n forth :(
IWSlackGateway joined the channel
#
prologic
Maybe someone can help me spot wha tI'm doing wrong :D
#
prologic
So Follow requests (inbound) and Accept+Follow (outbound) and Note (outbound) are working now between Yarn and micro.Blog
#
prologic
However I don't see my post on micro.Blog :/
#
prologic
so no idea wtf is going on there (seems to be going into the void /dev/null :/ )
mro and gRegorLove_ joined the channel
#
prologic
How else can I test my AP impl?
#
prologic
🤔
[pfefferle], mro and [KevinMarks] joined the channel
[jeremycherfas], gRegor, geoffo, mro, [felix_wenzel73], [TMichelleMoore], bterry1 and IWSlackGateway joined the channel
#
@stevenwoodson
Joining the IndieWeb with Webmentions and Microformats @ https://stevenwoodson.com/blog/joining-the-indieweb-with-webmentions-and-microformats/ #indieweb #webdevelopment #webdeveloper #webdev #howmanyhashtagsforwebarethere
(twitter.com/_/status/1627445311122599938)
#
@stevenwoodson
↩️ There's been a lot written about Webmentions and Microformats by really smart people. Rather than rehash all the details of getting it working, I think it’s better to list all the resources that helped me understand and/or integrate Webmentions instead. Hope it helps you too!
(twitter.com/_/status/1627445313064534016)
geoffo joined the channel