#dev 2022-12-10

2022-12-10 UTC
neceve, geoffo, GWG-, GWG and gxt_ joined the channel
#
IWDiscordRelay
<j​acky#7226> This is good to know and worth adding to the README tbh
#
IWDiscordRelay
<j​acky#7226> Imma do this for the Rust project first tbh
#
IWDiscordRelay
<j​acky#7226> Before I suggest anything elsewhere
#
IWDiscordRelay
<j​acky#7226> The more I think about non technical users to the indie Web, the more things like /sidefiles come to mind when wanting to advertise alternative sources of content for folks
#
aaronpk
how so?
#
IWDiscordRelay
<j​acky#7226> Like it's easier to give them some HTML (if they grok that) or a plugin for their platform to point to something more reasonable for interop than retrofitting their entire site to be more indie Web friendly
#
aaronpk
non technical users shouldn't be thinking about retrofitting their site to begin with, so i'm not sure i see the connection
#
IWDiscordRelay
<j​acky#7226> /me is on mobile and apologizes for any weird typos
#
IWDiscordRelay
<j​acky#7226> Hmm that's fair. I'm thinking then about someone specifically who has their own site but doesn't know anything beyond their editing interface that hides a lot of the plumbing for them (could be WordPress but also even something like Ghost or Tumblr)
#
aaronpk
i get the argument for wordpress since we've definitely seen challenges with wordpress themes, and it's far easier to install a plugin that creates a new sidefile
#
aaronpk
tumblr is a weird one tho because users can edit the HTML themselves but can't create sidefiles, only the platform itself can do that
#
IWDiscordRelay
<j​acky#7226> Hmm yeah, I can see some sort of bridging service giving Tumblr users that capability (Micropub to Tumblr, if you may)
#
aaronpk
but i agree there is something appealing about "don't touch your existing HTML/theme just install/create this other thing over here instead"
#
[tantek]
and now they have two things to "manage" and have to think about do I post in thing A or thing B?
#
IWDiscordRelay
<j​acky#7226> Exactly! Like I really think this isn't something too bad/taboo to explore, if anything, it'd be an amazing onboarding opportunity (but it comes with a support and maintainer burden for sure)
#
[tantek]
it's expedient in the short term to get IMO superficial adoption, but longterm they end up abandoning one or the other because it's yet one more place to check / load
#
aaronpk
the majority of the cases in question here are when a site's is already driven from some other representation than the HTML anyway
#
aaronpk
so the HTML is already generated from templates. so it's not like posting here or there, but it does create two "views" to maintain
#
[tantek]
^ yeah that was a common excuse for RSS and other DRY violations back in the day (early 2000s) — "a site's is already driven from some other representation than the HTML anyway" — it's a good theory, and also wrong in practice
#
IWDiscordRelay
<j​acky#7226> Yeah hmm, I can see the bridge taking advantage of the internal repo of Tumblr's content to make it friendly. It's also not too foreign from what we have with bridging tho
#
[tantek]
in practice, the less used (read: more invisible, more side-y of side-files) things break, rot, and stop working
#
aaronpk
But, there are now a few years of *new* experience with side files with jsonfeed, so I would be curious to survey how those deployments have withstood time
#
[tantek]
sure. or humans.txt
#
IWDiscordRelay
<j​acky#7226> Who would be a good person to ask about that? I could see a recrawl of indiemap maybe being useful but I feel like this leaks outside of that
#
IWDiscordRelay
<j​acky#7226> Ask re: deployment of jsonfeed?
#
[tantek]
jacky, back in the early 2000s we had data from Technorati that kept track of what % of RSS/Atom feeds had "gone bad" (so many different ways) as compared to the visible HTML representation
#
[tantek]
whether you're a <fan> or { fan; } it's doesn't really matter in practice
[Michelle_Moore] joined the channel
#
aaronpk
I do feel like there's a big difference between things like humans.txt and alternate feed files that are generated by the same source that generates the html
#
IWDiscordRelay
<j​acky#7226> Yeah like humans.txt are manual IIRC whereas people can and do generate sidefiles both for consumption for clients (this is subjective but I'm more likely to find a HTTP client with in-built support for parsing JSON than HTML, that latter would have been great for the mf parser heh)
#
IWDiscordRelay
<j​acky#7226> *both for consumption and out of conventional support from frameworks
neceve and GWG joined the channel
#
[tantek]
aaronpk, indeed, they are different kinds of side files
#
[tantek]
I mean in terms of studies of side-files and how out of date or broken they become
neceve joined the channel
#
IWDiscordRelay
<j​acky#7226> I'm inclined to lean on the sidefiles that rely on rel=alternate + rel=canonical
neceve, gRegor, gRegorLove_ and gxt_ joined the channel; btrem left the channel
gxt_, mro, neceve, tiim, gRegor, gRegorLove_ and barnaby joined the channel
#
barnaby
[KevinMarks]: interesting that the author accurately describes the relationship between mastodon and activitypub in the first paragraph, but then conflates the two continually throughout the rest of the article, referring to the collection of static files as a “mastodon instance”
#
barnaby
but conflation aside, it’s a good reference for the absolute minimum requirements to have a mastodon-compatible AP account
mro, jonnybarnes, neceve and gxt_ joined the channel
#
IWDiscordRelay
<j​acky#7226> Indeed, a MVP of an AP server. Might be enough for me to hack support for my site
mro, gxt_ and prologic joined the channel
#
prologic
Heya 👋 What's news?
mro and gxt_ joined the channel
#
[snarfed]2
hi prologic! lots of fediverse around here recently
#
prologic
oh yay 🤦‍♂️
#
prologic
haha 😅
#
Loqi
woot
#
prologic
whoop ti to da 🤣
#
prologic
Twtxt is the only non-social social you need 🤣
GWG-, mro, gxt_, sp1ff and [jeremycherfas] joined the channel
#
[jeremycherfas]
Anyone here have any experience using the Python module staticmaps https://github.com/flopp/py-staticmaps
#
Loqi
[preview] [flopp] py-staticmaps: A python module to create static map images with markers, geodesic lines, etc.
#
[jeremycherfas]
I’m trying to add different segments to a line on a map, each segment a different colour. The segments are indicated by start and end markers, but the whole line is a single colour, as if it is applying the colour to the whole line. And when I break down and try to plot just one segment, I end up with the whole line of all segments. Clearly I am not zeroing things properly.
#
[jeremycherfas]
Hard to know how to troubleshoot.
#
[jeremycherfas]
Currently adding each segment with `context.add_object(staticmaps.Line ...` in a loop; maybe I need to add each segment sequentially, keeping the identity of the line for each segment separate.
#
[jeremycherfas]
The examples include adding multiple Marker objects, so I ought to be able to add multiple Line objects, I would have thought.
#
@bentasker
New #Blog: Adding #WebMentions support to my @GetNikola #SSG based #website I was reading someone else's blogpost the other day, and it set me thinking about how I should at least *send* webmentions to sites that I link to/quote. https://www.bentasker.co.uk/posts/blog/software-development/adding-webmention-support-to-nikola.html
(twitter.com/_/status/1601628775753478144)
mro, gxt_, geoffo, GWG, GWG-, tiagorangel11 and [manton] joined the channel
#
[manton]
That “Mastodon with 6 files” is a good post. But I’m really curious how he will be able to implement much else! Seems impossible to support following or new posts without some dynamic code for HTTP signatures, etc.
#
aaronpk
heh he says in the post "Posts don’t work"
#
[manton]
Right! And then at the end: “Next, we’ll give this instance some of the functionality that doesn’t work. We’ll allow users to follow the account, and then let it create posts.” But how? Very curious. 🙂
#
[manton]
While I’m nitpicking, the fact that you need 6 files isn’t great. A fully IndieWeb site needs 1 file or maybe 2 if you have a feed.
#
aaronpk
to get as far as that, yes
#
aaronpk
but of course as soon as you want to talk about webmentions it gets more complicated
#
aaronpk
i do look forward to his explanation of getting posts working though :)
#
[snarfed]2
also number of files is an entertaining metric but not the most meaningful one. if you're managing files on your server, you're already pretty technically capable, and fewer or more files doesn't really make managing your site easier or harder
#
aaronpk
very true
#
M0x3b0b[m]
It looks like what he's done is basically a next step along from the trick of making a fediverse handle at your own domain be a pointer to your actual account (https://blog.maartenballiauw.be/post/2022/11/05/mastodon-own-donain-without-hosting-server.html), to where he's given up most of the actual ability to *interact* in exchange for not having a real account somewhere, and for his next step he's planning to implement some of the
#
M0x3b0b[m]
Also, just on the subject of the number of files thing, he does point out - if I followed correctly - that if you don't care about appearances you only need two, and if you don't mind having to use the direct user address instead of the `@user@domain.tld` you only need one (for what he's done so far, anyway).
#
M0x3b0b[m]
ability to interact. I do wonder how far he'll take it.
#
[snarfed]2
right. using a URL instead of an @-@ address is surprising unexpected fediverse UX though, so the second file for webfinger to enable @-@ is probably worth it
#
[manton]
Fair points, maybe I’m just bitter about WebFinger existing. I’ll relax about it. 🙂
tiim, mro, barnaby, GWG, geoffo and gRegor joined the channel
#
[KevinMarks]
I'm still grumpy about it. But I got the bitterness out in the cartoon
GWG joined the channel
#
prologic
Any of you folk interested in double reatchet at all?
#
prologic
Or have any expertise in?
slyduda joined the channel
#
[snarfed]2
if you're thinking about encrypted messaging, we generally consider each web site/domain to be a single person, so for indieweb private/encrypted messaging, we only need encryption on the wire, ie standard TLS is fine
#
prologic
uggh no that's bs :)
#
prologic
and you know it :D
#
prologic
if you haven't seen already, I built a spec and tools that build an indieweb and twtxt inspired im, https://salty.im/
#
prologic
the idea is you setup an endpoint on your domain and server (its a bit flexible)
#
prologic
but forward secrecy and post compromise is important here IMO
#
prologic
what we have now rosks quite well, and its simple to build
#
prologic
but we want to explore whether we can add double ratcheting without too much extra effort/work or increasing complexity too much
#
[snarfed]2
sure, if your threat model is hardcore and sophisticated enough to warrant forward secrecy, that rabbit hole can be a lot of fun! not a lot of overlap with us here though
#
prologic
I disagree
#
prologic
there is quite a lot of overlap with indieweb
#
prologic
I designed Salty IM to be self hosted, to be run on your own domain and in your complete control
#
[snarfed]2
that's great!
#
prologic
unlike other "messaging protocols" we basically reuse what we already have, your domain and website
#
prologic
don't knock it till you've at least tried it or read the spec 🤣
#
[snarfed]2
definitely wasn't knocking it
#
prologic
good :) just your "not a lot of overlap with us here though" and "for indieweb private/encrypted messaging, we only need encryption on the wire" comments :)
#
[snarfed]2
we haven't historically focused on messaging here, primarily public posts, and occasionally private, but still posts and interaction around posts, not realtime messaging
#
[snarfed]2
and yes, our security threat model here is generally more modest, hardcore threat models like yours also haven't been as much of a focus for us
#
[snarfed]2
which is ok! different people/groups can have different goals. and those goals can overlap some, but not all, and that's all still ok
#
[snarfed]2
but I definitely like the idea that salty is designed to be self hosted at personal domains!
#
prologic
okay okay I get it, and sure fair points
#
prologic
anyway I bring it up in case anyone is interested in helping us out, I actually tried to get some funding for this project so we could build a kick-ass mobile app for it, but got rejected (not because the proposal wasn't any good)