#dev 2018-11-30

2018-11-30 UTC
jgmac1106, jjuran, snarfed, KartikPrabhu, benwerd and [tantek] joined the channel
#
[tantek]
what's the lowest DNS TTL that anyone's experimented with?
#
[tantek]
seconds? would it be possible for a web server running on a mobile device to dynamically update the IP address for a domain name every time it itself got a new IP address via DHCP over wifi?
benwerd joined the channel
#
jjuran
[tantek]: Sure, there are DynDNS services.
#
[tantek]
yes I have heard of DynDNS and lots of stories. looking for actual experience here, especially with low TTLs
#
[tantek]
also, ideally you wouldn't have to use a DynDNS service. your mobile device should be able to directly interact with your domain name provider to update the IP address for your domain
#
[tantek]
though now I'm thinking it may make more sense to use a home router as a caching proxy, which then does lazy retrieval of actual content from your web server running on your mobile device(s)
#
jjuran
Okay, so you need a way to programmatically update the DNS, i.e. an API.
#
[tantek]
HTTPS POST via domain name provider existing web forms is a sufficient starting point
#
[tantek]
to put it another way, every web form *is* an API
#
jjuran
My domains on nearlyfreespeech.net have a TTL of 60 minutes
mblaney joined the channel
#
[tantek]
wow that's the shortest I've heard of. have you experimented with less?
#
jjuran
It doesn't seem to be user-settable
mblaney left the channel
#
[tantek]
I feel like I have seen a setting on some DNS providers
cjwillcock joined the channel
#
cjwillcock
tantek: i use a TTL of 600 regularly. 600 appears to be 10 mins but is recognized as having a special meaning, do not cache
#
cjwillcock
Great for switching webhosts, emails providrrs, etc
[tantek] joined the channel
#
cjwillcock
I can't find a reference for this being a thing. Now I wonder if it is a combination of factors in the zone, not simply a TTL of 600 on a single record. Making a note here to run down additional info.
jjuran and jgmac1106 joined the channel
#
KartikPrabhu
what is TTL?
#
Loqi
It looks like we don't have a page for "TTL" yet. Would you like to create it? (Or just say "TTL is ____", a sentence describing the term)
snarfed joined the channel
#
jjuran
TTL is Time-To-Live, a measure in seconds of how long a DNS record (such as a name-to-address mapping) is valid.
#
jjuran
what is TTL?
#
Loqi
It looks like we don't have a page for "TTL" yet. Would you like to create it? (Or just say "TTL is ____", a sentence describing the term)
#
jjuran
TTL is Time-To-Live, a measure in seconds of how long a DNS record (such as a name-to-address mapping) is valid.
barpthewire joined the channel
#
sknebel
!tell tantek: TTL 600 (10 minutes) is quite common, some DynDNS services go down to 60 or even 30.
#
Loqi
Ok, I'll tell them that when I see them next
jgmac1106 joined the channel
#
jgmac1106
Goto be [jacky]
#
jgmac1106
If I am waking up you need to be asleep
#
jgmac1106
oops thought I qas in chat
iasai, [kevinmarks], [jgmac1106], [grantcodes] and [schmarty] joined the channel
#
[jgmac1106]
can a u-url come before a p-name in an h-card or is best practice to have p-name as first property after an h-*
#
[jgmac1106]
nvm I see u-photo first everywhere, order doesn't matter
TIA1, [manton] and [kevinmarks] joined the channel
#
[kevinmarks]
Order will depend on the language of the parser.
snarfed joined the channel
#
[jgmac1106]
thx [kevinmarks] I was loooking at examples here where p-name isn't first..I do know p-name should come first after h-entry but looks like, based on tempaltes, doesn't matter in h-cards
[tantek] joined the channel
#
[kevinmarks]
I mean that once parsed the order of key/value pairs in json is not defined.
#
[kevinmarks]
Php and javascript do preserve the order you add, but python sorts by hash of the key and go deliberately randomises them.
#
[jgmac1106]
ahh okay thx
[eddie], [manton], benwerd, snarfed, KartikPrabhu, iasai, [schmarty], [jgmac1106], eli_oat, [tantek] and tantek joined the channel
#
[tantek]
Would anyone that currently receives webmentions support receiving an audio-reply (kind of like a photo-reply) and then attempt transcription into a text equivalent? (assuming it was a /voice-comment )
#
Loqi
[tantek]: sknebel left you a message 11 hours, 57 minutes ago: TTL 600 (10 minutes) is quite common, some DynDNS services go down to 60 or even 30.
jgmac1106 and snarfed joined the channel
#
[schmarty]
tantek: oooh. i don't think my site would display those currently.
#
[tantek]
do you display photo comments?
snarfed1 joined the channel
#
[tantek]
how about video comments?
#
[schmarty]
just checked my templates. currently hardcoded to show photos if present, but no checks for video or audio.
[jgmac1106] joined the channel
#
[schmarty]
i should possibly consolidate my response display code that handles photos w/ my reply context display code that handles photos, audio, and video.
#
aaronpk
I intentionally have different displays for those two, for example photos in the reply context get displayed small, but they are full width in a comment
#
Loqi
aaronpk: [eddie] left you a message 3 days, 14 hours ago: If someone sends a webmention delete (where source is 410) to a webmention.io endpoint does it delete the webmention and/or ping the web hook?
[kevinmarks] joined the channel
#
[kevinmarks]
You should have asked when I was at BT, we had an api for that
#
aaronpk
[eddie] I think the answer to both is no
snarfed joined the channel
#
[schmarty]
the "short videos comments" thing was something my friends and i played with. i feel like there was a wordpress plugin that would let visitors leave video comments on your posts, hosted on seesmic.
[eddie], snarfed, tomasparks and jgmac1106 joined the channel