#dev 2022-02-15
2022-02-15 UTC
jacky and lagash joined the channel
lagash, dovedozen[d] and [tonz] joined the channel
[jeremycherfas] joined the channel
# capjamesg[d] Murray++ for the guidance! Regarding links, I like the idea of having them so I can link to a particular point on a page.
# capjamesg[d] But I suppose a table of contents in a details/summary section with those links would suffice.
# capjamesg[d] But then there's accessibility to consider. On a page with six headings, do I want all of them to be read out by a screen reader before the reader actually gets to the main content in the page.
# capjamesg[d] sknebel I shall review the zine linked above and maybe come back ๐
jjuran joined the channel
# capjamesg[d] Murray that guide was really helpful. Thank you!
# capjamesg[d] I think I have a better understanding now. But I still don't understand the actual role the OS plays. Is it right that there is basically a hash map between services and all valid internal IPs and ports, one for UDP and one for TCP? Or something along those lines? When an application connects to port, say, 80, all those connections are routed to the corresponding service?
# capjamesg[d] This starts to explain how NGINX proxy passes work to me which is quite exciting.
# capjamesg[d] To the level I understand, NGINX routes my HTTP request through to the application socket (say, microsub.sock) where my application is listening and will process the request.
# capjamesg[d] IndieWeb Search returned three relevant results for this query ๐ https://indieweb-search.jamesg.blog/results?query=unix+sockets
# capjamesg[d] That makes me so happy!
# Murray[d] capjamesg[d] glad it was useful ๐ In terms of concerns over tables of contents, as long as they're given a clear heading and are marked up as a list, anyone using any form of assistive tech (AT) will have browsing habits that can skip past them if not wanted. E.g. lots of screenreader users browse by heading or section, so as long as a contents table is distinctly labelled, they can just skip clean over it. In many ways, providing a skele
# capjamesg[d] sknebel yes it was part of a separate itch I had to scratch in my mind ๐
# capjamesg[d] If anyone has any feedback on IndieWeb Search I'd love to hear it. I think I have worried too much about relevance engineering given what data one can access as a niche search engine operator.
# capjamesg[d] Murray that's good to know!
# capjamesg[d] Murray++
# capjamesg[d] sknebel++
king joined the channel
# king hello
# king With our IRC ad service
# king rampjoul
# king free money
tetov-irc, jamietanna, jacky, KartikPrabhu, [KevinMarks] and Eddy04[d] joined the channel
# capjamesg[d] sknebel What do DNS authoritative name servers like bind implement?
# capjamesg[d] That is absolutely crucial for the average DNS query that is.
# capjamesg[d] If I understand correctly, a DNS server only needs to return a response on port 53 to a query like "find me all of the A records for jamesg.blog please" (obviously not in that language).
# capjamesg[d] That response is structured in a way that the server looking up the name server can understand.
# capjamesg[d] The reason I ask is that I'd love to implement one with Python's dnslib library. It handles the responses but I need to build the logic ๐
# capjamesg[d] Oh any I hadn't thought about that.
# capjamesg[d] Can I send over some code to glance at?
# capjamesg[d] To trigger, you can use a command like: dig @127.0.0.1 -p 5005 jamesg.blog TXT
# capjamesg[d] ANY queries don't work yet haha.
# capjamesg[d] Good point.
# capjamesg[d] What should you do if the server can't respond to a query?
# capjamesg[d] Like if you try to query google.com using my server?
# sknebel capjamesg[d]: https://powerdns.org/hello-dns/auth.md.html is a good starting point
barnaby joined the channel
# capjamesg[d] [KevinMarks] I have seen that but it looks like a task for another day.
# capjamesg[d] Thank you sknebel! I did try and read the spec a few weeks ago but it was a bit verbose for me at my current level of knowledge and understanding of networking.
# sknebel ("a lot": https://powerdns.org/dns-camel/ - "There are 297 RFCs relevant to DNS, of which 108 are selected by filter. Total pages selected: 2082")
# capjamesg[d] jvns.ca has implemented her own DNS server but only for a side project.
# jacky first my /contacts, then falling back to /chat-names lol
# capjamesg[d] Running my own DNS server does mean I can send arbitrary TXT records programatically. Not that I'd really want to do that for anything important but it's a cool perk.
# capjamesg[d] For instance my DNS server could rotate a TXT record with a different type of coffee each day. Again, not important stuff.
# [KevinMarks] dns-sd is pretty neat
# capjamesg[d] My reservation right now is security.
# capjamesg[d] And also whether what I have is roughly stable.
# capjamesg[d] sknebel Apologies for all the questions but are there any big security issues that one should be aware of building a name server?
# capjamesg[d] I'm deferring the actual header production to a library so I'm not worried about payload formats.
# barnaby btw capjamesg[d] if youโre looking to learn more about networking, teach yourself CS recommends a few good resources https://teachyourselfcs.com/#networking
# jacky question for people's Micropub implementation (and a bit of a question on Micropub clients): do y'all do `u-*` property resolution of incoming things? I figure for servers, one _could_ do this if URLs are provided but I wonder if this is something clients _should_ do to make the act of publishing easier
# jacky so like let's say I use a client and it sends just h=entry&like-of=https://indieweb.org/why
# jacky what I'm asking if the act of turning `https://indieweb.org/why` into something like a h-cite should be done on the client or the server side
# barnaby that would either require every micropub implementation to support h-cites, or a way of querying what properties the server supports to avoid undermining users expectations (say, when the client sends a like-of h-cite rather than string, and the server either doesnโt support it or makes its own link preview)
# jacky https://github.com/indieweb/micropub-extensions/issues/33 is it, I think
# jacky [manton] has it as well https://github.com/indieweb/micropub-extensions/issues/33#issuecomment-668122942
[manton] joined the channel
# barnaby e.g. in the nested microformat object section of the spec, it doesnโt show the value key in the example https://www.w3.org/TR/micropub/#nested-microformats-objects
[snarfed] joined the channel
# [snarfed] this all reminds me a bit of https://snarfed.org/2015-11-29_keep-bridgy-publish-dumb , in which people gradually asked for more and more rich interactivity from Bridgy Publish, which I largely refused, and which Micropub clients and servers are maybe more suited for
# barnaby also the summary is a property on the top level structure, not a way of editing the nested h-measure structures, which IMO are the ones which should have value keys as fallbacks for editing. although admittedly this example is specific enough that users are only likely to want to edit it using a use-case-specific app
# barnaby but even in this case, with value keys a simpler client could see that there are these weight and bodyfat properties which it doesnโt understand, but which have value keys (which could be, say "70.64kg", and could offer the user the oppotunity to edit them as plain strings, with a warning that data might get lost. and then the server, on receiving the data, could either ignore it as itโs not the expected nested structure, or
# capjamesg[d] Did anyone get one of these? https://news.ycombinator.com/item?id=30348980
# capjamesg[d] I was quite concerned when I first saw the title of the email which made me think that I had exposed some kind of private information by accident.
doosboox8 joined the channel
# jacky well TIL about https://urlscan.io
# jacky that also introduced me to https://phish.ly/
# [schmarty] missed the "rich h-cite editing" discussion, but i actually prototyped adding this to Quill at some IndieWebCamp https://github.com/aaronpk/Quill/compare/main...martymcguire:mm-nested-h-cite
# [schmarty] it was some q&d contenteditable stuff but it gave me some hope.
# [schmarty] my opinion on client vs server unrolling of urls-to-reply-contexts is: offer it all because it comes down to preference and circumstance.
# [schmarty] (and reminds me that there are a handful of mini micropub clients i'd like to see that are purely for editing bits of posts. editing tags, unfurling/editing reply-contexts, updating syndication, adding media, ...)
edburns[d] joined the channel
# jacky this looks like an interesting editor (for Linux-y systems) https://thiefmd.com/
[tw2113_Slack_] joined the channel
# capjamesg[d] aaronpk You posted a story to your site! I have been waiting to see that function in action for a while.
# capjamesg[d] It was an accident? ๐
# capjamesg[d] From #indieweb. I think I need to start taking into account internal links in ranking.
# capjamesg[d] But I don't currently calculate that in the link graph calculation.
# [schmarty] i think i don't understand how the indieweb search works. only seven results for caturday and none of them from https://martymcgui.re/tag/caturday/ ?? ๐
angelo joined the channel
# [schmarty] (fwiw i include the word "Caturday" in the content for each post, along with the tag "#caturday")
asteria joined the channel
# jacky might be interested for people with audio snippets on their site and wanna visualize it somehow https://css-tricks.com/making-an-audio-waveform-visualizer-with-vanilla-javascript/
asteria, Seirdy, angelo and capjamesg1 joined the channel
# capjamesg1 Well Discord is down ๐ฑ
# capjamesg1 barnaby all the code is open source if you want to assist in any way :)
# capjamesg1 It is indeed a very hard problem. After embarking on this project I realized just how much google needs to do behind the scenes.
# [schmarty] jacky: oo i like that it's very how-to and the result is aesthetic. kinda want to render them to an SVG instead
# capjamesg1 [schmarty] crawls were initially capped to a small number of URLs so your site might have been affected by that. Iโll run a full recrawl of your site tomorrow.
# [schmarty] (an image proxy that eats mp3s and spits out pretty waveform SVGs ๐ค )
# capjamesg1 The common prefix thing is a big issue. Google does rewrite title tags interestingly.
# [schmarty] capjamesg1: ah, good to know! is there a way to see what the search engine "knows" about a given site?
# capjamesg1 Ask me :) there will be a JSON API that lets you see incoming links to a page, internal links, and all the data the engine has in each page on each result (minus a few things)
# capjamesg1 I just need to push a fix because it was affected by the refactor
# capjamesg1 What do you want to know? I would love to make a site owner dashboard so you can see stats but do Iโd love input on that.
# capjamesg[d] Discord is back!
# [schmarty] capjamesg: the first and only thing so far is number of pages crawled and, like, latest-page-crawled time.
# capjamesg[d] That is doable. Any other feedback on the engine? Iโm actively chipping away at it and am happy to introduce / change ranking factors etc.
# [schmarty] capjamesg++ i've mostly been watching the project from afar and haven't tinkered much, yet. very cool stuff!!
# capjamesg[d] Bad results pages help me figure out how to improve things. There are so many moving pieces that I havenโt done as much with relevance as I know I should.
e-snail joined the channel
# [schmarty] oh snap. glitch.com rolling out deploy-to-digital-ocean https://blog.glitch.com/post/glitch-and-digitalocean-make-deploying-your-apps-even-easier
# [schmarty] that helps make it feel like glitch is a too-magical irreplaceable thing to put projects on.
# [schmarty] err sorry. makes it feel like it's _not_ too-magical lol.
# kinduff haven't tried DigitalOceanโs App Platform, but sometimes i feel it's kinda costly
[metbril] joined the channel
# kinduff 5 dollars a month is nice but a droplet for 10 dollars has more transfer and no cpu/build minutes
# kinduff but happy to see the glitch community deploying their apps
jacky, [metbril], [James_Van_Dyne], [snarfed], [manton], [tw2113_Slack_] and [jeremycherfas] joined the channel
# [schmarty] jacky++ i can imagine!
# [schmarty] whew okay trying to resolve dependabot issues in my indieweb projects on glitch is giving me the sads. kapowski is presently broken and thankfully i decided to touch it before the webring. ๐
# [schmarty] npm--
angelo joined the channel
# barnaby okay I typed up the micropub value key fallback suggestion from before, with some fully worked-out examples https://github.com/w3c/Micropub/issues/124
# @QuinnyPig Is Linode going to modernize Akamai's API, or is the Linode Terraform provider going to be refactored to use Mechanical Turk to open a ticket with Akamai's existing "Jason API?" https://twitter.com/jordannovet/status/1493694280375967745 (twitter.com/_/status/1493709992515432450)
sebbu, rhiaro, barnaby and tetov-irc joined the channel
# [tantek] [schmarty]++ yes that was at IWS 2019! And IIRC after a long side-conversation you and I had during create day on that very subject and related: how to store information from or about other people's sites (e.g. from webmentions, or reply-contexts / link-previews, which are different because of who external vs author initiated), how to allow the site author to edit them, perhaps before posting (or moderating a response), and how to
# [schmarty] Those feel like good dividing lines to start from!
# [tantek] then Webmention received stuff, i.e. (4) edited/reviewed content from the URLs from folks in my nicknames cache (sort of applying /Vouch principles to content storage), then (5) edited/reviewed content from other URLs (not in nicknames cache), then (6) raw content from URLs from nicknames cache, then (7) raw content from other URLs