#dev 2022-12-08

2022-12-08 UTC
#
aaronpk
projects++
#
Loqi
projects has 1 karma over the last year
#
aaronpk
speaking of home indieweb projects, i just made a physical button for the wall which I tap when I feed the cat. it posts to her website, and then the button turns red 24h since it was last pressed
#
[jacky]
see, I need that for my pups (now that there's three running around)
#
aaronpk
the low tech version is to buy the little pill caps that have the display and button built in
#
aaronpk
but what I did is more fun. esp32, button, two solder joints, 3D printed case, and home assistant
#
[jacky]
see I could even hook up something to send a message to my partner (because we tend to sync on who got what when and it's easy to mix up)
#
[jacky]
projects++
#
Loqi
projects has 2 karma over the last year
lanodan, Saphire and geoffo joined the channel
#
benatkin
aaronpk: I'd like to self-host a currently known as indieauth.com server that can only be used to login to my own site, and that only supports GitHub, and add GitLab – and then post about it. Do you think I could go about it in a way that helps with your goal of getting people migrating indieauth.com? I'd be using the server, not the service. It seems it will be easy to run with docker and a database server that's shared with other docker
#
benatkin
containers.
#
benatkin
I hear it's behind the spec so I would have to update it. I could start a new project I guess. Ruby is one of the languages I'm most comfortable with.
#
benatkin
The multitenant isn't an issue - I would have a strict allowlist - anyone could sign in but only sign into my sites.
#
benatkin
Another path is just to start a new HTTP server codebase with a database for storing tokens that does similar things.
#
benatkin
Why I want it to be like indieauth.com, the open source project:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/4ac963103a80301f2375bfcd7d94283495a45b98>)
#
benatkin
I just saw it uses Redis and doesn't appear to use SQL anymore. Nice.
#
gRegor
Speaking of, https://tokens.indieauth.com/ should probably have the deprecation notice too
mro and superkuh joined the channel
#
benatkin
hmm, yeah
#
benatkin
I see that's on github too.
#
benatkin
I might just study the code and implement something similar in node - or not...I dunno.
mro joined the channel
#
Loqi
[preview] [zemlanin] > As an aside, I actually think WebFinger should be made easier for static hosting @nileshtrivedi You can achieve this now, by serving `/.well-known/host-meta.xml` with something like this: ```xml <?xml version="1.0" encoding="UTF-8"?> <XRD x...
#
[jacky]
noticing that that snippet includes a XML namespace from https://www.oasis-open.org/
#
[jacky]
never heard of them before
gxt joined the channel
#
aaronpk
benatkin: I would recommend starting from scratch, the code base is very old and uses some libraries that aren't maintained anymore
gxt, geoffo, mro and jamietanna joined the channel
#
jamietanna
Does anyone know what happens if I syndicate all my replies to bridgy-fed? Will it selectively send if it knows the receipient is a Federated place, or will I risk there being replies to something on Twitter/somene's site appear?
#
[snarfed]2
jamietanna it ignores anything non-fediverse
#
[snarfed]2
so feel free
#
jamietanna
Sweet, thanks!
#
[snarfed]2
mastodon.technology has steadily sent .75qps of Delete activities to BF for the last week straight. that's >450k activities total so far. sheesh
#
[tw2113_Slack_]
i think that’s one that was closing down, correct?
#
[snarfed]2
yup
#
aaronpk
are they sending out deletes for every post or something?
#
[snarfed]2
oh interesting, maybe. https://mastodon.technology/about/more says they have 10k users and 1.3M posts
#
[snarfed]2
it's evidently all user deletes, all to individual inboxes, not the shared inbox, hence the 45x multiplier. 😠
#
aaronpk
oh funny
#
[snarfed]2
BF is petty and spiteful and only honors Deletes sent to shared inbox, not individual inboxes
#
[tantek]
snarfed I hope you don't mind me shortening Bridgy Publish to BridgyPub similar to BridgyFed (and of course parallel to ActivityPub, Micropub)
#
[snarfed]2
I foresee at least a couple different kinds of confusion, but yolo 😎
#
[schmarty]
I shall henceforth refer to it as "The petty and spiteful Bridgy Fed" 😂
#
[snarfed]2
wfm
#
[tantek]
Postel: "be liberal in what you accept from others"
#
[tantek]
Bridgy Fed: "be picky in what deletes you accept from others"
#
[snarfed]2
lol. it's worse though, it accepts them and silently drops them on the floor
#
[snarfed]2
but hell, there's also https://github.com/snarfed/bridgy-fed/issues/315 . and Bridgy caching webmention endpoints. and others. I am admittedly a bad spec implementor.
#
Loqi
[preview] [snarfed] #315 Actually verify incoming signatures 🤪
#
M0x3b0b[m]
[snarfed]2: (mental image of a nondescript uniformed individual labeled as Bridgy Fed politely taking a parcel from someone and then tossing it nonchalantly over one shoulder)
#
[tantek]
more like when you're handed a flyer by a rando on the street, accept with a nod so as to avoid conversation then toss it in the next bin you walk by
#
[snarfed]2
😁
jjuran and gRegorLove_ joined the channel
#
[chrisaldrich]
Not sure if it's a broader change/fix, but last night I deleted the Brid.gy authorization from my mastodon.social account and managed to relink my site to mastodon.social for backfeed and publishing via webmention. Hopefully it sticks?
#
[snarfed]2
nice! yeah that's a known workaround
#
[chrisaldrich]
I had tried it a few times after 12/8 when backfeed died for me, but it hadn't worked for me until last night for some reason.
btrem, tiim, gxt and [jamietanna] joined the channel
#
[jamietanna]
Should BF handle updates on a re-webmentioned post? Seeing https://www.jvt.me/mf2/2022/12/fawgk/ still syndicated as https://inane.chat/@www.jvt.me@www.jvt.me/109479125609932843 which was originally the fault of my post itself having broken emoji
#
Loqi
[preview] [Jamie Tanna] 🛬
#
Loqi
[preview] [Alec Doran-Twyford] Hello Mastodon? or is it inane chat?
#
[aciccarello]
I wondered the same
#
M0x3b0b[m]
<Loqi> "[preview] [Alec Doran-Twyford..." <- nowhere have I gotten the impression something can't be Mastodon and inane chat at the same time...
#
M0x3b0b[m]
...oh, right, the instance
#
[jamietanna]
I'm sure I had seen it mentioned that it was supported, so if so, could it be BF doesn't handle emoji?
#
[snarfed]2
thanks gRegor! agreed, BF sends updates and should handle emoji fine
#
[snarfed]2
that log shows the Update activity it sent to inane.chat
#
btrem
[jacky] re https://www.oasis-open.org/ have you never seen the "not the sgml faq" before? Enjoy! https://xml.coverpages.org/sgmlFAQ-NOT-19990401.html
#
btrem
(not the best version; it's missing a couple of sections that are hilarious)
#
btrem
ack! I just found the original url flightlab.com/~joe.... It returns 404. What a shame!
gxt joined the channel
#
[jacky]
I have not! omg
#
[jacky]
"If you've ever tried to get more than four SGML experts to agree on the answer to _any_ question, you'd understand. The only thing that every expert agrees on is that Robin Cover's web site is the best source of SGML information available anywhere; that in itself is pretty amazing." => HA, where's the XKCD?
#
btrem
The original version had a couple of additional entries. The one about which browser support for dtds was priceless.
#
btrem
Also a crack about diff. Something like: Q: "I read the faq last year. Can you tell me what changed?" A: "No. Run diff and see for yourself."
#
[jacky]
omg see that's evil
#
btrem
Don't know who Joe English (is|was), but that not faq is just absolutely genius.
#
btrem
The dtd joke was something like this (going from memory): Q: "Which dtd does Netscape Navigator use?" A: "This has the editor stumped. I can't think of an answer that's funnier than the question."
#
[jacky]
lol I am curious but that's def part of the joke
#
btrem
Curious? About what?
#
[jacky]
if netscape even did do parsing of DTDs
#
btrem
No, hence the answer.
#
btrem
No browser has to my knowledge ever bothered with DTDs. Which is why people started referring to tag soup.
#
btrem
It's why we got the notorious xhtml appendix c. If browsers took SGML seriously, appendix c would not have worked. (Appendix c was the part where they advised authors to use self-closing xhtml tags on empty elements, e.g., <br />. The idea was that browsers parsing the document as HTML would ignore the solidus, violating SGML shorttag notation.)
#
@jpcaruana
I wrote a little #elixir program, called LastCrusader: https://github.com/jpcaruana/last_crusader. Not a 100% static solution, but a fun experiment.commits to Github from micropub endpointlistens for pusblishsends webmentions to targets (and update links when appropriate)… https://jp.caruana.fr/notes/2022/12/08/i-wrote-a-little-elixir-program/
(twitter.com/_/status/1600930344080969732)
#
[jamietanna]
Thanks gRegor and snarfed! Didn't spot that
#
[snarfed]2
oh god please no
#
btrem
Re: the python microformats parser website PR. It's 2 1/2 months old, and has been approved AIUI. Is there anyone here who can merge it into main?
#
[snarfed]2
btrem probably anyone in the microformats org! https://github.com/orgs/microformats/people
mro joined the channel
#
[snarfed]2
maybe we should ask one of the owners there to add you
#
[tantek]
snarfed, ironically my publishing UI also sends webmentions synchronously 😬 so my curl of the BridgyFed webmention may be taking so long that Apache/PHP decides to timeout on the response and return an error to my publishing UI, and now I understand why 😂
#
btrem
I guess the question is who knows python well enough to merge it? Or is the one approval enough?
#
[tantek]
larger question is, does merging it auto-deploy?
neceve joined the channel
#
btrem
The README says yes: "All commits to the master branch get auto-deployed to the live website (running on Heroku)"
#
btrem
correction of earlier comment made at 11:08:15 AM: s/empty/void/
#
benatkin
<aaronpk> "batkin: I would recommend..." <- got it, I was leaning towards that. basically a minimal SSO that combines what I could do w/ tokens.indieauth.com and indieauth.com
mro and neceve joined the channel
#
[jamietanna]
Is it still on Heroku? Did we not need to do anything for the end of the free tier, or were we already paying for it?
#
aaronpk
we have been paying for them
mro joined the channel
#
[snarfed]2
I reviewed https://github.com/microformats/microformats-parser-website-python/pull/5, looks fine, I'm happy to merge if everyone's ready
#
Loqi
[preview] [capjamesg] #5 Enable experimental alt text attribute, bump versions, add new debug mode for local coding
#
[snarfed]2
I'm not familiar with the deploy/devops setup for it though, so hopefully someone else would be available to firefight/revert if necessary
#
[KevinMarks]
LGTM - is this affected by the heroku/github integration changes though?
#
[snarfed]2
?
#
sknebel
integration changes?
#
sknebel
if deploy doesnt work we'll notice :P
#
[snarfed]2
yeah I'm merging. worst case, I can revert
#
sknebel
(also reminds me that I really need to find a day or so to spend on mf2py, go through issues and PRs there and figure out how to make a release)
#
[KevinMarks]
heroku messed up storing github credentials and got their access removed iirc
#
[snarfed]2
oof
#
[snarfed]2
anyone know who owns the python.microformats.io app? if it was someone (or the microformats org) via their github account, then yeah that's maybe a problem
#
aaronpk
it's in the indieweb org
#
aaronpk
looks like it needs to be upgraded to a new stack too
#
aaronpk
i'll click the button now so the next deploy works
#
aaronpk
oh it's not connected to github anymore
#
[snarfed]2
yeah as [KevinMarks] said ^ 😐
#
[KevinMarks]
so, is it simple enough to connect to netlify instead, or do we need a manual heroku deploy?
#
aaronpk
i can reconnect it to heroku, one sec
#
aaronpk
i have no idea what it takes to run on netlify, nor do we have an indieweb account there yet, so let's not change everything
#
aaronpk
ok here it goes
#
aaronpk
it's deployed
#
[KevinMarks]
seems to work
#
Loqi
[preview] [aaronpk] #8 update links on home page
#
aaronpk
should deploy automatically from now on
#
[tantek]
those updates to the python mf2 parser website sound significant enough to count for the Gift Calendar — even "just" the alt text handling
#
[tantek]
having those kinds of (updated) tools that allow people to try a library before they download helps a lot
#
[tantek]
except I just tried https://python.microformats.io/ on a post of mine with alt text and it didn't show in in the results
#
[KevinMarks]
merging that deployed, so that's good
#
aaronpk
the parser version just got downgraded for some reason. it was 1.1.2 before
#
[tantek]
oh dear
#
aaronpk
well auto deploys are set up again so feel free to fix it
#
[snarfed]2
right, I asked capjamesg about that a min ago ^
#
[snarfed]2
I'll fix now
#
[snarfed]2
done
#
[snarfed]2
aaronpk how can I see the app in heroku?
#
aaronpk
i can add you to it
#
[snarfed]2
thx
#
[tantek]
snarfed, what's "done"? did python.microformats.io get reverted?
#
aaronpk
it's showing 1.1.2 now so that's good
#
[snarfed]2
yeah, "done" was upgrading mf2py back to 1.1.2
#
[snarfed]2
capjamesg just fyi I don't see the new img alt output though, eg https://python.microformats.io/?url=https://snarfed.org/2022-12-06_48532
#
[tantek]
I don't see the new img alt output either
#
[snarfed]2
aaronpk could you add heroku@ryanb.org instead? sorry for the runaround
#
sknebel
ryan borg? ;)
#
[snarfed]2
got it, thx
#
IWDiscordRelay
<c​apjamesg#4492> I didn't mean to downgrade. Strange.
#
IWDiscordRelay
<c​apjamesg#4492> [snarfed] Are you passing the alt text flag?
#
IWDiscordRelay
<c​apjamesg#4492> Oh, you mean from the website/
#
[snarfed]2
right
#
IWDiscordRelay
<c​apjamesg#4492> Oh no...
#
IWDiscordRelay
<c​apjamesg#4492> I don't think it was upon further reflection.
#
IWDiscordRelay
<c​apjamesg#4492> I'll review this.
#
IWDiscordRelay
<c​apjamesg#4492> Is the site deployed?
#
[snarfed]2
yes. and we already bumped mf2py 1.1.2, so the lack of img alt is the only remaining question
#
[tantek]
doesn't seem like the flag is working?
#
sknebel
... looking at the PR, I dont see the PR using the flag?
geoffo joined the channel
#
sknebel
ok I see what happened, thats not how it works
#
Loqi
[preview] [sknebel] #10 acually enable img_with_alt flag
#
[snarfed]2
thanks! lgtm, merging
#
aaronpk
and this is why we make PRs with specific focused changes instead of a whole bunch of things at once!
#
[snarfed]2
yup
#
Loqi
[preview] [Ryan Barrett] Meanwhile, in Emacs…
gRegor joined the channel