#dev 2021-05-13

2021-05-13 UTC
#
@ChrisAldrich
↩️ Glad to meet you! I've been following [[anagora]] for a bit. Feel free to note away! (Bonus points if you send Webmentions when you do.) (http://boffosocko.com/mentions/?replytocom=321612#respond)
(twitter.com/_/status/1392633800757239809)
#
@flancian
↩️ Awesome, thanks a lot for the pointer! I'll try to set up http://brid.gy tomorrow. I've been meaning to look into [[web mentions]] for a while now!
(twitter.com/_/status/1392633260505804803)
#
@ChrisAldrich
↩️ http://Webmention.io can get you up and running in just a few minutes, but there's a pop-up event to talk about other options this weekend: https://events.indieweb.org/2021/05/webmentions-beyond-webmention-io-zG4JpHhZShVA You're welcome to attend. (http://boffosocko.com/2021/05/12/55791046/?replytocom=321618#respond)
(twitter.com/_/status/1392635306394865664)
gRegorLove, gRegorLove_, KartikPrabhu, [jacky] and [schmarty] joined the channel
#
@dmitshur
↩️ My favorite provider to log in with is my own personal website, when possible via IndieAuth. (See https://github.com/shurcooL/home/issues/34 for relevant context.) GitHub is backup/second favorite.
(twitter.com/_/status/1392647170176819206)
[fluffy] joined the channel
#
@fluffy
↩️ http://authl.readthedocs.io - supports magic links via email, IndieAuth, and a couple of OAuth providers. It’s also pluggable.
(twitter.com/_/status/1392651310562832390)
[tantek] joined the channel
#
[jacky]
to expand from #indieweb, I'm thinking something like a OPML of the feeds that one provides and opting for the "recommended" one.
#
[jacky]
I figured that these feeds could also map to things like post types or what not so you can pick and choose which you'd like
#
[fluffy]
Yeah a thing I’ve been meaning to build for my site is a feed customizer that lets people pick and choose which posts to display with a live preview.
#
[jacky]
ooooh that's a good idea
#
[jacky]
I kind of wish there was a way to hint as to what post types are available in a feed so something like that could be abstracted
#
[fluffy]
Feeds do have descriptions although I don’t think many readers support them
#
[jacky]
hmm good point
alex11 joined the channel
#
[fluffy]
okay so here’s a thought… peopel are always talking about feeds with a session key for the purpose of post privacy, but there’s good reasons not to do that. However, having a session key that ties feed preferences to a user? that feels totally kosher.
#
[fluffy]
and posts presented with a session key can get formatted with like ‘more like this’ ‘less like this’ links in the body text
#
[fluffy]
also the click-through on an entry could theoretically have the session embedded in the entry link and that can be like, oh cool this person wants to see more like this, or it can present UX to the person who clicked through anyway
#
[fluffy]
there would still be some trickiness with like… what happens if someone shares a customized feed item? and if they do it as an atom share, the feed URL gets shared too, so that can cause issues
#
[fluffy]
(which is the fundamental reason I do not want to support magic-link auth in feeds)
#
[fluffy]
or, alternately, this is another use case for bearer tokens provided via TicketAuth et al: the feed reader is then identifying the user as part of the feed fetching.
#
[fluffy]
and the feed fetch includes the preferences thereof.
#
[jacky]
I actually think that's probably _the_ best way to do this. It even upgrades gracefully for TicketAuth/AutoAuth (I like TicketAuth!)
#
[jacky]
I think that the light tracking/adjustment done there _might_ need to be something in the reader but I'm guessing you mentioned this to help people manage their own subscription _to you_
#
[jacky]
hmm I like that a lot
treora, [aciccarello] and maxwelljoslyn joined the channel
#
GWG
This is interesting... https://pirateweather.net/
[tw2113_Slack_], [chrisaldrich], [fluffy] and tomlarkworthy joined the channel
#
tomlarkworthy
I made the goal directed weblogin wizard:- https://observablehq.com/@endpointservices/login-wizard
#
tomlarkworthy
probably to specific for use with https://indiewebify.me/ but it demonstrates flipping the dialog to what you want to do (e.g. login with facebook) and then telling you the steps to achieve that (relmeauth backlink)
[KevinMarks], gRegorLove and gRegorLove_ joined the channel
#
@underoot
↩️ Да, поэтому Web Mention крутая штука. https://indieweb.org/Webmention
(twitter.com/_/status/1392779697226924033)
[jgmac1106], gRegorLove and sparseMatrix joined the channel
#
sparseMatrix
heh, sometimes you just gotta knuckle down and read the docs from the beginning. I've been trying to wrangle nginx, which as some of you know, is completely new to me. After reading up a bit over coffee this morning, I discover that the sites-available/sites-enabled methodology is deprecated. A quick check shows that the preferred method, conf.d/, does in fact have a configuration file in it (which I no doubt created in pursuit of some
#
sparseMatrix
tutorial), actually does accurately describe the few features that are working :)
[chee] joined the channel
#
sparseMatrix
this also explains the several hours spent making changes, restarting, and testing to fail yesterday afternoon
#
[chee]
haha, oh no!
#
sparseMatrix
literally nothing I changed mattered, bc the server wasn't consulting my config changes :)
#
sparseMatrix
THATS OK, though :D
#
[chee]
the main conf was never importing those files?
#
sparseMatrix
nopers
#
sparseMatrix
nopers
#
[chee]
oh dang haha ^_^
#
sparseMatrix
@chee: what are you working on today?
#
sparseMatrix
Hmmm, a new concern becomes apparent....one of the things that is currently working is certs for https from let's encrypt
#
sparseMatrix
the config file in conf.d/ has a lot of lines marked 'managed by lets encrypt'
#
sparseMatrix
perhaps an immediate backup of that config file is in order
gRegorLove joined the channel
#
sparseMatrix
actually it says managed by Certbot but same/same
#
sparseMatrix
...so, looking at this nginx config file, it seems to be a narrative in a procedural scripting language, that is to say, top to bottom, right to left command interpretation/logic evaluation
#
sparseMatrix
and as such, a significant portion of the config file has 'code' that is unreachable (it follows after 'return' statements)
#
sparseMatrix
I rather suspect this is due to scripted config file changes applied by certbot
#
sparseMatrix
I might just be wrong though... nginx may be returning protocol status asynchronously (sending back a 404, for instance) and then carrying on with the 'unreachable' code
#
sparseMatrix
in other words, 'return' might not mean what I am used to having it mean
#
[chee]
it's not a scripting language
#
[chee]
the return is talking about returning a status code
#
sparseMatrix
it's got a lot of 'if/then' constructs
#
[chee]
today i'm continuing to try to deal with my mental block on that the base microformat for `image` appears to be `u-photo`, which causes me the greatest of semantic unease. because most of the images i want to post are not photos
#
sparseMatrix
Heh. I thought I was the only one that did shit like that...
[girrodocus] joined the channel
#
[girrodocus]
Really useful you sharing this @sparseMatrix! Tonight I will be following a digital ocean tutorial that includes the site-enabled/sites-available method. First time I’ve ever set up nginx or a web server. Total noob.
#
sparseMatrix
I once had a webpage root that had a folder static/pictures static/images and static/graphics
#
sparseMatrix
@girrdocus will you be doing nginx, apache, or something else?
#
sparseMatrix
oh I see now, nm heh
#
[girrodocus]
Digital Ocean droplet. Ubuntu 20.04(LTS)x64. Nginx. Node.js. Tiddlywiki5. That’s what I’m working towards.
#
sparseMatrix
yeah, I'm an old hand with apache, but have never done nginx before
[KevinMarks] joined the channel
#
[KevinMarks]
we have u-logo in h-card as well, but reusing field names rather than being nitpicky is the microfromats way
#
sparseMatrix
I used to use tiddlywiki, when it was pre 1.0 :)
#
[girrodocus]
I’m as green as you get. A real real noob.
#
[girrodocus]
Wow that must be a while back!
#
sparseMatrix
6 or 8 years ago at least
#
sparseMatrix
it was something I ultimately abandoned because I got bored talking to myself lol
#
sparseMatrix
@KevinMarks: it's an OCD thing.
#
@kristofz
Discovered the IndieWeb and Webmentions a couple of days ago ... and they got me. https://kiko.io/categories/Tools/Hexo-and-the-IndieWeb/
(twitter.com/_/status/1392821179090669570)
#
[KevinMarks]
fair - the microformats process is at least partly about strategies for suppressing the compulsion to label everything http://microformats.org/wiki/process
#
sparseMatrix
hah, speaking of static assets
#
sparseMatrix
I've got nginx serving mine now, without reverse proxies
#
sparseMatrix
that's about the only thing I don't want to be running that way, though
#
sparseMatrix
everything else is or will be python or node
#
sparseMatrix
*progress*
#
sparseMatrix
high fives everyone
#
sparseMatrix
rando word of the day: "Abstruse", courtesy of "Word Genius"
#
sparseMatrix
Def - "Difficult to understand; obscure, esoteric, arcane'
#
sparseMatrix
couldn't have picked a better one myself :p
#
[KevinMarks]
one example of converged naming - we use `name/summary/content` for 3 levels of detail in as many places as possible, though for certain kinds of things `title` seems more natural than `name` in English. in h-card the difference between `photo` and `logo` is significant, and you can likely have both.
#
sparseMatrix
well, incremental progress at least...
#
sparseMatrix
I got uwsgi attempting to start my reader application (the half of my CMS that talks to the web)
#
sparseMatrix
but it's failing because the virtualenv is not active in that context
#
sparseMatrix
it can't load the module e.g., markdown2
#
sknebel
you can set that in the config
#
sknebel
"virtualenv=" and "pythonpath=" options
gRegorLove and [chee] joined the channel
#
[chee]
i was going to try to syndicate new tracks from my site to soundcloud, but it turns out the part of their site for creating apps has been replaced with a disabled google form that says "sorry"
#
sknebel
lol, but they are still blogging about new API features...
jjuran, doosboox1, superkuh, [schmarty] and [tantek] joined the channel
#
[tantek]
there's already a generic semantic for image, the <img> tag
KartikPrabhu joined the channel
[KevinMarks] joined the channel
#
[chee]
why does the advice for video recommend using a `<video/>` with a class of `u-video` https://indieweb.org/video
KartikPrabhu joined the channel
#
gRegorLove
u-video is a microformats2 property, so parsers will pull out the URL of the video
#
[chee]
it looks like the best way to push a feed to soundcloud is with IFTTT. i guess they got themselves an API key before Soundcloud replaced their app creation flow with nothing
barnabywalters joined the channel
#
@BiswasSholanki
↩️ Joined the session on webmentions @ChrisAldrich. Definitely an eye opener. Will there be anymore later? I would love to know if there is a way to insert webmentions by server sites which do not support it, so that there is less dependency on them? What say?
(twitter.com/_/status/1392890530841862146)
#
[tantek]
chee, indeed the u-video classname is recommended when you want that video to be considered the primary content of the h-entry
#
[tantek]
that is, that classname is expressing the semantic of "this post is a video", rather than just "this is a video" (which is what the <video> tag is expressing). make sense?
#
[chee]
yes! that makes sense. thank you, tantek. i guess what was bothering me was when i want to say "this post is a picture" my only way to say that is "this post is a photo", which is not true for a lot of these. i really want to say "this post is a ✨Visual Artwork✨"
#
[chee]
so I've settled on making them a note, with the image as `u-featured` and using a tag to classify them
[jacky] joined the channel
#
[tantek]
you're right, that's an unfortunate mismatch between what appears to be the precision of "u-photo" and the intent of "this *post* is a still image"
#
[tantek]
that's probably worth an FAQ
#
[tantek]
and what others said is correct, the history here is that "photo" posts were a strong motivator / driver of this design, though I don't think there was every any intent to be strictly limiting "photo" posts to only actual photographs
#
gRegorLove
For consumers of those properties it's more about how they're displayed than whether the content is actually a photograph or visual artwork
#
[tantek]
it's kinda like Instagram was intended for photo posting, and yet it's used for all sorts of visual artworks, diagrams etc.
#
[tantek]
after that recent htaccess talk, I found myself in the rabbithole of reviewing my own root level htaccess and finding plenty to update!
#
[tantek]
and updated. fixed a bunch of URL fix-up redirects (e.g. shortlinks, and 404s found in server logs) to go directly to https: instead of http:
#
[chee]
nice :)
#
[tantek]
and speaking of what to name your "feed file", looks like I went through a few variants on my way to "updates.atom"
#
[tantek]
looks like I started with "atom.xml" then "posts.atom" and finally "updates.atom"
#
[tantek]
as an example, for those using Apache who want to rename their feed file and keep supporting past consuming apps:
#
[tantek]
^ for your .htaccess (replacing tantek.com with your own domain obv 🙂 )
#
gRegorLove
Ah, didn't know RedirectPermanent. Always learning new .htaccess things, hah
#
[chee]
haha, my nginx config has so many redirects to bring old subscribers to the correct feed path
#
[jacky]
I should do some permaredirects on my site too from the logs
#
[jacky]
see, now I can't tell if Loqi does that randomly lol
#
[jacky]
I wonder if if it's the word "should" and "too" here
#
[chee]
I should eat a large cheese
#
[jacky]
me too
#
[jacky]
dang lol
#
[jacky]
might be a timer on it too
#
[jacky]
we could _always_ look at the source but that's no fun 👅
#
sknebel
you hacked aaronpk?
#
sknebel
not you Loqi, that you have your source code is not the question :D
#
[tantek]
gives Loqi the source
#
Loqi
grabs the source
#
[tantek]
I knew it
barnabywalters joined the channel
#
[tantek]
apparently got upgraded to PHP 7.4. Email from DreamHost: "tantek.com has been upgraded to PHP v7.4!"
#
barnabywalters
congratulations
[tw2113_Slack_] and [dianoetic_net] joined the channel
#
[dianoetic_net]
Going crosseyed from markup but this HTML is going to be beautiful.
sparseMatrix joined the channel
#
sparseMatrix
is getting dizzy
#
sparseMatrix
...from going around in circles with uwsgi
#
sparseMatrix
I think I have it working if I can just get it to activate the virtualenv
#
sparseMatrix
I mean I got it to use python3, so that's something
#
sparseMatrix
wow I think I got it lol
#
sparseMatrix
says it's activated the environment, and it is running my app
#
sparseMatrix
now I have to test! but I dunno what to do yet, the first time I got that far heh
#
sparseMatrix
well
#
sparseMatrix
I did the things
#
sparseMatrix
all the lights are green
#
sparseMatrix
no errors
#
sparseMatrix
hell, not even any warnings...
#
sparseMatrix
but no workie
#
lahacker
are you using a socket or a local port for your python app?
[KevinMarks] joined the channel
#
[KevinMarks]
The images vs photos thing was an issue for flickr too
#
sparseMatrix
@lahacker: I'm a rank newb to the nginx/python/uwsgi recipe, so I'm probably trying to do both
#
sparseMatrix
In fact, I suspect that I am
#
lahacker
if you instruct uwsgi to run your python app at a port you can try accessing the app itself directly to determine if that's the problem
#
lahacker
but yeah you have the two options and you need to configure both uwsgi and nginx to use the same method
#
sparseMatrix
that's a pretty good clue
#
sparseMatrix
I shall endeavor pursue it ; )
#
sparseMatrix
I know I got uwsgi configured as such (just checked)
#
sparseMatrix
lemme ck nginx
#
sparseMatrix
hmmm, no, it too is configured to the socket file
#
sparseMatrix
but I do know the app is running on port 5000
KartikPrabhu joined the channel
#
lahacker
sparseMatrix: want to troubleshoot over zoom real quick?
#
sparseMatrix
@lahacker I really appreciate the offer, but I'm running linux all over, Idk even if I can zoom that....and no cameras on those machines for sure
#
sparseMatrix
that machine, heh
#
lahacker
just a screen share will do
#
sparseMatrix
yeah, no zoom for raspi :/
#
sparseMatrix
I've been zooming using my iPad, but there's no code on that thing
#
lahacker
sparseMatrix point ipad cam at rpi tv?
#
sparseMatrix
lol yeah I can do that I reckon
phil, micahrl and [manton] joined the channel
#
[manton]
In anticipation of the Webmention session this weekend, I made a video of how Micro.blog works with incoming Webmentions if anyone’s curious. https://www.manton.org/2021/05/13/webmention-on-microblog.html
#
Loqi
[Manton Reece] Webmention on Micro.blog demo
ploden joined the channel
#
ploden
Hi! I'm looking to add comments to my blog.
#
ploden
Does indieweb.org support comments anywhere?
#
aaronpk
not sure what you mean, are you asking if there is a way you can test it?
#
barnabywalters
the indieweb way of supporting comments is using webmention and h-entry markup, to reply to a post on one site from another site https://indieweb.org/comment
#
ploden
I went looking for examples, and figured that if there were a "mainstream" way to support comments, indieweb.org would be demonstrating/dogfooding it
#
ploden
But there are no comments that I can find
#
barnabywalters
well indieweb.org is a wiki, and doesn’t really have any reason for comment functionality
#
ploden
So is there a similarly high profile indie web site that does?
#
barnabywalters
IIRC we’ve used webmention RSVPs for indieweb events?
#
aaronpk
i'm not sure what this emphasis on "high profile" is :)
#
aaronpk
there's lots of websites that support receiving comments via webmention
#
barnabywalters
those are of people posting replies to their sites
#
aaronpk
and yes the event pages on events.indieweb.org do receive comments via webmention too
#
barnabywalters
and here are examples of people’s sites who support receiving replies https://indieweb.org/Webmention#IndieWeb_Examples
#
barnabywalters
oh hi KartikPrabhu, long time no jinx
joshproehl joined the channel
#
ploden
That's perfect. Thanks!
#
[tantek]
ploden, check out the world famous [Jeremy_Keith]'s site https://adactio.com/ where all the comments on posts are via webmentions, for example: https://adactio.com/articles/17733
#
Loqi
Jeremy Keith
#
barnabywalters
thanks Loqi
#
Loqi
you're welcome
#
[jacky]
[manton]++
#
Loqi
[manton] has 15 karma in this channel over the last year (22 in all channels)
jamietanna joined the channel
#
gRegorLove
oh hey, it's barnabywalters! Hiya
#
barnabywalters
gReetings, gRegorLove!
#
gRegorLove
Oh neat, I didn't know Quill did the preview of the post you're replying to. Very cool.
#
gRegorLove
[manton]++ nice video
#
Loqi
[manton] has 16 karma in this channel over the last year (23 in all channels)
#
[manton]
[gRegorLove] I didn’t know either until testing this!
[dianoetic_net] joined the channel
#
[dianoetic_net]
Is there a favorite license of the indieweb community?
#
[jacky]
[dianoetic_net] what do you mean? like code licensing? I don't _think_ so tbh
#
sknebel
for the microformats parsers we sort-of have a policy of going for something permissive because we want them to be widely used infrastructure, and I think most of them are MIT licensed.
#
sknebel
but for other things people do what they feel is appropriate
barnabywalters, joshproehl, deltab and [snarfed] joined the channel
#
[snarfed]
there’s a small public domain contingent
#
[snarfed]
(mmm licensing debates 🍿)