#dev 2024-09-04
2024-09-04 UTC
#
[tantek] I have this problem now where any time I'm writing any kind of semi-structured plain text, I can't help but think about "how will my markdown replacement process this semi-structuring" and how should it or how should I write my semi-structured plain text so the thing I'm building will eventually "do the right thing" with it

#
[schmarty] Ooh this speaks to me for making reusable bits of browser UI (e.g. for Micropub clients)

#
[tantek] [snarfed] check the two most recent logs if you can (I get "No log found!" when I click on the links) for the two most recent posts here: https://fed.brid.gy/web/tantek.com

#
[tantek] The latest one got delivered and is shown in Mastodon servers e.g. https://w3c.social/@tantek.com@tantek.com and mentions "Kevin Marks"

#
[tantek] [snarfed] I'm going to leave my recent posts as-is and take a break from posting until you've had a chance to take a look at the logs etc. and see what you can discern from how Bridgy Fed converts that markup ^ to AS2 to see if there's a bug to file with Mastodon, and/or a workaround to put into Bridgy Fed so we can use @-domain mentions in our posts without Mastodon dropping them on the floor.

#
[tantek] Possibly related: https://github.com/snarfed/bridgy-fed/issues/760

#
[schmarty] tantek: I agree in general. But I've been thinking about 11ty's webc and other ways to combine markup, styles, and behavior. The thing I like about this enhance-ssr-php thing is that it lets you use components as HTML custom elements and you define them in single files. It injects the markup, dedupes and scopes styles, and any frontend js is handled by defining the custom element.

#
[0x3b0b] Point of additional reference for [tantek] and [snarfed] : Tantek's profile as viewed on my site also jumps from 2024/246/t1 (Adventures in...Bridging) to 2024/238/t1 (All setup here at IndieWebCamp Portland), too. There have been a few things y'all have debugged that affected Mastodon and some other implementations but _not_ Microblogpub, but this doesn't seem to be one of them.

#
[snarfed] looks like the issue is indeed the https://kevinmarks.com link. his site doesn't serve SSL, so when BF tries to fetch that URL, it waits for 15s and then times out
#
[snarfed] [tantek] I'll work on a fix, but in the short term, I expect you can fix this on your end by linking to either http://kevinmarks.com/ (no https) or https://www.kevinmarks.com/ , since both of those serve ok
thegreekgeek joined the channel
#
aaronpk Possibly related to this? https://github.com/mastodon/mastodon/issues/24695

thegreekgeek_ joined the channel
#
[tantek] hmm, going to recommend https://validator.w3.org/checklink before federating a post with Bridgy Fed

bret, gRegorLove_, [mattl], [mattl]2, thegreekgeek, _fluffy, AramZS, gRegorLove__, cuibonobo, ttybitnik and sp1ff joined the channel
gRegorLove_ joined the channel
gRegorLove__ and doesnm joined the channel
#
pcarrier doesnm: by tilde you mean https://tilde.club/ ?
#
doesnm tidle-like server. I'm using https://psf.lt

#
pcarrier doesnm: I guess you'll have to confirm it supports BYOD (Bring Your Own Domain)?
#
pcarrier (sorry if y'all already know this) CNAME operates at the DNS level, to determine which machine to contact for the name. then the machine needs to know which certificate to use for HTTPS (TLS-NI), and which content to serve for HTTP (often referred to as virtual hosts).
#
pcarrier doesnm: nope, just went through an indielogin.com email flow to confirm
#
pcarrier smells like a custom mail setup. give me the address if you'd like a quick review of best practices, it's easy to get rejected by other mail systems.
#
pcarrier your server doesn't have the "right" PTR record
#
pcarrier and it doesn't send a greeting when I connect to it over SMTP
#
pcarrier might want to talk to your ISP / double check your firewall for DROP rules?
#
pcarrier (PTR is more important for sending than receiving)
#
pcarrier yup got it
jimw joined the channel
[aciccarello] joined the channel
#
pcarrier doesnm: what do you mean exactly? having to sign something, eg with the SSH agent, or getting a URL by SSHing somewhere?
#
pcarrier doesnm: srv.us is built on SSH :)
#
pcarrier could do for sure
#
pcarrier I think gpg is broken BTW
#
pcarrier I converted SSH keys to SSL certificates, worked great
#
pcarrier doesnm: well, I have 76 connections right this second and AFAICT no phishing problems
#
pcarrier doesnm: we shall see what happens…
#
pcarrier not once yet
#
pcarrier yup
#
pcarrier https://github.com/pcarrier/identify was the project
#
sebbu interesting, if that project got updated i could see it being promoted to use with https://github.com/yrutschle/sslh ;)
#
[schmarty] for PHP folks that use GuzzleHttp (or even curl directly, I guess), do you have a wrapper or pattern that you like for ensuring that you don't make unexpected requests to localhost or other not-generally-routable-but-maybe-on-your-local-network IPs?

