#dev 2021-06-26

2021-06-26 UTC
[tantek], samwilson, [fluffy], [jacky] and KartikPrabhu joined the channel
#
[jacky]
LaBcasse[m]: hey! so I've opened this ticket https://gitlab.com/maxburon/microformats-parser/-/issues/1
#
[jacky]
it's ideally a way to make the objects in microformats a bit more simpler to interface with
KartikPrabhu, [tantek], [jeremycherfas], hendursaga, [chrisaldrich], samwilson and pepperoni_ joined the channel
#
@bionicjulia
Been wondering about #webmentions for a while, so tried implementing it yesterday. Wasn't as straightforward as I t… https://twitter.com/i/web/status/1408749839559573505
(twitter.com/_/status/1408749839559573505)
capjamesg joined the channel
#
capjamesg
Hello everyone!
#
capjamesg
Should questions in an interview be headings?
#
capjamesg
I just realised I have been marking up questions in my interviews as bold text in markdown.
#
capjamesg
I did not think about the semantics about this until now :(
#
Zegnat
I do not think there is really any specific semantics for something like that. I do not think I would make them headings unless the answers are long form and I would expect people to want to jump between them
pepperoni_ joined the channel
#
capjamesg
Yeah. The answers are not usually too long.
pepperoni_ joined the channel
#
Zegnat
Semantically I think I saw someone do the post so everything you (the blog) say (ask) are normal <p>, while everything they (the interviewee) say (answers) are <p> within <blockquote>.
#
Zegnat
Sort of reverse of an email, where you would be quoting the questions and your answers are unquoted.
chenghiz_, capjamesg, lamantine, j12t, [chrisaldrich], [fluffy] and [KevinMarks] joined the channel
#
[KevinMarks]
you can do <dl> <dd> <dt>
#
[KevinMarks]
<dt> for Q <dd> for A, though that assumes it is an interrogation
capjamesg joined the channel
#
sknebel
not sure that is a good fit
#
[KevinMarks]
the irony is that <q> is for quote, not question. You could use <p> and <q>
#
[KevinMarks]
though <blockquote> make sense for longer aswers
#
sknebel
"Name-value groups may be terms and definitions, metadata topics and values, questions and answers, or any other groups of name-value data."... still feels more like for FAQs than interviews
#
sknebel
(quote from <dl> in html5 spec)
#
petermolnar
[KevinMarks]++
#
Loqi
[KevinMarks] has 10 karma in this channel over the last year (43 in all channels)
#
petermolnar
because dl is a rarely used element, yet one of the first ones
alex11 and pepperoni_ joined the channel
#
astralbijection[
Good news: all that indieauth and micropub code I wrote for my backend works with quill! Bad news: it doesn't work for indigenous for Android. Baby steps are always good, though!
#
astralbijection[
There is surprisingly little support for indieweb stuff in Django, so I'm thinking of separating out my indieauth and micropub apps and putting them up as pip libraries
[jacky] joined the channel
#
[jacky]
astralbijection[m]: IIRC there's modules for IndieWeb for Django
#
[jacky]
what is Django
#
[jacky]
t is Django
#
Loqi
Django is a python web application framework used in some IndieWeb projects https://indieweb.org/Django
#
[jacky]
oh nvm
#
astralbijection[
Yeah there is a webmention library, but the only micropub/indieauth library I saw was 3 years old and the indieauth spec has been updated a lot since then
#
[jacky]
true! tbf, I think those repos _should_ be moved under the github org
#
[jacky]
so it'd be easier for the community to maintain
#
[jacky]
if the authors want that
#
GWG
I think I have a plan for ticket auth, worked out at the tail end of the popup
#
GWG
1. Zegnat builds a form that will send tickets on request so people can test this...and supports redeeming them for tokens for a simple resource
#
GWG
2. I build a ticket endpoint and support receiving tickets and using them to get tokens
#
GWG
3. We discover what works and doesn't and iterate to questions of...
#
GWG
4. What happens if a site keeps sending tickets to your ticket endpoint?
#
GWG
5. Can you ask for a ticket and how?
#
GWG
6. How can you give your ticket to your reader?
#
GWG
Etc
#
GWG
7. World domination
#
aaronpk
4: you should assume that you need to go get a new token using the new ticket provided
#
sknebel
5/6 are the bits that make AutoAuth "too complicated" :P
#
aaronpk
6: that's an implementation detail between your website and your reader, which may be just internal logic or may also benefit from a separate spec
#
aaronpk
well that was fun, i have unlisted posts with a secret slug now
#
GWG
aaronpk: 4. Isn't it the social equivalent to keeping sending people invitations to a party they don't want to attend?
#
GWG
Ticket Auth is an invitation. What if I'm just not that into you?
#
aaronpk
i mean you don't have to go use the ticket in the first place, but i was assuming that you had already successfully gotten a token in the past from them
#
aaronpk
you can always ignore a ticket request
#
Zegnat
If they are coming in quick succession, you may want some sort of debouncing, as you only need to go and exchange the last one (probably)
#
GWG
How do I say...stop sending me tickets, I'm not interested?
#
aaronpk
that feels not necessary
#
aaronpk
you can just ignore the request
#
aaronpk
or rather, that feels more like an "unsubscribe" than something at the auth layer
#
GWG
aaronpk: I defined these as follow-up questions. I intend to try to build something, then iterate on the questions that require additional spec or thought
#
GWG
The reason I asked was I just intended to, for first generation, redeem every ticket I got, whether or not I plan to use it
#
GWG
Especially because the spec says the tickets are short lived
#
GWG
If I have to decide what to do immediately, I might miss it
[snarfed] joined the channel
#
[snarfed]
aaronpk++ unlisted++
#
Loqi
unlisted has 1 karma over the last year
#
Loqi
aaronpk has 49 karma in this channel over the last year (141 in all channels)
#
[snarfed]
big fan of unlisted. 80% of the value of private posts with 2% of the effort/complexity
#
aaronpk
the previous problem with my unlisted posts was that they were guessable since my URLs are sequential
#
aaronpk
so this fixed it :)
#
[snarfed]
heh yup
#
Zegnat
What is unlisted?
#
Loqi
unlisted are publicly visible posts that are not included in a homepage or feed(s), and are typically excluded from site search features and broader web search services https://indieweb.org/unlisted
#
Zegnat
I like how you were already on there, aaronpk ;)
#
aaronpk
Oh I can update that now
#
sknebel
so ticket auth only gives out tokens valid for one URL? or are they supposed to be tried everywhere, if its not appropriate the error will tell the client?
#
sknebel
(since my site supports tokens to auth for posts already, looking how much I need to add over the autoauth logic)
#
Zegnat
From the wiki, I am assuming it is tokens per-path.
#
Zegnat
Or well, I would assume that everything under the path the token is for you should try the same token for.
#
Zegnat
So a token for root could be used everywhere.
jeremycherfas joined the channel