#dev 2023-09-30

2023-09-30 UTC
nertzy, [jamietanna], IWSlackGateway, gerben, [tantek], [Jo] and [snarfed] joined the channel
#
[snarfed]
current status: looking into running my own DNS server 😭
#
sknebel
why? (the emoji makes me think its not just "for the fun of it" ;))
#
[snarfed]
I'm back to mapping fediverse handles (eg @user@server) to Bluesky domain handles on Bridgy Fed
#
[snarfed]
snarfed: so far I've been planning to translate them to user.server.bridge, but that takes two levels of wildcards, which SSL certs don't support, and Bluesky handle resolution over HTTP requires SSL, https://atproto.com/specs/handle#https-well-known-method
#
[snarfed]
...which leaves DNS resolution, https://atproto.com/specs/handle#dns-txt-method , which is doable, but to make it relatively realtime and scalable, I'd probably have to run my own DNS server...?
#
c​apjamesg
That really doesn't sound fun.
#
[snarfed]
most big projects have at least some not-fun parts
#
[snarfed]
capjamesg didn't you get excited about learning DNS and building your own server a while back?
#
c​apjamesg
I did!
#
c​apjamesg
It ended in a Go program that is still technically running but isn't working.
[catgirlinspace] joined the channel
#
aaronpk
I don't think it's too outrageous of an idea to run your own DNS server tbh. It's only not fun if you're running one that expects to act like a public DNS server. But this one sounds kind of fun
#
[snarfed]
just, admin tax
#
[snarfed]
I'm leaning toward using something like route 53 or google cloud dns instead. will see
#
[tantek]
"Just" admintax 😭
#
[snarfed]
tradeoffs for admin tax for developers are different than for end users
#
[snarfed]
_some_ admin tax is more necessary and expected
#
[snarfed]
but stil yeah
[aciccarello] and gerben joined the channel
#
c​apjamesg
How does Google DNS work?
#
[tantek]
capjamesg, do you mean 8.8.8.8?
#
[tantek]
re-asking a couple of questions from the meetup
#
[tantek]
does anyone here do protocol-relative image embedding?
#
[tantek]
and 2. does anyone here do protocol-relative auto-linking/embedding?
[KevinMarks] joined the channel
#
[KevinMarks]
For external images you mean?
#
c​apjamesg
[tantek] I meant the Google Cloud DNS [snarfed] mentioned earlier.
#
[tantek]
[KevinMarks] for both
#
[KevinMarks]
Same site images I link domain relative or current page relative. Protocol relative would be odd there
#
[tantek]
not odd at all. your URL design for different pages / images may vary differently over time
#
[tantek]
e.g. you might redo where you put posts and yet keep all your "big images" in a images directory or something
#
sknebel
just for a directoryyou dont need protocol relative, only domain relative
#
[tantek]
though I suppose you'd use domain/root relative for that "/"
#
sknebel
but if you had an images subdomain or something
#
sknebel
then itd make sense if you served the site over multiple protocols too
#
[tantek]
subdomain for images.yourdomain for storage reasons is certainly a use-case
#
sknebel
(and I guess even if you dont it doesnt hurt to use protocol relative)
#
[tantek]
thanks sknebel, that helps clarify the use-cases
#
[tantek]
ok this is worth implementing in CASSIS then
#
[KevinMarks]
Multiple subdomains was more of a pre http2 thing to get browsers to fetch in parallel wasn't it?
#
[snarfed]
[capjamesg] https://cloud.google.com/dns . similar to Route 53 and others, basically programmatic DNS server as a service
#
[tantek]
[KevinMarks] multiple subdomains is also a ease-of-configuration & backend-portability thing if you're using say AWS for image storage for example while the rest of your site is on a webhost, but want to be able to change the image storage host without touching anything that embeds your images on your site
#
[tantek]
e.g. for some folks www.domain or blog.domain vs image.domain
#
[tantek]
or perhaps media.domain (for images, video, audio etc.)
#
[tantek]
I believe this technique is also used for "large static assets" in general to better handle spikes in traffic which may overwhelm "traditional" web hosts, or if you have a hybrid home/remote setup for your text content (e.g. server in your garage / on your home ISP) vs large static files (images, video, audio) that you don't want to upload through your home ISP
#
[tantek]
I know we've discussed these use-cases before, however I don't know where to find them (or document them?) on the wiki
#
[tantek]
what is a subdomain
#
Loqi
A subdomain typically refers to a domain with one more "name(dot)" component than that which someone actually has registered which is often seen indieweb sites with a family name domain like joel(dot)franusic(dot)com, or often on silos like matt(dot)wordpress(dot)com https://indieweb.org/subdomain
#
[tantek]
[KevinMarks], sknebel, I added this section, braindumping some of the above (and more) re: subdomain use-cases. Please review: https://indieweb.org/subdomain#Why
#
sknebel
"This has bad security properties since it is not the same origin as other things on your site. " - not sharing security context with other things is not per-se "bad", it could be exactly why you do it
#
[tantek]
sknebel, yeah that should probably link to the large section on origins / security later on in that page
#
[tantek]
[KevinMarks] want to use the < < tool to at least get it on the page?
#
[KevinMarks]
subdomain << what counts as a top level domain is a bit tricky - see https://wiki.mozilla.org/Public_Suffix_List
#
Loqi
ok, I added "what counts as a top level domain is a bit tricky - see https://wiki.mozilla.org/Public_Suffix_List" to the "See Also" section of /subdomain https://indieweb.org/wiki/index.php?diff=89461&oldid=89460
#
[tantek]
Hmm, this may be convincing me to avoid protocol relative URLs in my content: https://webhint.io/docs/user-guide/hints/hint-no-protocol-relative-urls/
#
[tantek]
and certainly not add code support for them
#
[tantek]
or generating them
[schmarty] and geoffo joined the channel
#
[tantek]
yeah this may be worth documenting for others
#
[tantek]
what is a protocol relative URL
#
Loqi
It looks like we don't have a page for "protocol relative URL" yet. Would you like to create it? (Or just say "protocol relative URL is ____", a sentence describing the term)
#
[tantek]
protocol relative URL is a URL on a page (hyperlink, image source or similar) that starts with "//" and re-uses the protocol of the page itself, typically re-using http: or https: from however the page was loaded, which used to be a common web development practice and is now generally discouraged for a various [[performance]] and [[security]] reasons. https://www.paulirish.com/2010/the-protocol-relative-url/ and
[jamietanna] joined the channel
#
Loqi
ok, I added "https://www.jvt.me/posts/2023/09/30/tweetus-deletus/" to the "See Also" section of /Twitter https://indieweb.org/wiki/index.php?diff=89484&oldid=89344
#
[aciccarello]
I wonder if Twitter will rate limit something like that. I've been rate limited from unfollowing people on Instagram before.
#
[jamietanna]
Haven't seen anything yet, and it's been ~2500 tweets in a few hours
#
[tantek]
capjamesg, re: the space+time table in /cities, and our discussion in the chat and meetup earlier today, I'm now wondering if that HTML+CSS space+time chart/flow could be generated automatically from a list of h-events e.g. on a page
#
[KevinMarks]
Andy Herzfeld did a nice timeline generator at one point at Google.
#
[tantek]
nah, that's a boring horizontal crawl of columns where vertical position across columns is meaningless. sorry but that's crap design
#
[tantek]
[KevinMarks] please compare that side by side to /cities and note how *every* dimension used in /cities is relevant and communicating information
#
[tantek]
[KevinMarks] also that "timeline generator" looks like a multicolumn generalized version what we created a politics.technorati back in the day (2005)
gRegorLove_ and nertzy joined the channel
#
[schmarty]
jamietanna++
#
Loqi
jamietanna has 6 karma over the last year
#
aaronpk
Holy crap that Twitter phishing screen
[tw2113] joined the channel
#
[tw2113]
y'all still check X?
#
[tw2113]
pardon my language, but it's a shithow
#
aaronpk
No I read jamietanna's blog post
#
[tw2113]
ahh, that's legit
#
[tw2113]
but still, X is a shitshow
#
aaronpk
I wouldn't know, I haven't opened it in weeks
#
[tw2113]
don't trust random trending, you get some NSFW content