#dev 2022-02-24

2022-02-24 UTC
#
aaronpk
whoa, i was able to configure my okta account to use *my own website* as an IdP
#
aaronpk
(thanks to the recent indieauth updates that made it more like traditional oauth)
angelo joined the channel
#
[tantek]
that's pretty awesome
#
aaronpk
i was not expecting that to work tbh
#
[tantek]
unintended or can you document it as official?
#
aaronpk
definitely can document it
gRegorLove_ and epoch joined the channel
#
aaronpk
long story short, no need to add OpenID Connect ID Tokens, only needed to have the userinfo endpoint respond with the info okta uses to provision the user on that end
KartikPrabhu1 joined the channel
#
[snarfed]
aaronpk++
#
Loqi
aaronpk has 32 karma in this channel over the last year (138 in all channels)
epoch, Seirdy, jacky, strugee, angelo, gRegor, baracurda, baracurda_ and mro joined the channel
#
capjamesg[d]
Good morning IndieWeb!
#
capjamesg[d]
aaronpk++ Nice!
#
Loqi
aaronpk has 33 karma in this channel over the last year (139 in all channels)
#
capjamesg[d]
Oh no, I said good morning in #dev instead of #chat 😂
#
[schmarty]
good mornings are appreciated and needed here, as well!
jacky and mro joined the channel
mro, jacky, tetov-irc, mbrozirkb__, baracurda and franklen[d] joined the channel
#
jacky
would it make sense in practice to automatically convert URLs to links in a request like h=entry&content=Check+out+https://indieweb.org (ignore incomplete encoding)
#
jacky
I don't know if I want to do this automatically or rely on a Micropub client to send the plain form and HTMLform of a payload
#
jacky
(some don't!)
mro joined the channel
#
aaronpk
I would say yes it's a good idea to turn urls into Hyperlinks for the html version of you can. It's surprisingly hard to auto link urls in HTML later
mikeputnam, mro, barnaby, jacky and KartikPrabhu joined the channel
#
jacky
that makes sense!
mro, [jgmac1106], sp1ff, mro_ and jacky joined the channel
#
[tantek]
it is hard, and that's one of the reasons I made my auto_link function idempotent. that is you can run it on the output and it won't double-link things
#
[tantek]
GWG, for a page, an h-feed of h-cite items/children. For a post (e.g. "cool links this week"), an h-entry with "just" a list of h-cite children inside.
#
aaronpk
should work now
#
jacky
aaronpk++ ty!
#
Loqi
aaronpk has 34 karma in this channel over the last year (140 in all channels)
#
barnaby
I imagine pure HTML templating using PHP DOMDocument would be quite slow, unless you had a preprocessing stage
#
[KevinMarks]
If you want to generate a table /grid layout with 2 or 3 loops it's trickier to express that without a lot of implied convention
#
barnaby
and DOMDocument has many, uh, quirks
#
[tantek]
and how often are you finding yourself having to "generate a table /grid layout with 2 or 3 loops"?
#
[tantek]
like nearly never
#
[tantek]
so stop optimizing for far out there edge cases
#
barnaby
we do that all the time at work
#
[KevinMarks]
Well, in my day job, all the time
#
barnaby
more rarely on my personal site though, admittedly
#
[tantek]
personal sites / pages?
#
[tantek]
right this is the point and why I said it was a use-cases / needs question
#
[KevinMarks]
Unmung is mostly templates
#
[KevinMarks]
An example of convention done well is https://observablehq.com/@observablehq/plot
#
[KevinMarks]
Which will do its best to make you a sensible graph which you give hints on what to do.
#
[tantek]
fundamentally the methodology for a "good" templating language IMO needs to be is it easy to edit and roughly preview without having to "run it through the whole system"? in otherwords, does it roughly "work" as static HTML?
#
[tantek]
so in this regard, I think that means templating that at least allows for (if not encourages) placeholder content in the template which is later replaced
#
[aciccarello]
I get more annoyed with learning the templating language's version of control flow operations.
#
[tantek]
maybe I'm the only one that doesn't see control flow as essential in templates
#
[KevinMarks]
Do you have lots of small templates that you combine then?
#
[KevinMarks]
the vscode cycle of edit and refresh makes it easy enough to iterate for me
#
[tantek]
I want templates to be editable / previewable without "running code" or setting up an environment to do so
#
[tantek]
Every time I've tried to (and even gotten help with!) setting up a local dev "environment" to "run all the code", it breaks in some random way with an OS update or language update or something. It sucks and is an annoying tax
#
[tantek]
it has also felt like a bad layering violation. why should I have to run procedural code just to edit/preview the visuals of a template?
#
[tantek]
thats like anti-modularity
#
[KevinMarks]
Right, but then you end up in "the test data doesn't match reality" problem, like when they don't try long names
#
[tantek]
sure, or short posts vs long posts
#
aaronpk
oof, i just hit a weird bug with namecheap. one of my domains had the nameservers flipped without me doing anything.
#
aaronpk
i emailed support and they said they are aware of the problem and are fixing it, and offered me a free domain name as an apology
#
barnaby
heh, “sorry, have a free domain name which you’ll have to pay x$ per year for afterwards” is an interesting consolation gift
baracurda and mro joined the channel
#
[snarfed]
woowww that's not ok
mro, kimberlyhirsh[d], [jgmac1106], jacky and tetov-irc joined the channel