#dev 2021-01-22

2021-01-22 UTC
[schmarty] and KartikPrabhu joined the channel
#
dansup
I should add pixelfed to that!
[chrisaldrich], ccchapman, [tantek], cbradford[m], gRegorLove, [fluffy], lahacker, swentel, schmudde, GWG, voxpelli, zootella, joshproehl, jbove, jamietanna[m], antonio[m], khimaros[m], Caleb[m]1, nekr0z, aciccarello[m], marinin[m], fredcy_, BudaDude[m], astrojl_matrix, JackyAlcin[m], Salt[m], malaclyps_, drhitchcock[m] and smacko[m] joined the channel
#
@Booligoosh
↩️ No problem! For random ppl seeing this thread BTW, we're testing Jip's implementation of webmention support (like on http://ethan.link) to allow replies from Twitter to show up on his site.
(twitter.com/_/status/1352569057887752193)
#
@StuRobson
↩️ it’s all about webmentions now, innit‽
(twitter.com/_/status/1352568280813342724)
#
@DavidDarnes
↩️ Maybe doing it Webmentions style will encourage more constructive discussions? If someone posts it to Twitter openly they'll need to be constructive, rather than possibly writing targeted abuse in a corner of the web
(twitter.com/_/status/1352570940698337281)
schmudde joined the channel
#
@kevinmarks
↩️ You got webmention spam? Do you think you could document that for us as so far we haven't seen many examples in the wild, and we're looking into spam protection this weekend. https://indieweb.org/spam#Webmention
(twitter.com/_/status/1352581329813196803)
[Keith_Axline] and KartikPrabhu joined the channel
#
@voxpelli
↩️ The setup that I want to have for a “CMS” myself is: * Static site generator at the core * An API to add and edit stuff in the git repo of that site * Dynamic stuff added as JS widgets, like Disqus. I eg. created such a one for Webmentions for my setup: http://webmentions.herokuapp.com/
(twitter.com/_/status/1352596971895345154)
[Raphael_Luckom] joined the channel
#
[Raphael_Luckom]
is bridgy using twitter's account activity api ( https://developer.twitter.com/en/docs/twitter-api/premium/account-activity-api/overview ) and setting up webhooks?
#
aaronpk
Thinking about what this looks like on the IndieWeb spec side https://github.com/owncast/owncast/issues/458#issuecomment-745634829
#
aaronpk
pretty sure it's "add Microformats"
#
Loqi
[Gargron] What you need to become part of the fediverse: - `/.well-known/webfinger` that responds to queries and points to - `/actor`, a JSON response with properties such as `preferredUsername`, `inbox` and some others - `/inbox` which accepts POST reque...
nickodd, schmudde and [colinwalker] joined the channel
#
[colinwalker]
Afternoon. Just started on my webmention endpoint. Got the basic plumbing in place and now looking at X-Ray to parse the mf2.
#
[colinwalker]
Or maybe php-mf2
[snarfed] joined the channel
#
[snarfed]
[Raphael_Luckom] no, bridgy uses the old twitter API. new premium APIs like that one cost >$10 per user per month, and bridgy has >3k twitter users, soooooo….no i’m not currently paying twitter $30k/month 😂
#
[Raphael_Luckom]
polling?
#
[snarfed]
yup polling sigh
#
[Raphael_Luckom]
makes sense, thanks!
swentel joined the channel
#
[Raphael_Luckom]
wow does each user require separate polling call(s)?
#
[snarfed]
definitely. average 10-20 per user per poll. finding replies, links to your site, quote tweets, favorites (which aren’t in the API at all and have to be scraped, etc)
#
[snarfed]
backfeed is complicated 🙁
#
[Raphael_Luckom]
one reason that I think people should run their own infrastructure is that you don't really appreciate the absurdity of that $10/user figure for premium APIs until you realize that's like 3x the cost of a whole site
#
[Raphael_Luckom]
for your own data
#
[snarfed]
oh you can do it for just you for free
#
[snarfed]
but you have to go through the API approval process
#
[snarfed]
which is a non-starter for end users
#
[Raphael_Luckom]
yeah 😞
#
[snarfed]
(i’m also _against_ people running their own infrastructure, at least non-technical gen 4 people as in https://indieweb.org/generations …but that’s a different debate)
#
[Raphael_Luckom]
it is a different debate. I'd love to talk about it some time.
#
[snarfed]
:thumbsup:
#
aaronpk
ooh owncast is basically a javascript app, so the home page is a static file. that becomes trickier since you’d want the HTML to change based on the state of the stream
#
aaronpk
i was going to send a quick PR to add h-event to it but now i can’t really
schmudde, ccchapman and [schmarty] joined the channel
#
@sonniesedge
I think that I just accidentally wrote most of a node-based endpoint discovery, parser, and sender for webmentions. I think a version already exists in npm, but would it be useful for other `#indieweb` folk to have this as a package? S'all async and promises.
(twitter.com/_/status/1352660912012984321)
#
@voxpelli
↩️ It has been on my list to do for the one in https://github.com/voxpelli/webpage-webmentions, it’s becoming really outdated though so maybe I could make it use yours if you release it + send back any possible improvements when I get time :)
(twitter.com/_/status/1352666335130624003)
#
@qubyte
↩️ I use @rem's webmention library to do this. It's a little experimental because I'm not sure I'm using it quite how it's intended to be used, but it works well! See link. https://glitch.com/edit/#!/lean-send-webmentions?path=dispatch-mentions-for-post.js I reckon it's healthy to have options though. I'd love to see what you've got.
(twitter.com/_/status/1352666153659883520)
gRegorLove and [tantek] joined the channel
#
[tantek]
inspired by [Raphael_Luckom] in #indieweb-chat, this popped in my head:
#
[tantek]
There are user (apps & services), developer (libraries & frameworks), and standards (protocols & formats) building blocks
leg joined the channel
#
[Raphael_Luckom]
those distinctions are also helpful in the "should people run their own infrastructure" conversation. They establish a kind of gradient so you can decide where you draw the line. As an example, you might say that gen2 shouldn't be expected to write wp plugins, but might be expected to know how to install them. Then if you take it to gen3, you might say that they aren't going to install those plugins but might need to understand certain
#
[Raphael_Luckom]
privacy settings in the plugins.
#
[tantek]
there's probably another category between user & developer of "CMS maintainer" that has the patience to deal with plugins & settings
#
[tantek]
definitely not users in general
#
[Raphael_Luckom]
like tbh I'm kinda less interested in the "should people run their own infrastructure" question generically, and more interested in the "what specific things is it risky for people with less understanding to do"
#
[tantek]
and you don't need to know how to code to maintain plugins & settings
#
[tantek]
[Raphael_Luckom] those quotes are a bit too binary which is why I broke it out into several categories
#
[Raphael_Luckom]
yeah
#
[tantek]
treating everyone as only "users" or "developers" is how you end up losing people who don't identify fully as either
#
[Raphael_Luckom]
right, it's about making a smooth gradient instead of sharp lines
#
[tantek]
the generations description is a bit dated now and unnecessarily ordered, which is why I'm shifting towards a set of categories instead
#
[tantek]
users, CMS folks, developers, standards folks
#
[tantek]
they're all pretty different with different priorities / strengths / time
#
[tantek]
maybe that's a bit of a meta discussion, but I feel it affects developers the most so I think it's fine here
#
aaronpk
can we add some sort of banner to the top of /generations ?
#
[tantek]
not until someone wants to do the work of writing up an alternative
#
[Raphael_Luckom]
one thing that I thought was interesting about the generations (but not directly about them) was the quote "Introducing Gen4 to the IndieWeb is not yet reasonable at this time."
#
[tantek]
it's always bad to mark something as "old" or whatever unless you can link to the actual new thing. then it just makes the whole site/community look/feel old
#
[Raphael_Luckom]
idk, not really dev
#
[tantek]
exception: the wikipedia warnings/banners that "this page needs to be updated" is quite decent
#
aaronpk
normally i would agree except that i feel like leaving it as is is actually doing more harm than good
#
[tantek]
I think it is borderline doing more good than harm
#
[tantek]
it is at a minimum fighting against the unnecessary artificial dichotomy most (dev) folks seem to have
#
[tantek]
which is a pretty big deal
#
[tantek]
yes the labels / ranking are dated / imprecise now and that can be fixed
#
[tantek]
but yeah, /generations is more #indieweb-meta
#
[Raphael_Luckom]
I'd suggest that maybe if we elaborate on what's meant by "running your own infrastructure" (maybe rephrased as "operational tasks") that could be a replacement for generations, since people could identify with the operational tasks they're comfortable undertaking
#
aaronpk
i like that, phrasing it in terms of what someone actually does rather than identifying as some sort of type of person
#
[tantek]
I think "running your own infrastructure" is a very "run away screaming" framing to most folks and I wouldn't put that anywhere except in the deepest of dev pages
#
[tantek]
it's also a common trope from drive-by critics - "indieweb? isn't that for people that run their own servers?"
#
[tantek]
so no, infrastructure--
#
Loqi
infrastructure has -1 karma over the last year
#
[Raphael_Luckom]
hence calling it "tasks" or "interactions"
#
aaronpk
we can put "run your own infrastructure" right above "design your own CPU"
#
[tantek]
anyway, that's definitely in the #indieweb-meta weeds lol
[schmarty], [KevinMarks], nertzy, [colinwalker] and prettytoks joined the channel; nickodd left the channel
#
[colinwalker]
[chrisaldrich] Just wanted to say thanks for the suggestion to look at the old versions of the WordPress Webmention plugin. Definitely pointed me in the right direction.
KartikPrabhu joined the channel
#
@hmans
↩️ I don't, and it's been a while. Was basing things off WebMention before ActivityPub became the hotness. Key moment was when a friend asked me how, in my distributed social utopia, I would protect her against harassers.
(twitter.com/_/status/1352715321719795719)
#
GWG
[colinwalker]: Sorry, we made it more complicated over time
#
[colinwalker]
haha no worries. I think I’ve got there in the end ;0
#
GWG
[colinwalker]: We've been slowly working to merge in the mf2 code. It is separate currently
stevestr- and DanC joined the channel
#
[colinwalker]
I was using it as a starting point for my own endpoint now that I’m using a custom CMS
sp1ff joined the channel
#
GWG
[colinwalker]: I know, that's why I mentioned it omits mf2
#
[colinwalker]
@GWG Ah I see. Well, I’m using php-mf2 to convert to json and pulling the details from there.
#
[colinwalker]
Still, now that I’ve got an endpoint I’ve discovered that my likes are only sending as normal mentions
#
GWG
[colinwalker]: There's always aaronpk's xray. I have my own post php-mf2 processing code
#
[colinwalker]
Receiving seems to be okay so don’t need xray, just when sending my likes.
swentel, joshproehl, schmudde, [KevinMarks] and leg joined the channel