#
pcarrier [schmarty]: what I've done in the past is use an unprivileged proxy
#
gRegor [schmarty], In ProcessWire plugin I have an isClientIdValid method which checks that in part: https://github.com/gRegorLove/ProcessWire-IndieAuth/blob/main/src/IndieAuth/Server.php#L119

#
[schmarty] thanks, gRegor! does that mean your PW IndieAuth server will fetch a client ID of `http://127.0.0.1`? 😅

#
[schmarty] pcarrier: sounds reasonable, but requires running an extra service?

#
pcarrier [schmarty]: yup
#
[schmarty] gRegor the spec says a server must not fetch a client_id with host 127.0.0.1 (or ::1) https://indieauth.spec.indieweb.org/#client-information-discovery

#
[schmarty] allow it as client_id, but don't attempt to fetch metadata from it.

#
[schmarty] cuz you'll be fetchin' from your own server!!

rozenglass, Virtual and JadedBlueEyes joined the channel
#
aaronpk there is an openid connect discovery spec that uses webfinger: https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery

#
aaronpk oh wow i had no idea okta supports this https://developer.okta.com/docs/reference/api/webfinger/

[Joe_Crawford] joined the channel
#
ptramo [marksuth] seeing markup in my feed reader for your feeds
[marksuth] joined the channel
#
[marksuth] hmm, someone mentioned the same thing at HWC this evening, I’ll do some poking

#
ptramo RSS
#
ptramo well
#
ptramo eg https://marksuth.dev/feed/stream.xml
#
ptramo miniflux shows 3 feeds when adding your domain, "Posts", "Photos", and "Stream". the purpose of the last one isn't super clear
#
ptramo looks like this: https://srv.us/ahc75stmctzcgqflmfpqnpcgjsx2kfz6
#
ptramo Just realized it's not obvious at all… ptramo=pcarrier=π, just depends on which platform I'm using and which platform you're using.
#
[tantek] you can fix that in /chat-names !

#
pcarrier I think I fixed it by making my discord handle my usual nickname
#
pcarrier who needs pseudonymity in the gaming community
#
[marksuth] I have either now fixed my feed issue or broken it in a different way, from checking in a couple of clients I think it's sorted

#
pcarrier [marksuth]: also is your feed unbounded? All the history there, not just the last N entries?
#
[marksuth] it should everything in there as I don't set a limit on it

#
pcarrier Yeah that's a bit wild
#
pcarrier Downloading a copy of your whole website on every refresh feels suboptimal :)
ttybitnik joined the channel
#
pcarrier Happy to report your markup is now interpreted as markup in my miniflux
#
[marksuth] out of interest, how much post history do folk have in their site's rss feed, cos I can easily set a limit

#
[mattl]2 10 posts is standard for WordPress.
#
pcarrier I put 10
#
[marksuth] 13 it is

[benatwork] joined the channel
#
[Joe_Crawford] Baker's Dozen seems properly English Mark.
#
pcarrier Tbh I picked 10 because I had 11 posts when I implemented the limit
#
pcarrier I kinda wish it kept just enough to stay below 64kB compressed
#
pcarrier Which is a lot of posts but also negligible overhead
#
pcarrier Not that I can think of. curl should be able to do it
#
pcarrier 24759 8756 8808
#
pcarrier > for enc in identity gzip br; curl -sHAccept-Encoding:$enc https://nothing.pcarrier.com/feed.json|LANG=C wc -c; end|xargs
#
pcarrier sebbu: what do you mean by signature in this context?