#dev 2025-02-06

2025-02-06 UTC
[Sophia_wood] joined the channel
#
carrvo
I figured out what was wrong with trying to override the DNS on my box! So now I *can* log into external services.
#
carrvo
However, IndieLogin.com is not working with my MIndie and my logs are not helpful (after a few iterations). aaronpk, might there be more insight from the logs on the other side of the requests?
#
_pi_r2_0[d]
TIL `font-family: system-ui, sans-serif;`
#
aaronpk
@carrvo what's your domain? i might be able to find some logs
#
carrvo
aaronpk[d] turner.enemyterritory.org
#
aaronpk
hm, i see several errors, the most recent is: `Invalid response from IndieAuth server {"response":{"invalid_request":""}}`
#
aaronpk
IIRC the part of that coming from your server is `{"invalid_request":""}`
#
carrvo
So nothing more than it displays. I'll have to try more on my end tomorrow then. I got to the point where my logs think that the code is invalid at the last step.
#
carrvo
aaronpk++
#
Loqi
aaronpk has 56 karma in this channel over the last year (138 in all channels)
grufwub joined the channel
#
carrvo
I bet IndieLogin.com does not use scopes and I did not test that!
#
aaronpk
oh, yeah it doesn't ask for a scope because it doesn't need your name or email
glacier joined the channel
#
carrvo
I'm a bit surprised that my code would require it.
#
carrvo
Yup. Stuck an untested bandaid on prod that worked with IndieLogin.com!
[morganm], progrium, z428 and nemonical joined the channel
#
[tantek]
PGN has a decent set of properties, and the moves portion is nicely human + machine readable.
#
[tantek]
However its front matter has an awkward one-off baroque syntax that would benefit from YAMLization at a minimum
#
[tantek]
I think I may experiment with plain text then minimal semantic markup then minimal h-x-chess-game experimental classes and see how easy it is to convert to PGN
#
[tantek]
Does anyone else post "moved" of any kind of game on their site?
GuestZero, Guest6, Xe, [Murray], barnaby, ttybitnik and [pfefferle] joined the channel
#
carrvo
aaronpk, I just looked at indieauth-client-php (what I tested against) and it never touches the token endpoint when there are no scopes. Is there a particular reason why IndieLogin.com is different?
#
aaronpk
oh, indieauth-client-php might be a version out of date
#
carrvo
😢
Chailotl joined the channel
#
aaronpk
indielogin.com uses the library but not the quickstart method in the library, because it tries to be more helpful in providing debugging error messages so i needed to go one layer deeper
#
carrvo
Then a vanilla SelfAuth+MinToken should not be compatible with IndieLogin.com. If there is no token endpoint, does it still fall back to the other one?
#
Chailotl
Hi, I'm having trouble trying to get indieauth.com to see my `rel="me"` links on my website, it also fails to recognize my `rel="pgpkey"` as well
#
carrvo
aaronpk++ I have noticed difficulties retrieving errors. I may raise a PR/MR for some log messages that I have found particularly useful.
#
Loqi
aaronpk has 57 karma in this channel over the last year (139 in all channels)
#
Chailotl
What's weird is that micropub.rocks was able to see my `rel` endpoints just fine
#
aaronpk
@carrvo i just checked the code and it looks like indielogin.com should fall back to the old behavior if there is no token endpoint found
#
doesnm
pgp is disabled afaik
#
doesnm
Chailotl:
#
aaronpk
Chailotl: those two projects use different stacks so it's possible it might be an issue with the tls certificate, what is your domain?
#
Chailotl
I'm currently using an ssh tunnel for local testing, the domain is nominally https://axoga.to, but I'm testing with https://0gck4r79-4321.use.devtunnels.ms/
ttybitnik joined the channel
#
Chailotl
The local webserver doesn't have a certificate, but I do not know if the ssh tunnel is doing anything; it's probably likely since it's using https
#
aaronpk
it looks like there's some interstitial on that tunnel URL, this is what I see when I visit in my browser https://media.aaronpk.com/2025/02/06090755-9021.png
#
aaronpk
so any curl client is not going to get through the tunnel because it requires some sort of cookie to be set first
#
Chailotl
Ah, I had a feeling it was something like that, but my curl command didn't show anything was off (did it pull cookies from my browser?)
GuestZero_ joined the channel
#
aaronpk
might be matching on your IP address
#
aaronpk
i have no idea what MS is doing with the tunnel service
#
Chailotl
Probably, yeah, well thank you anyways, guess I'll just have to publish this to my VPS proper
h4kor, gRegor and progrium joined the channel
#
Chailotl
I can confirm that using cloudflare's tunnel service does work instead ^^
jak2k joined the channel
#
_pi_r2_0[d]
(if you want an ssh tunnel with no complications I happen to run https://srv.us)
nemonical, Salt, btrem and stefen joined the channel
#
btrem
Syndication question. If anyone here syndicates to IndieNews, what does your plumbing look like? Bonus if you use 11ty. ;-)
#
btrem
I have a basic setup where syndication goes in front matter as an array of urls. That works fine for rel syndication, but there's no text for an a.u-syndication link. (Yes, I could just use the link as the link text, but I can do better than that.)
#
btrem
I'm thinking of an array of objects, but happy to solicit ideas.
#
[aciccarello]
I did that this morning with 11ty!
#
[aciccarello]
When I want to syndicate to IndieNews, I add to a front matter list of urls like you mentioned https://github.com/aciccarello/ciccarello.me/commit/9cebd358ef205687a132cb0af72b395738874b1f
#
[aciccarello]
I render that as some links with the domain as the text using a liquid template https://github.com/aciccarello/ciccarello.me/blob/main/_includes/syndication.html
#
btrem
So you put just the url there. What does your templage look like?
#
btrem
Right. Sorry, our messages crossed paths.
#
btrem
Also, I realized this morning that IndieNews item urls have a pattern, news.indienews.org/{lang}/{canonical url}. So I could do something special if the syndication publisher is IndieNews.
#
[aciccarello]
Right now I manually update the URL after it is syndicated but I have also wondered if a mention to the full URL would work. I assume not because it would probably 404 first.
#
btrem
Oh, right, I hadn't thought of that. The pattern only works /after/ I submit it (and the submission works.)
#
btrem
In fact, submission to IndieNews is a little strange. I post an article that says it's syndicated to IndieNews, but it's not. Then I submit the webmention. /Then/ (and only then) is it actually syndicated.
#
[aciccarello]
Indiekit does have a way to handle 2 step syndication as part of the micropub flow. So you could write a custom syndicator for that. But that requires a database which I don't have set up.
#
btrem
I was just thinking I could probably set up something like that. Not sure if it's worth the time and trouble.
#
btrem
Probably I'll just kludge it until (unless!) I start doing the same thing all the time. ;-)
#
[aciccarello]
I'd love to improve the syndication flow on my site because it is nice to be able to syndicate to IndieNews. But manual until it hurts is fine
#
[aciccarello]
I should look more into what Indiekit offers though https://getindiekit.com/concepts#syndication
#
[aciccarello]
Syndicating to the Internet Archive would be good
#
Loqi
agreed.
#
gRegor
I display the domain in the "also on:" section at the bottom, example: https://gregorlove.com/2025/01/processwire-indieauth-v0.2.3-released/ I've not considered going back and using the exact indienews permalink yet.
#
gRegor
I think I'm OK with that, though. It's more interesting to click it and see a list of other indienews instead of a link back to the post you were just on
#
[aciccarello]
Yeah, definitely not necessary to update the link
#
btrem
gRegor: Yeah probably more interesting for the reader.
#
btrem
gRegor++
#
Loqi
gRegor has 34 karma in this channel over the last year (121 in all channels)
#
btrem
[aciccarello]++ thanks for the input.
#
Loqi
[aciccarello] has 7 karma in this channel over the last year (31 in all channels)
#
btrem
Still, it's tempting to update the link automagically just to see if I can. All it would require is a head request to the url. If it returns 200, use the link, otherwise use a(n almost) bare domain as url.
#
btrem
Thing is, at some point, I assume my submission to IndieNews would fall off the page. At which point the syndication link would be a bit odd for readers. ("Oh, it's been syndicated to IndieNews. [clicks link] Hmm, no, it hasn't. ?")
vikanezrimaya joined the channel
#
btrem
Or maybe not jarring. Since it's a list of links, it's probably obvious what's going on.
#
aaronpk
i didn't realize threads supported rel=me and shows a bidirectional arrow to indicate the verified link
barnaby and sebbu joined the channel
#
[snarfed]
oh but I think it's new that they show that on *their own* profiles, I think they only recently shipped that
#
aaronpk
yes that's the post i saw
#
[tantek]
oh hey, inbound is new
#
gRegor
cool!
#
gRegor
what is two-way link
#
Loqi
It looks like we don't have a page for "two-way link" yet. Would you like to create it? (Or just say "two-way link is ____", a sentence describing the term)
#
gRegor
two-way link is /rel-me
#
gRegor
noticed that's the hover text on the icon
#
[tantek]
not me hunting for the unicode
#
[tantek]
gotcha ⇄
[KevinMarks] joined the channel
#
[KevinMarks]
That's great but a green ✅ is more usual
#
[KevinMarks]
I'd congratulate Jesse but I X'd out my profile pic on Threads
#
[snarfed]
"first" 😆
#
[Jo]
rel=crush is pretty funny
#
[snarfed]
someone tell them about FOAF and XFN
#
aaronpk
ancient history at this point
#
[snarfed]
oh definitely. someone tell them _about the history_ 😁
#
aaronpk
back in my day, you had to go dig up HTML tags in the markup mines, you couldn't just ask ChatGPT to do it for you
#
[KevinMarks]
That is the XFN spec he's quoting in 2003
#
[Joe_Crawford]
I think I missed that my _Goodbye FOAF_ article got added to the FOAF page. https://artlung.com/blog/2024/05/31/goodbye-foaf/
#
capjamesg[d]
What does "no inverse" mean in this context?
#
[Joe_Crawford]
what is FOAF
#
Loqi
RDF is an abbreviation for Resource Description Format, an early-ish part of XML-related technology, that was pitched as the Semantic Web, used in Trackback and RSS 1.0 (but dropped by Pingback and RSS 2.0 respectively), later rebranded as Linked Data, experimentally published in the past, but not used by any indieweb use-cases in practice https://indieweb.org/FOAF
#
[Joe_Crawford]
no reciprocal?
#
capjamesg[d]
But someone on whom you have a crush can have a crush on you?
#
capjamesg[d]
Imagine the serendipity of finding out your crush has a crush on you via HTML.
#
[Joe_Crawford]
I feel like I want to quote _Escape (The Piña Colada Song)_ now. "Aw it's you..."
#
[KevinMarks]
That was mirroring an Orkut feature, where I'd you marked each other as crushes it revealed it to both of you.
#
[tantek]
capjamesg[d] are you familiar with mathematical inverse functions?
#
capjamesg[d]
Like negation [tantek]?
#
[tantek]
negation is its own inverse, sufficient but not necessary
#
[tantek]
added some bits to the Threads rel=me support section, feel free to add more: https://indieweb.org/rel-me#Threads