#dev 2022-04-04

2022-04-04 UTC
adstew, mambang[m], angelo, mro, [chrisaldrich], [tantek], rrix, saptaks, [KevinMarks], jan6, benji and gxt joined the channel
#
@novatrend_ch
Aus unserem Blog: Was ist eine Webmention und wie nutze ich sie in WordPress? – NOVATREND Blog https://blog.novatrend.ch/2022/02/07/was-ist-eine-webmention-und-wie-nutze-ich-sie-in-wordpress/ ^hg
(twitter.com/_/status/1510874906896084994)
omz13, MarkJR84[d] and mro joined the channel
#
capjamesg[d]
Another feed format.
#
sknebel
not for post feeds though
#
epoch
only sending things newer than an event ID that might not be in the feed anymore.
#
epoch
seems kind of like just using a date would have been easier
#
epoch
I was also thinking If-Modified-Since header, but I figure http responses aren't supposed to be partial response of only the newer stuff because of that header.
petermolnar joined the channel
jjuran joined the channel
#
[KevinMarks]
there are ways to do partial updates with http but it's a bit messy https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH
tetov-irc and mro joined the channel
#
capjamesg[d]
What are the use cases for If-Match?
#
Loqi
It looks like we don't have a page for "use cases for If-Match" yet. Would you like to create it? (Or just say "use cases for If-Match is ____", a sentence describing the term)
#
capjamesg[d]
Is it ever used for any feed work?
samhenrigold[d] joined the channel
#
capjamesg[d]
Like polling comparisons?
#
sknebel
for that you rather want the opposite headers, If-None-Match
#
sknebel
"give the file only if I already know the file" is not that useful for feeds :D
mro, nertzy, kimberlyhirsh[d] and omz13 joined the channel
#
[KevinMarks]
Yes, using etag and modified is strongly recommended. The python feedparser docs are good on this. https://pythonhosted.org/feedparser/http-etag.html
cjw6k_, mro and [tw2113_Slack_] joined the channel
#
capjamesg[d]
I did not know about if none match.
#
capjamesg[d]
That is really interesting.
#
capjamesg[d]
I need to send that header in my feed polling logic.
#
capjamesg[d]
What other headers are relevant excluding If None Match and Etag when it comes to feed polling?
#
capjamesg[d]
That conditional logic is really amazing.
#
capjamesg[d]
I learn something new about HTTP every day.
#
capjamesg[d]
Does Apache send etag by default?
#
sknebel
theres etag for content, and then the if-modified-since for time based
mro, [tantek], adstew, hoenir, Eddy04[d], samhenrigold[d] and dovedozen[d] joined the channel
#
[KevinMarks]
yes, etag is sent by default - a hash is ideal, but for a single server I think apache builds it from on disc file info
marksuth[d] and YimingWu[d] joined the channel
#
[KevinMarks]
node by default will render the file and hash the result, and then compare that to the sent etag, so will work to do less wire traffic but still do server load
#
[KevinMarks]
If you're constructing the pages from a store, you can do it yourself - I do that in svgshare https://github.com/kevinmarks/svgurl/blob/9554f41f9d23d0275e706394a23537133217ee72/main.py#L259
capjamesg[d], rattroupe[d] and chenghiz_ joined the channel
omz13, kimberlyhirsh[d], alex11, niklasfyi[d], hoenir, samhenrigold[d], capjamesg[d], YimingWu[d], dovedozen[d], rattroupe[d], marksuth[d], Eddy04[d], sayanarijit[d], aspenmayer[d], Silicon[d], petermolnar, [manton], Jeremiah[d], Christian_Olivie, ben_thatmustbeme, jacky and Asaf_Agranat[d] joined the channel
#
[tantek]
unfurl << oembed
#
[tantek]
what is autoblock
#
Loqi
It looks like we don't have a page for "autoblock" yet. Would you like to create it? (Or just say "autoblock is ____", a sentence describing the term)
#
[tantek]
what is naming
#
Loqi
Naming is hard, yes, even, especially for a personal site since you have to pick both a name you like as a representation of yourself, and one that hasn’t been already taken, though sometimes you can ask nicely (or pay a lot) for domains that are registered but unused https://indieweb.org/naming
#
[tantek]
naming << 2019-08-09 [https://getpocket.com/explore/item/here-is-how-the-pentagon-comes-up-with-code-words-and-secret-project-nicknames Here Is How The Pentagon Comes Up With Code Words And Secret Project Nicknames] (originally published by "The War Zone", has some heuristics for naming)
#
Loqi
ok, I added "2019-08-09 [https://getpocket.com/explore/item/here-is-how-the-pentagon-comes-up-with-code-words-and-secret-project-nicknames Here Is How The Pentagon Comes Up With Code Words And Secret Project Nicknames] (originally published by "The War Zone", has some heuristics for naming)" to the "See Also" section of /naming https://indieweb.org/wiki/index.php?diff=80609&oldid=79559
jeremycherfas, [aciccarello], Darius_Dunlap[d] and tetov-irc joined the channel
#
@_adstew
Got automated publishing set up :) Next is automated webmentions
(twitter.com/_/status/1511122108994179076)