#dev 2025-01-01

2025-01-01 UTC
gRegor joined the channel
#
gRegor
It should probably check for the existence of each of those properties before outputting them, to avoid empty links/images. Client Metadata is pretty new in the spec and is a SHOULD not a MUST
#
gRegor
In the ProcessWire IndieAuth plugin I check for JSON content type first, then try to get a few properties, default them to empty if not found/null https://github.com/gRegorLove/ProcessWire-IndieAuth/blob/main/src/IndieAuth/Server.php#L22
#
gRegor
That still falls back to parsing mf2, but that's optional. A minimal fallback would be to display the client_id
#
gRegor
Oh, I misread. I see its making sure it's valid JSON
[qubyte] joined the channel
#
capjamesg[d]
aaronpk What are your thoughts on magic links?
#
capjamesg[d]
As a user I prefer username and passwords, but I am curious if the magic link is commonplace enough, secure, and useful that it is worth offering as an authentication option?
#
[tantek]
What is a magic link
#
Loqi
A Capability URL (AKA magic link, hard to guess URL, or secret URL) is a URL that provides access to a resource to anyone who has the URL without an explicit login https://indieweb.org/magic_link
gRegor, gRegorLove_ and gRegorLove__ joined the channel
#
carrvo[d]
gRegor++ I do appreciate the feedback!
#
Loqi
gRegor has 31 karma in this channel over the last year (127 in all channels)
gRegorLove__, grufwub, AcesAndEights and barnaby joined the channel
#
carrvo[d]
Thinking about the client JSON, I think it would be interesting to include an optional field that maps scopes to a more human description. That way IdPs could display something more understandable but keep the raw scope naming convention in the JWT (or other token). For example, I never actually knew what information pertained to "profile" until I tried to provide it and read that part of the OAuth spec (and don't have it memorized). With oth
#
carrvo[d]
Oh, that was really long.
#
carrvo[d]
I hope to get a rough example implementation to better show what I mean...sometime... Alas, not a priority.
Guest6 and boriel joined the channel
#
osteophage
Hi folks. Can someone answer some questions for me about the IndieWeb newsletter? I've been reading up on the wiki about how to use h-entries, but I'm just curious what the newsletter criteria are and what the end result looks like.
#
osteophage
It occurs me belatedly that maybe #indieweb-dev isn't the right channel for this, but if I get far enough into the process I was also thinking about asking some questions about h-entries.
#
aaronpk
what is this week?
#
Loqi
This Week in the IndieWeb is a weekly digest of activities of the IndieWeb community https://indieweb.org/this-week
#
aaronpk
do you mean this newsletter?
#
aaronpk
there's a "how to" section that talks about how to add things to it https://indieweb.org/this-week-in-the-indieweb#How_to
#
osteophage
Yes! That one. I'm wondering what counts as relevant to the IndieWeb community. The reason I ask is because I recently published something to my personal site on Neocities about Bluesky.
#
osteophage
On the one hand, I don't consider Bluesky to be part of the indie web, but on the other hand I know those interested in the indie web are generally interested in conversations about protocols and decentralization, hence the ambiguity for me.
#
aaronpk
my bluesky handle is my domain name so i consider it part of the indie web 🤷‍♂️
#
aaronpk
what is relevant to the indieweb?
#
Loqi
Anything directly related to people with their own websites, such as technologies and services used, design and UX, formats and protocols, as well as events or podcasts with IndieWeb talks or content are relevant to the IndieWeb wiki https://indieweb.org/relevant_to_the_IndieWeb
#
osteophage
Oh, okay! It sounds like this might be a good fit then.
#
osteophage
I haven't signed up for the newsletter yet but wouldn't want to miss the chance to submit this week -- can someone show me what the resulting email looks like? I'm wondering how much text gets sent out per submission and whether h-entry code works kind of like opengraph meta tags.
#
aaronpk
the archives are also all linked from that newsletter page, so here's the most recent https://indieweb.org/this-week/2024-12-27.html
#
osteophage
Ohhh, okay. I must have overlooked that. Perfect, thank you!
#
doesnm
aaronpk: i don't think it enough to make it indepent/decentralized. It can be implemented in any silo
#
osteophage
Decentralization is what they're aiming for, ostensibly, although what they've managed so far on that front is... uh... well, I read a post recently that goes into the technical specifics. I'll go get the link.
#
doesnm
AppView, PLC Directory, Relay are centralized parts which can be hosted only on very heavy hardware
#
doesnm
system requirements grows in geometrical progression
#
aaronpk
i can't realistically be my own BGP router but that doesn't mean i can't host my own website 🤷‍♂️
#
osteophage
Another newsletter question: I used <https://indiewebify.me/validate-h-entry/> to check that I'm implementing the h-entry correctly, and it prompted me to add the e-content class in order to mark the full body of the post. If I mark one specific part as p-summary, would that part get sent with the newsletter, or is it just the title and author? (I checked the last newsletter for examples, but it doesn't look like those two use
#
doesnm
aaronpk: do you mean that internet is also centralized? Yes, but it too different levels.
#
[snarfed]
it's a common misconception that Bluesky relays and appviews are expensive to run. they're not really, especially now that they've switched to a non-archival relay: https://whtwnd.com/bnewbold.net/3kwzl7tye6u2y
#
[snarfed]
(they're not as cheap as a PDS, but still not expensive per se)
#
[snarfed]
I expect the PLC directory is similarly inexpensive, but I'm not quite as sure
#
[snarfed]
aaronpk's point here is well taken though. doesnm, you're right that ATProto's design doesn't really expect or intend for individual people to self-host the entire stack for themselves. they expect fewer relays and appviews, and expect them to be run by orgs, not individual people
#
[snarfed]
...but that alone doesn't mean the protocol is centralized. some decentralized social ntworks have flat peer-to-peer topologies, like the indieweb, but it's not the only valid topology, and in many ways not the best
#
doesnm
PLC mirror required 12GB (maybe more) and some hours to sync
#
doesnm
hope storage, not ram
#
[snarfed]
pretty reasonable either way, given what it's doing
#
doesnm
it's all too suspious anyway. All network now owned by for-profit company
#
osteophage
I'm sympathetic to what you're saying, but right now I'm leaning toward submitting this link to the newsletter. I think this post is going to be of interest regardless of how we classify Bluesky itself.
#
[snarfed]
oh sure! definitely didn't mean to argue against submitting it to the newsletter
#
[snarfed]
(it's over a month old, but no matter 😁)
[Joe_Crawford] joined the channel
#
osteophage
Thanks! I remember seeing that second one before, but the first time around I didn't get through it. Any highlights you'd like to share?
#
sebbu
just got a notification that mastodon.social just blocked mostr.pub and momostr.punk (2 gateways between mastodon and nostr)
#
doesnm
sebbu: huh? afaik their filtering spam
#
sebbu
filtering spam should make them ban whole servers
#
sebbu
shouldn't*
#
sebbu
the message wasn't account blocked, but relation severed (by the server being banned)
#
doesnm
i mean by bridges on nostr side
#
sebbu
the notification i got was on mastodon.social instance
#
sebbu
i got nothing on nostr side
#
sebbu
(i was following my own account between thoses 2 protocols)
#
sebbu
so i wouldn't even know it was banned on mastodon.social from nostr
AramZS, gRegor, GuestZero_, sebbu and btrem joined the channel
#
btrem
javascript--
#
Loqi
javascript has -2 karma over the last year
#
btrem
I just stumbled upon a weird thing with commas in if statements, and have come to the very unsurprising conclusion that javascript is really f'ed up.
#
[tantek]
[snarfed]++ that's great. edgecases++
#
Loqi
edgecases has 1 karma over the last year
#
Loqi
[snarfed] has 54 karma in this channel over the last year (100 in all channels)
#
capjamesg[d]
I now have a microservice that automatically converts images to webp on my site if a webp version doesn't exist.
#
[tantek]
neat! open source?
#
capjamesg[d]
On a random post from last month with a few images, the total page image size went from ~2MB to < 100 kB.
#
capjamesg[d]
I was using uncompressed pngs beforehand.
#
capjamesg[d]
I'll probably open source it!
#
capjamesg[d]
Maybe tomorrow.
#
[tantek]
lossless fidelity?
#
capjamesg[d]
I need to check what PIL (the Python image library I'm using) does under the hood, but there are no visual differences in the images I have evaluated.
#
capjamesg[d]
Right now I have only tested screenshots, but that's because I only started implementing this an hour ago 😄
#
capjamesg[d]
My next step is to figure out if responsive images are relevant to this.
#
capjamesg[d]
I don't quite understand srcset yet.
#
[tantek]
capjamesg[d], one way to test the fidelity is to see if it roundtrips and produces the same PNG
#
[tantek]
like bit for bit
#
capjamesg[d]
Good call.
#
[tantek]
knowing that it was lossless would be strongly compelling
#
capjamesg[d]
Here is an example of a page that has this running: https://jamesg.blog/2024/12/13/text-fragments/
#
capjamesg[d]
[edit] Here is an example of a page that has this running: https://jamesg.blog/2024/12/13/text-fragments/
#
Loqi
[preview] Advent of Patterns: Text fragments
#
Loqi
[preview] Advent of Patterns: Text fragments
#
[tantek]
like that would make an amazing blog post if you are going from 2MB pngs to <100kb webp
#
gRegor
what is webp
#
Loqi
It looks like we don't have a page for "webp" yet. Would you like to create it?_g (Or just say "webp is ____", a sentence describing the term)
#
capjamesg[d]
[tantek] I just verified it's lossy.
AramZS joined the channel
#
capjamesg[d]
With that said, the change in quality for my purposes is sufficiently unnoticeable that I'm happy with it.
#
gRegor
[schmarty] fyi, https://martymcgui.re/tags/books/ is 404, linked from your homepage
MyNetAz joined the channel