#dev 2022-01-21

2022-01-21 UTC
KartikPrabhu, jacky, jeremycherfas, Andi, cygnoir[d], jessealama, BinarySavior_, BinarySavior, tetov-irc and Eddy04[d] joined the channel
#
jacky
in a micro-dilemna of sorts
#
jacky
I've been reworking Lighthouse (the thing I had for webmentions) to handle WebSub as well
#
jacky
and at this rate, it feels like it'd make sense for it to have a minimal reader interface (mainly to audit feeds and the like)
#
jacky
but I'm tempted to just push it all of the way _into_ a reader
#
[tantek]1
OSS Wordle clone (who will self-host the first IndieWordle?) https://github.com/hannahcode/wordle
#
Loqi
[hannahcode] wordle: A clone of the popular game Wordle made using React, Typescript, and Tailwind
#
jacky
the original objective was to have a binary/tool/thing that could handle these two things for people so they could self-host it
#
[tantek]1
IndieWebordle: Wordle except get the wordlist from /jargon 😄
#
capjamesg[d]
I am sold on that idea 😂
lagash joined the channel
#
[tantek]1
could also call it Jargle
balupton[d] joined the channel
#
@slightlylate
If you like React, know you've been growth-hacked: FB's team sold the virtues and elided the constraints at every moment, never explaining their internal learnings about perf. Your products got f'd so a San Mateo PM got a half-hearted promotions re: things FB doesn't care about. https://twitter.com/slightlylate/status/1484423404048453634
(twitter.com/_/status/1484424270914600960)
#
capjamesg[d]
Quite a comment.
#
binyamin[m]
When I write a u-syndication link, I assume it should point to the syndicated copy, and not the base url of the syndicated site. IndieNews says otherwise (https://news.indieweb.org/en/submit). Is this correct?
#
aaronpk
binyamin[m]: indienews is using that as a slight overloading of the u-syndication property, but it's also not entirely wrong, since afterwards your post will be on that page
#
aaronpk
it *also* returns a permalink to your post on indienews after you send a webmention, so you can update it on your site after
#
binyamin[m]
Thanks. It's also not difficult to guess what the URL would be. If I added a u-syndication link to https://news.indieweb.org/en/binyam.in/p/whatever/, would IndieNews pick it up?
#
aaronpk
probably but don't assume that
#
aaronpk
actually i don't know if it would recognize that for the first webmention
strugee and [manton] joined the channel
#
capjamesg[d]
URL Shorteners << GitHub is deprecating their git.io service, encouraging people to use another shortener instead: https://github.blog/changelog/2022-01-11-git-io-no-longer-accepts-new-urls/
#
Loqi
Sorry, I couldn't find a page named "URL Shorteners" or similar
#
capjamesg[d]
What is a URL shortener?
#
Loqi
URL shortener is a service that turns a typical longer URL, like a permalink, into a much shorter URL, typically using a short domain, often per-site both for some silos, and several indieweb sites https://indieweb.org/URL_shortener
#
capjamesg[d]
URL shortener << GitHub is deprecating their git.io service, encouraging people to use another shortener instead: https://github.blog/changelog/2022-01-11-git-io-no-longer-accepts-new-urls/
#
Loqi
ok, I added "GitHub is deprecating their git.io service, encouraging people to use another shortener instead: https://github.blog/changelog/2022-01-11-git-io-no-longer-accepts-new-urls/" to the "See Also" section of /URL_shortener https://indieweb.org/wiki/index.php?diff=79213&oldid=79008
#
aaronpk
I didn't actually know git.io was run by github
#
[manton]
Last week I mentioned the Internet Archive’s upcoming distributed web sessions and joked a little about “Web 3.0” and NFTs… Interesting, just noticed today that their blog post has been updated to remove any mention of “Web 3.0" and only mentioning NFTs once instead of multiple times. I thought I had misremembered so double-checked with the Wayback Machine.
#
[manton]
Don’t want to read too much into that, but it was obviously a conscious wording change.
#
jacky
wow they really cleaned that up
#
[tantek]1
[manton] ++
#
Loqi
[manton] has 16 karma in this channel over the last year (17 in all channels)
KartikPrabhu, KartikPrabhu1, Moss[d] and jacky joined the channel
#
capjamesg[d]
aaronpk how did you implement private webmentions? I am a bit confused by the sending part. How should I go about creating the token that can be redeemed?
#
capjamesg[d]
I might be missing something obvious but I can’t figure this out.
#
aaronpk
i implemented something, let me see what it is
#
capjamesg[d]
Yes, that’s what I am reading.
#
aaronpk
IIRC I generate a random string and store it in Redis for 60 seconds https://indieweb.org/Private-Webmention#Auth_Code_Generation
#
capjamesg[d]
How does your token endpoint know that the string can be redeemed?
#
aaronpk
it checks the cache for the value of that authorization code
#
capjamesg[d]
I could use JWT but I’d have to bundle token generation with my auth endpoint to do that I think.
#
aaronpk
if it's there, then it creates a token. looks like I do use JWTs for tokens generated this way too.
#
[tantek]1
so what you’re saying is the cache (of the string) is gone in sixty seconds?
#
capjamesg[d]
Got it. So I could generate a JWT code, send it in the private webmention code parameter, then my auth server could decode it, make it is valid / not expired, then return an access token?
#
aaronpk
you could use JWTs for the temporary code too.
#
aaronpk
the first code you send is meant to be temporary, so a short-lived JWT or sticking it in a time-limited cache are fine
#
[tantek]1
tried searching for imagerot (linkrot) and did not get the results I expected
ermahgerddavid[m joined the channel