#dev 2021-12-01

2021-12-01 UTC
marksuth, IWSlackGateway, joshproehl, Seirdy, Kerim5391[d], superkuh and srushe joined the channel
#
aaronpk
3 months until check on the wiki analytics to see if the "no tidy" page is getting any traffic 😂 https://indieweb.org/website-analytics#IndieWeb_Community_Analytics
#
Loqi
I added a countdown scheduled for 2022-02-28 4:02pm PST (#6904)
KartikPrabhu joined the channel
#
[tantek]1
well that's one new page for this week
#
[KevinMarks]
yay upgrading PHP from 5.6 to 7.4 and finding all the places the code assumes encoding
#
Loqi
woot
#
[tantek]1
[KevinMarks] hah yeah that was my 2019 debugging
#
[tantek]1
I checked and it was 2019 that I switched to Dreamhost including moving H2VX to PHP 7.2, getting PHP Tidy setup there etc.
#
[KevinMarks]
how did everyone think ISO 8859-1 was a real encoding?
#
[KevinMarks]
apart from no curly quotes and apostrophes, it didn't even have an em-dash — such paucity https://twitter.com/yayalexisgay/status/1465776683819094018?s=20
#
micahrl[m]
Is it expected that micropub servers that support media should support arbitrary attachments (including say tarballs, or pdfs, or what have you), or just images/audio/video?
#
GWG
There is nothing that says it couldn't be something else, I believe
#
GWG
But it's not common
#
GWG
Although media does imply video/audio/photo because if you aren't attaching it to a post, it may not make sense to use Micropub
#
micahrl[m]
ok that makes sense, I'll probably just stick with media then
#
GWG
If you find a future use case, you can always expand
#
micahrl[m]
I was thinking sometimes you might want to attach arbitrary files to a post, like a pdf or something that is referenced in the post - but if that isn't common I won't plan for it now, yeah
#
aaronpk
right now there isn't a property in the micropub request to attach arbitrary files, but i could see that being useful eventually
#
aaronpk
i think my media endpoint will actually accept anything, but in practice i only upload photos and videos to it
gRegor joined the channel
#
micahrl[m]
Is it expected for Micropub that the post content will not reference media directly, and the server software will just place the media before/after any text content? Is there any provision for putting an image at a certain place inside the content?
#
aaronpk
a photo post considers the text and the photo to be separate entities
#
aaronpk
"an image at a certain place inside the content" sounds like an article
#
aaronpk
so yes, both are possible in micropub, but they are considered different post types and the micropub request would look different
#
aaronpk
e.g. `photo=url&content=hello+world` vs `content=hello+<img src="url">+world`
#
micahrl[m]
Ahhh, thanks I didn’t realize that was a distinction between an article and other kinds of posts
Seirdy joined the channel
#
GWG
aaronpk: I was going to ask your advice. I'm stuck on how to add auth to my introspection endpoint.. we left it as a developer detail and I have no idea
Seirdy joined the channel
#
aaronpk
well what's the other end that needs to authenticate to it?
#
GWG
aaronpk: So far, nothing, but eventually the ticket auth flow. But for me, that's integrated right now
#
aaronpk
don't bother building it if there's nothing that's going to use it yet
#
aaronpk
for me, it would be that Aperture needs a way to verify tokens from someone's own indieauth server
#
aaronpk
so for example i would ask them to generate an introspection credential and give it to Aperture during the setup stage when they first sign up for aperture
#
GWG
aaronpk: I use the previous token verification flow for ticket auth in my proof of concept...
#
GWG
Also, technically, introspection could set auth at none for now
#
GWG
I probably won't worry much about it yet, if I can't figure something out.
#
GWG
aaronpk: If you get a chance, is there anything else I need to modify about the remaining IndieAuth PRs? Still part of my pre 2022 goal
#
[tantek]1
ooh tomorrow is the first day of the IndieWeb Gift Challenge!
#
[tantek]1
anybody got anything lined up for day 1?
#
aaronpk
oh boy
#
aaronpk
i don't know GWG, i've been in oauth specs all day and will be again tomorrow
#
[tantek]1
Should I have waited a day to get H2VX working again? 😂
#
aaronpk
[tantek] blog about it tomorrow, that counts :)
#
gRegor
tantek: I'm close on launching indiebookclub updates, though not sure I can tomorrow. Maybe 2nd or 3rd.
#
[tantek]1
aaronpk, maybe about "Debugging a No Tidy error"?
#
GWG
aaronpk: Not rushing, just wanted to make that an end of year goal?
#
[tantek]1
GWG, got any IndieWeb Gift Challenge plans for the week?
#
GWG
[tantek]1: I merged IndieAuth metadata into the Wordpress IndieAuth plugin, however, I'm still working on the other endpoints before I deploy it.
#
[tantek]1
aaronpk, drat well that's a lot less generally useful than I thought it would be
#
aaronpk
i don't know why that just now occurred to me
#
GWG
[tantek]1: Should I measure gifts at time of merge or deployment?
#
[tantek]1
GWG, I think deployment, as in usable (unwrappable) by someone else
#
[tantek]1
GWG, would you measure a date of a gift by when you packed it or when you gave it to someone and they could open it?
#
GWG
[tantek]1: Good point.
#
GWG
I also have some other things on my list, I'll see what I get to.
#
[tantek]1
aaronpk, what's a better practice there from an error message authoring perspective?
#
gRegor
I would love to get a new php-mf2 released this month. Overdue. I need to catch up on the current status of issues.
#
GWG
gRegor: Tell me if there is anything I can contribute to. I am a dedicated user
#
[tantek]1
gRegor, when you're catching up on the current status of issues, if see one that is "stuck" and that I could help "unstick", please feel free to ping me
#
[tantek]1
like if it's waiting for some process step, or a spec edit, or ... ?
#
aaronpk
[tantek] i guess i would have written something more like "'tidy' was not found, you may need to ensure the tidy extension is enabled", give people a path to how to solve it
#
gRegor
I think we were like, 95% ready to launch the next version... probably a year ago? Time is a blur, haha
#
[tantek]1
aaronpk, indeed, except the "you" user may not be the same person that is the server admin
#
[tantek]1
that's part of the challenge I think in writing good server error messages
#
[tantek]1
I bet you have some good ones in webmention.io
#
[tantek]1
another question is preflighting, e.g. should H2VX on its home page or UI pages do a check for tidy and if it's missing provide a warning that the conversions may not work?
#
aaronpk
ooh good one
#
[tantek]1
instead of waiting until an attempted conversion (which still needs it because those conversions are direct links)
#
aaronpk
that brings up another interesting case
#
aaronpk
surfacing error messages in interfaces that are not web pages, like an ics feed
#
[tantek]1
right, or a vcf
#
aaronpk
should it generate an event for "today" that has an error message for example?
#
[tantek]1
I think the idea is that if someone clicks an ics or vcf feed link, it is *correct* for it to return HTML instead so the browser shows the error instead of errors polluting their calendar or address book
#
[tantek]1
like someone clicking on an H2VX link on your personal site, they can then see the error in the browser and inform you of what happened
#
[tantek]1
instead of going the extra step of downloading, importing into another app, then having to notice that something is weirdly wrong (in a place where they're not expecting it)
#
aaronpk
right, but clicking on a link is different than being subscribed to that ics feed in your calendar :)
#
aaronpk
so conneg?
#
aaronpk
or detecting a browser?
#
[tantek]1
ugh conneg--
#
Loqi
conneg has -5 karma in this channel over the last year (-6 in all channels)
#
aaronpk
it's tricky
#
[snarfed]1
granary + bridgy have a whole mechanism for surfacing user-oriented error messages from semi-deep plumbing
#
[snarfed]1
primarily for publish
#
[snarfed]1
not a "hard problem," just code, but very useful
#
[snarfed]1
including in JSON HTTP responses to webmention publish triggers
#
[snarfed]1
bridgy asks granary (the library) to publish, and if granary returns an error, bridgy figures out how to surface it depending on whether the trigger was interactive (web UI) or webmention
chenghiz_ joined the channel
#
aaronpk
the "hard problem" is writing the error messages in a useful way :)
#
[tantek]1
what is copy
KartikPrabhu and P1000[d] joined the channel
#
[schmarty]
tantek++ it's wooorrrrkiiinnngggg
#
Loqi
tantek has 23 karma in this channel over the last year (75 in all channels)
gerben joined the channel
#
[tantek]1
yay!
#
Loqi
yay!
#
samwilson
Anyone here use the `cebe/markdown` PHP package? I'm trying to add footnotes to it: https://github.com/cebe/markdown/pull/183
#
Loqi
[samwilson] #183 Add MarkdownExtra footnote support
jamietanna joined the channel
#
jamietanna
schmarty if you want to steal the iCS feed I used for my Hugo site, feel free - otherwise I recently built rsvp-calendar.tanna.dev which may work?
Rallygatti[d], sayanarijit[d] and hala-bala[m] joined the channel
#
[tantek]1
what is local development
#
Loqi
local development is (or local dev, local dev setup) the practice of having a version of your site on your local machine like a laptop that you can use for development purposes, even when offline https://indieweb.org/local_development
#
Loqi
ok, I added "https://twitter.com/bengoodger/status/1465727343687716873" to the "See Also" section of /local_development https://indieweb.org/wiki/index.php?diff=78092&oldid=57592
#
[tantek]1
what is offline first
#
Loqi
offline first is a method of developing a website that once a user has visited it once on their device, it will always provide at least some content (posts) and or features (like creating posts) when they revisit even when offline without internet access, using technologies like Service Workers and Local Storage https://indieweb.org/offline_first
#
[tantek]1
offline first << [[local development]], as in being able to actually develop offline first, and repeatedly, on different computers, e.g. https://twitter.com/bengoodger/status/1465727343687716873
#
@bengoodger
I had an old computer at home, and so to continue playing with this magic, I’d take floppy disks, and sneaker-net my HTML files back and forth - working on them offline in a text editor, and then uploading them and researching a bunch of new magic when I was online. /12
(twitter.com/_/status/1465727343687716873)
#
Loqi
ok, I added "[[local development]], as in being able to actually develop offline first, and repeatedly, on different computers, e.g. https://twitter.com/bengoodger/status/1465727343687716873" to the "See Also" section of /offline_first https://indieweb.org/wiki/index.php?diff=78093&oldid=69246
jamietanna, jjuran, tetov-irc and kogepan joined the channel
#
GWG
Making progress with adding a userinfo endpoint to my IndieAuth implementation.
KartikPrabhu joined the channel
justache, chenghiz_, akevinhuang, campegg, [jeremycherfas], KartikPrabhu, [will], [Joe_Crawford], [chrisaldrich], [tw2113_Slack_], kogepan, gRegor and gRegorLove_ joined the channel
#
capjamesg[d]
Is there a process through which one can submit a crawler’s records to the Wayback Machine?
maxwelljoslyn[d] joined the channel
#
[schmarty]
capjamesg[d]: that's a great question for the ArchiveTeam folks. they've got a discord: https://discord.gg/UpaKHpbc
jjuran joined the channel
#
[snarfed]1
anyone familiar with browser extension manifest versions and Firefox vs Chrome? Chrome is phasing out v2 support, https://developer.chrome.com/blog/mv2-transition/ , but Firefox currently requires v2 and doesn't support v3? https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/manifest_version
#
aaronpk
i just got that email too
tetov-irc, Seirdy and KartikPrabhu joined the channel