#dev 2022-02-13

2022-02-13 UTC
sayanarijit[d], jacky and prologic joined the channel
#
prologic
Umm hi again :)
#
prologic
It looks like a different user signed in. The user https://yarn.mills.io/user/james/twtxt.txt signed in, but we were expecting https://yarn.mills.io/
#
prologic
What the hell?
#
prologic
I'm actually following he spec here
#
prologic
Where it states:
#
aaronpk
what are you signing in to? it may not have been updated yet
#
prologic
The resulting profile URL MAY be different from what the user initially entered, but MUST be on the same domain. This gives the authorization endpoint an opportunity to canonicalize the user's URL, such as correcting http to https, or adding a path if required. See Redirect Examples for an example of how a service can allow a user to enter a URL on a domain different from their resulting me profile URL.
#
prologic
What gives? aaronpk :)
#
prologic
Ahh fixed! Was my fault
#
prologic
I was incorrectly returning a bad Profile URL
#
aaronpk
oh, that error might have been misleading. the URL ending in twtxt.txt won't work because that's not HTML and doesn't advertise the authorization_endpoint
#
prologic
Yeah
#
prologic
That part I guessed by re-reading my code for returning the Profile URL
#
prologic
And realized I was returning the wrong URL :)
#
aaronpk
i should make that error message better tho
#
prologic
It wnated the one with mf2 all over the page :)
#
prologic
Not a twtxt feed :D
#
prologic
yeah probably some error like that it can't parse any valid mf2
#
prologic
which would make more sense IHMO
#
prologic
Now I only hope to god that yhe mf2 on our User profile views are actually valid :)
#
aaronpk
not bad, looks like maybe the p-summary is a bit too big
#
aaronpk
alright, the error messages should be better now
#
prologic
p-summary is too big?
#
prologic
Hmmm
#
aaronpk
split into two cases, one specifically that would catch your case where there was no authorizaiton endpoint found, which is different from when the authorizaiton endpoints don't match
#
prologic
I think that's subjective no :)
#
aaronpk
sure it's subjective but look at the monocle preview and tell me if you would be happy to see that in your reader
#
prologic
Yeah we are happy :)
#
prologic
But OTOH you are also right
#
prologic
We plan to do some UX here at a CSS level
#
prologic
But we can't really control how Pod owner/operators configure their instances
#
prologic
So you might get Twts of length 276, some at 576, etc :)
#
prologic
You should see some multi-paragraph ones in the wild! oh boi 😅
#
prologic
Anyway I have an interesting/dumb question...
#
prologic
Now that Yarn.social pods will be valid IndieAuth providers (as soon as the PR is merged)
#
prologic
Where can this be used?
[Zeina] joined the channel
#
prologic
How spproted is IndieWuth in the wild?
#
Loqi
it is probable
#
prologic
I understand (maybe wrongly) that IndieAuth is a subset of OAuth2?
#
prologic
Does this mean we can login to things that support OAuth2?
#
aaronpk
Like I mentioned before, most of the use of it will be for micropub clients to post content
#
GWG
prologic: It is a layer on top of OAuth2
#
aaronpk
it's an extension of OAuth, not a subset
#
prologic
Ahh I see
#
prologic
aaronpk re micropub use, I understand
#
prologic
However, where else can IndieAuth work? Or is known to work?
#
aaronpk
Owncast very soon! That will be a cool one that doesn't involve micropub
#
aaronpk
there are other random services in the indieweb community that also support it, like indiewebring or Telegraph or Webmention apps
#
GWG
I use it for WordPress.
#
aaronpk
Oh right you can log in to other WordPress sites with it right?
#
GWG
aaronpk: Yes, we implemented web sign in... but I haven't fiddled with that code in a bit... probably needs tweaking
#
prologic
Right cool
#
prologic
But pretty much nothing else supports this eh?
#
prologic
Hmm
#
prologic
Like signing into Github.com gmail.com etc
#
aaronpk
Oh they will never
#
prologic
Shame 😢
#
prologic
I wonder if we can build a IndieWeb -> anything else proxy?
#
aaronpk
those are big identity providers themselves and will never consume external IdPs
#
prologic
becuase they're totalitarian assholes? :D
#
prologic
Right 😅
#
aaronpk
well except google for their enterprise customers
#
aaronpk
oh GitHub does that too I think for their on prem version
#
prologic
What support IndieAuth?
#
prologic
Does anyone know if Gitea supports IndieAuth?
#
aaronpk
they should! That would be a good one. Is there a feature request open yet?
#
GWG
prologic: I think it is more business than totalitarianism
#
prologic
I dunno
#
prologic
But if there isn't one I'll file one :)
#
aaronpk
also the flip side of this is the more providers there are the more incentive consumers have to support it too
#
prologic
I love Gitea and run it myself
#
prologic
GWG isn't that the same thing? :D
#
prologic
"profit for your investors at all costs" == "you have to be a totalitarian asshole" :D
#
prologic
fuck the users and their choices and privacy/security :D
#
aaronpk
I also use Gitea! I wonder if I've filed a request already
#
prologic
sorry I'll shutup now :)
#
prologic
</politcalRant>
#
GWG
prologic: I'm critical of these companies for walled gardens, but in this case, only a small percentage of consumers are looking for control of their identity servers...so we'd have to show them people want it
#
prologic
aaronpk Well you'll soon have 17 IDP(s) that support IndieAuth
#
prologic
I also plan to add the consumer side too
#
aaronpk
awesome
#
prologic
As well as to services like https://feeds.twtxt.net/
#
GWG
Either way, I believe in all of this
#
prologic
Me too :)
#
prologic
I believe in this so much I'm building a company and suite of products aorund this
#
prologic
But first decentralised / open source social media :D
#
prologic
That isn't Mastodon :D
#
GWG
prologic: Good luck...hard task
#
prologic
aaronpk If you use Twtxt at all follow the https://twtxt.net/user/news/twtxt.txt feed and watch out for the next release (0.14) where IndieAuth support will land (plus a whole heap of other things)
#
GWG
I just write plugins for an existing open source project and that's hard.
#
prologic
GWG Indeed, but nothing easy isn't worth doing
#
aaronpk
is there an html version of that feed? :-)
#
prologic
or did I say that right? Hmm 🤔
#
prologic
aaronpk of course there is :)
#
prologic
trip twtxt.txt off the end :)
#
prologic
You know we support h-entry :P
#
GWG
prologic++
#
Loqi
prologic has 2 karma over the last year
#
prologic
You already say it
#
aaronpk
excellent I will do that then
#
prologic
saw*
#
aaronpk
oh right haha
#
prologic
:D
#
prologic
Jut be aware, by design Yarn.social pods don't persist Twts forever, they are eventually archived
#
prologic
So as an anonymous user things may seem like they disappear, because they are :)
#
prologic
aaronpk you're going to have to help me file this issue
#
prologic
Feature Description ... I'm not the SME on this
#
prologic
You are :)
#
prologic
Let's collaborate on some text put htere
#
prologic
They also wnt
#
prologic
Screenshots
#
prologic
If you can, provide screenshots of an implementation on another site e.g. GitHub
#
aaronpk
my mistake was adding that into the existing OAuth thread instead of as its own issue
#
Loqi
[Aaron Parecki] It would be fantastic if Gitea were its own OAuth2 provider! In fact, IndieAuth is the perfect candidate for how to implement this. IndieAuth is an OAuth 2.0 extension, which avoids the centralized problems with existing OAuth solutions by using DNS...
#
prologic
Right
#
prologic
Do you wanna file the issue then?
#
prologic
I'll just come in and chime in with my support or it
#
prologic
That might work better if you writ eit up
#
prologic
You also are aware of the eecosystem more than I
#
prologic
I'm just brining a network of IDP(s) :D
#
prologic
brining*
#
aaronpk
Sure I can do that. I should also update my instance first and check out the OAuth support
#
prologic
fuck I can't type ;/
#
prologic
*nods*
#
prologic
I actually use the OAuth support already
#
prologic
to allow users to sign-in to my git.mills.io using Github
#
prologic
But man I'd love it if it also had IndieAuth support :)
#
aaronpk
That's the other direction
#
prologic
Yes yes I know :)
#
aaronpk
the new thing they added was making gitea a provider
#
prologic
Oh right
#
prologic
Maybe they should make it a valid IndieAuth provider too?
#
prologic
I mean the code is not hard to write
#
prologic
It's literally one module I had to write and 3 routes
#
prologic
I actually borrowed the same JWT signed tokens code I already use for MagicLink Auth (Email)
#
aaronpk
yea shouldn't be hard if they are already an OAuth provider
#
prologic
*nods*
#
aaronpk
Well congrats on getting that working. I wish I had a better logo for IndieAuth so i could send you stickers
#
prologic
I know some folks that could probably help design a logo :)
#
GWG
logos++
#
Loqi
logos has 1 karma over the last year
Seirdy joined the channel
#
jacky
agh hitting a wall b/c my framework of choice doesn't support multipart uploads
#
jacky
and _I'm_ going to have to implement it D:
#
jacky
all b/c I don't have a media endpoint (thinking)
#
prologic
Umm what?!
#
prologic
This is why I don't use "frameworks" 😂
#
jacky
framework is the wrong word tbh
#
jacky
it's like a thin toolkit over parsing HTTP requests
#
aaronpk
oh gosh yeah, the arrogance of some developers of just not including basic http stuff
#
prologic
Oh I see
#
prologic
Rust eh :)
#
aaronpk
they assume you'll only ever want json
#
prologic
Good luck :D
#
prologic
There's a saying right....
#
prologic
Never make assumptions :)
#
jacky
it has support for websockets and SSE tho lol
#
prologic
Geez
#
jacky
tbh thankfully there's a library I can use to 'give it' support
#
prologic
what a choice!
#
aaronpk
so futuristic
#
prologic
on basic multi-part support but it supports Websockets and SSE 🤦‍♂️
#
prologic
Classic!
#
aaronpk
alright, i just finished making hot sauce, so now it's time for some indieauth work
#
prologic
There has to be a way to classify these devs that do this kind of "cool" shit but only in broken and ueseless ways :)
#
jacky
it's not broken
#
prologic
aaronpk ++
#
Loqi
aaronpk has 29 karma in this channel over the last year (131 in all channels)
#
prologic
jacky sorry broken was the wrong word :)
#
prologic
I meant more generally
#
jacky
I do see it hinted as something to add in https://github.com/trillium-rs/trillium/discussions/41
#
jacky
lots of things tbh
#
prologic
It's like when I need to solve a problem, I look for an existing solution
#
jacky
it's more of a composable system - you add what you need - nothing more
#
prologic
Only to find it requires a Postgres db
#
prologic
:/
#
aaronpk
i think first up is i'm going to see if there are any easy issues i can close and do a spec update
#
jacky
ooh nice
#
aaronpk
because i'm pretty sure we've resolved some discussions since the last update nov 2020
#
prologic
aaronpk Do you mind reviewing my implemtnation at all?
#
aaronpk
i would like to, ideally by also writing test cases for it on indieauth.rocks
#
jacky
ah this slightly reminds me to ask you about https://indieauth.rocks
#
jacky
ha beat me to it
#
prologic
aaronpk i'd appreciate it a lot actually
#
prologic
Also is now a good time to jump into a quick video call and say hi?
#
prologic
I might be going out in a couple of hours (Family drive/etc)
#
jacky
prologic: there's an upcoming HWC (homebrew website club) meetup next week!
#
GWG
aaronpk: Re the spec update...tell me if you need any changes to the remaining PRs
#
jacky
people here tend to try to align sync calls like that to those dates (out of respect of each other's time)
#
prologic
jacky would I even be welcome or would it be relevant to me :)
#
prologic
I'm not really building home-brew websties but a social media paltform :)
#
jacky
that works too
#
jacky
what is hWC
#
Loqi
Homebrew Website Club is a growing world-wide network of meetups for everyone who wants to take back their web experience from social media silos, and own their online identities & content, or just want support with blogging! https://indieweb.org/hwc
#
prologic
jacky Ahh I see (re sync calls)
#
prologic
> who wants to take back their web experience from social media silos
#
prologic
I feel like this should be reworded and much more specific
#
prologic
:D
#
prologic
"social media sillos" is ambiguous to me :)
#
jacky
that's why everything has a link
#
jacky
to help with expanding
#
GWG
prologic: It is a social event...I think you'll be welcome
#
prologic
Added (HMC meeting next week) to my calendar
#
prologic
I'll join anyway and see what it's all about
#
prologic
GWG Tha ks!
#
aaronpk
i will make a note to join as well
#
prologic
I hope it uses a non-big-tech video conf tool like Peer Calls or Jitsu :)
#
GWG
I'm usually there...I take care of starting the zoom
#
jacky
oh no I think the matrix image hotlink is down on /silo lol
#
prologic
Zoom?! 🤦‍♂️ LOL
#
aaronpk
it's okay, you'll survive
#
jacky
oh no it's up looks like I got a mixed content warning
#
prologic
Maybe I'll use this as an opportunity to encourage us all to use Peer calls :)
#
aaronpk
we use zoom because it works well and requires very little fiddling from participants
#
GWG
prologic: We tried jitsi.
#
prologic
Sure I get it :)
#
prologic
But still :)
#
prologic
I run a Peer calls instance at https://meet.mills.io
#
prologic
It works quite well really
#
prologic
Much better than jitsi IHMO
#
aaronpk
how does it handle 6+ participants? that's where we started having trouble with jitsi
#
prologic
It's p2p
#
prologic
So I'm not actualy sure
#
prologic
But I'd love to test that out :)
#
prologic
I regualrly have video calls with folks from all around the world with my instance
#
aaronpk
the pure p2p ones tend to fall over once you start having everyone send a copy of their video to everyone else
#
jacky
yeah that's been my experience with a lot of p2p video tech
#
prologic
Yeah you can also set it up with SFU too
#
prologic
But the downside of course is it all starts going through a central peer
#
prologic
So Pros/Cons
#
prologic
I prefer to keep my instance p2p as I don't have good bandwidth
#
GWG
prologic: That's where we ended up.
#
prologic
But I'm generally very interested in progressing peer Calls
#
GWG
prologic: We have a pop-up session on Personal Libraries next weekend and we could get a lot of people
#
prologic
I'm regualrly in touch with the author and am interested in improving the scalability of the software
#
aaronpk
i haven't tried that one before so i'd be interested in checking it out for sure
#
prologic
Well it's worth giving it a go just to see where it falls over
#
prologic
I've managed to have 5-6 participants so far no worries
#
GWG
Got a link to the software?
#
prologic
Sure
#
prologic
The author runs a public instance too
#
jacky
SFU == selective forwarding unit (that's a new term)
#
jacky
(to me)
#
prologic
Yeah part of the WebRTC specs
#
prologic
PeerCalls uses WebRTC tech and various related protocols
#
GWG
I love watching PR merges
#
aaronpk
oh i forgot about this major change. we're going to need something about practical migration strategies
#
aaronpk
clients discovering the indieauth server metadata URL instead of the two endpoints
#
GWG
aaronpk: How can I help?
#
aaronpk
i think i want to add a little yellow box in a few places to call out some of the previous behavior
#
GWG
aaronpk: We discussed that the old discovery method should remain as a fallback I believe
#
GWG
Until further notice
#
aaronpk
yeah that's how it's written now
#
prologic
aaronpk Don't forget I'd love for you to review my impl. https://git.mills.io/yarnsocial/yarn/pulls/799 -- it will probably get merged in the next day or two (or probably today if our resident UX dev finishes off some UX work on it)
#
prologic
:D
#
prologic
🙏
#
prologic
I'm not obviously aware of "previous behaviours" as I haven't been following or actively involved in the direction of IndieWeb in general
#
prologic
I just use a few things here and there :)
#
jacky
ooh I need to look into the metadata URL logic
#
GWG
aaronpk: Probably right about it being a yellow box
#
GWG
jacky: It's easy enough...new link header that returns a list of endpoints
#
prologic
aaronpk btw, I think it might become really important to have an IndieAuth icon/logo of some kind as we will likely refactor the https://twtxt.net/login (Example) Login view to make it a bit more obvious you can Login with Email (MagicLink) or IndieAuth (using your own IDP or whatever) -- We also use Tabler Icons (https://tabler-icons.io/) so it might be worth thinking along those lines
#
jacky
I'm looking for the specific issue so I can associate it in my changelog
#
Loqi
[aaronpk] #43 Consider using OAuth Server Metadata
#
Loqi
[dshanske] #102 Introduce Server Metadata and Iss Parameter
#
jacky
wait where does ^ appear?
#
jacky
it's not on indieauth.spec.indieweb.org/
#
GWG
jacky: That's what aaronpk was building toward... refreshing the main site
#
jacky
my fault
#
aaronpk
exactly
#
jacky
in that case, I'll ignore it until it's live
#
aaronpk
yeah i would love a good icon
Seirdy joined the channel
#
aaronpk
ok quick microformats thing, if you add e-content here and remove p-summary it will work better https://i.imgur.com/kSROgWH.png
#
GWG
aaronpk: I meant to ask you re expiring tokens...did I catch a discussion about that for OAuth2.1 recently,
#
aaronpk
there's been some discussion about refresh tokens if that 's what you mean
#
Loqi
[aaronpk] #101 Drop requirement that bearer tokens must expire?
#
aaronpk
ah i forgot about that
#
aaronpk
i wrote that note to remind myself to discuss it at the next IETF meeting
#
aaronpk
which is next month now!
#
prologic
aaronpk Oh! I didn't know about e-conent
#
prologic
Should we use that instead?
#
aaronpk
yeah that would be much more typical
#
prologic
We _can_ also provide a summary version for p-summmary too
#
prologic
But that's not super clear to me how useful that would be on that same view
#
aaronpk
if you have a version that's shorter than the content it could be useful
#
prologic
We use a shorter version (with ellipsis) for meta tags and titles
#
prologic
Would we bother displaying it though?
#
prologic
or hide it via CSS
#
aaronpk
but i'm pretty sure most tools actually don't use the summary and just show the full content or do their own truncation
#
prologic
I see
#
aaronpk
tbh i would just skip the summary property entirely at the moment
#
prologic
So maybe it's better ot use e-content in the first place
#
prologic
I'll file an issue
#
prologic
Thanks for pointing this out!
#
aaronpk
it's more useful when it's for a post that doesn't have any content at all because it's something else entirely, like a recipe
#
aaronpk
that way if a consumer doesn't recognize the other properties it can fall back to displaying the summary
#
aaronpk
but content is a super normal property that basically anything that would understand summary will also understand content
#
prologic
Nice
#
prologic
TIL
#
prologic
aaronpk FYI IndieAuth support in `yarnd` is merged.
#
prologic
🥳
#
jacky
GWG: you had an idea for an app
#
jacky
I def forgot what it was
#
jacky
if you have a permalink to when it was in chat, I might have some cycles to check it out
#
GWG
jacky: Bookmark one?
#
jacky
ah yeah
#
aaronpk
prologic++ awesome
#
Loqi
prologic has 3 karma over the last year
#
jacky
it was for Android, right?
#
GWG
jacky: Yes
#
jacky
been wating to kick the tires on Android Studio for a few days now
#
jacky
yeah it's coming back to me
#
jacky
a share target for URLs to send to one's site
#
GWG
jacky: This
#
jacky
got it
#
jacky
adding it to my "App Requests" user page on the wiki lol
#
GWG
I have finished the bulk of my bookmark store
#
jacky
I'm thinking about pulling bookmarks of things from my browser into my site
#
jacky
mainly like a folder called "things this week" and making it sync to my site with some magic lol
#
GWG
jacky: I have a few more tweaks, then I want to select multiple bookmarks in the store and generating a digest post from it
#
aaronpk
jacky: do you bookmark that much stuff?? wow
#
GWG
I thought about automatic, but starting with manually.
#
jacky
lol I use bookmarks to reduce the need to search for things on the Web itself
#
GWG
How many things do you bookmark per week?
#
jacky
I wanna say maybe ~40 a week but I end up removing things if I come across it too often and don't find them useful
#
GWG
I use Pinboard right now as a searchable archive of things I saved... that's what I'm replacing
#
jacky
it's probably like ~20 - 30 depending if i'm working on something that builds up a lot of context
#
GWG
jacky: Same here.
#
jacky
my partner writes novels so watching how she also uses bookmarks got me interested in this (her site's theme is done but needs some tweaks)
#
jacky
ah yeah that's what I'd want it for - like the random like on running SQLite in the browser
#
jacky
or something from inkandswitch
#
GWG
It's a bunch of random links I imported in to test on
#
GWG
It's designed to look like just another WordPress endpoint
#
jacky
oh interesting
#
GWG
I need to do some additional security, as there is no public frontend, but you can access everything without authentication so far.
#
GWG
It's easier to design that way before I turn it on
#
GWG
I've been doing it in between the restart of webmention PRs with pfefferle
#
GWG
So, I am excited
#
jacky
yeah I've seen some of those changes in #-wordpress; nice!
#
GWG
jacky: We talked about it a bunch at the start of the pandemic... but it stalled for a bit, glad it's back
#
jacky
yeah any progress is good progress imo
#
jacky
any progress that moves forward that is lol
#
GWG
jacky: More to do to even get to the minimum for the goals we set
#
jacky
I think biggest goal for me this quarter is to finish working on the IndieAuth app/service
#
GWG
jacky: I am pulling for you
#
aaronpk
omg searching for mismatched html tags 😭
#
jacky
yikes
#
aaronpk
gwg you really gotta fix your editor from adding tabs to this
#
GWG
aaronpk: It's a WordPress thing... sorry about that...I think I need to disable it just for things like this.
#
aaronpk
i should add an .editorconfig that way at least it will happen automatically sometimes
#
GWG
My editor is preset to WordPress tabs. pfefferle is always complaining about my indents
#
GWG
Complaining is a bit strong, but...
#
jacky
editorconfig++
#
Loqi
editorconfig has 1 karma over the last year
[aciccarello] joined the channel
#
GWG
I write all my code in vim
#
jacky
same here
#
GWG
Time to update my vim configuration
#
aaronpk
editorconfig++
#
Loqi
editorconfig has 2 karma over the last year
#
aaronpk
makes it easy to switch conventions between projects without thinking about it
#
jacky
yeah the inventor of that needs a medal from the community imo lol
#
GWG
I'll try to learn it
#
aaronpk
there's nothing to learn, just install it
#
aaronpk
if a project has an editorconfig it will Just Work™
#
jacky
one thing I'm a bit excited for re: rust-mf2 parser is the ability to take some HTML and show how it'd look when it's parsed
#
jacky
it's like a doctest kind of thing so if for some reason it changes, I could see where
#
jacky
like even the datetime parsing has it
#
GWG
aaronpk: I have to add one to all of my plugins then, I mean
#
GWG
I think pfefferle loads one, so I could use his
#
GWG
aaronpk++ for IndieAuth work tonight
#
Loqi
aaronpk has 30 karma in this channel over the last year (132 in all channels)
#
Loqi
GWG has 18 karma in this channel over the last year (71 in all channels)
#
aaronpk
GWG++ for making it easy for me by having these PRs ready
BinarySavior_ joined the channel
#
GWG
I had fun doing it
#
GWG
It's a challenge to get used to the writing of standards
#
aaronpk
ok GWG the last thing is adding a sample request for the userinfo, then i want to publish this
#
GWG
Okay. I'm 14 minutes from landing at JFK or I'd do it now.
#
aaronpk
and *then* i have a big blog post to write explaining all these changes 😂
#
aaronpk
oh ok i can do it then
#
GWG
Sorry... I decided to go home
#
aaronpk
alright here goes
#
GWG
Suspense
#
jacky
refreshes
#
jacky
woot!
#
jacky
aaronpk++
#
Loqi
aaronpk has 31 karma in this channel over the last year (133 in all channels)
#
Loqi
😃
#
GWG
I feel like a band should strike up
#
aaronpk
alright now everyone go go go!
#
GWG
aaronpk: I am...at 150mph
#
GWG
Full reverse....
#
GWG
Sorry... timing there...
#
jacky
oh yeah this metadata endpoint is going to be great
#
GWG
jacky: I concur
#
aaronpk
now i gotta get to work on updating my site!
#
GWG
aaronpk: The future is now
#
jacky
big same
#
jacky
might be something to note at next HWC!
#
GWG
I'm set.... just have to make tweaks
#
GWG
I added the metadata endpoint already
#
jacky
heh early adopter :)
#
GWG
jacky: I got excited after the pop-up
#
GWG
That's why I wrote the PRs.
#
jacky
this reminds me to go over some of the other PRs and see what kind of feedback I can give and as well as implementation stuff I can do
#
jacky
channels have really changed how I've viewed my site tbh
#
GWG
jacky: How so?
#
jacky
well I can organize content in a semantic way that 'transcends' post types (my site's a bit strict on post types since that's how it queries stuff from my mf2 server)
#
jacky
but now like I can make a channel about anything
#
jacky
like one solely for semantic things (like making a developer log that's not specific to a type or a tag)
#
jacky
or even making a space for "expiring" content (by making a feed that plucks items from a channel and only adds things over the last 24 hours, for example)
#
jacky
I might write (and demo) it more
#
jacky
in the coming days :)
#
aaronpk
alright, my metadata doc is up!
#
aaronpk
i should start making a list of what i'm doing for this blog post
#
GWG
aaronpk: I look forward to reading it and using it as a checklist
oodani joined the channel
#
aaronpk
now `iss` is added, that was easy
#
aaronpk
this is kinda fun
#
jacky
heh that's how it starts
#
jacky
then you've realized OAuth 4
#
GWG
Let aaronpk finish 2.1 first
#
@robertvanbregt
Test syndicate to Twitter via http://Brid.gy with Syndication Links plugin 4.3.5 (https://r12t.nl/b/1R5)
(twitter.com/_/status/1492738883611762690)
#
@robertvanbregt
Test syndicate to Twitter via http://Brid.gy with Syndication Links plugin 4.3.4 (https://r12t.nl/b/1R3)
(twitter.com/_/status/1492738636500152323)
#
@robertvanbregt
Test syndicate to Twitter via http://Brid.gy with Syndication Links plugin 4.3.3 (https://r12t.nl/b/1R1)
(twitter.com/_/status/1492738442790330369)
#
@robertvanbregt
Test syndicate to Twitter via http://Brid.gy with Syndication Links plugin 4.3.2 (https://r12t.nl/b/1Qz)
(twitter.com/_/status/1492738290096746498)
#
@robertvanbregt
Test syndicate to Twitter via http://Brid.gy with Syndication Links plugin 4.3.1 (https://r12t.nl/b/1Qx)
(twitter.com/_/status/1492738103064289280)
#
@robertvanbregt
Test syndicate to Twitter via http://Brid.gy with Syndication Links plugin 4.3.0 (https://r12t.nl/b/1Qv)
(twitter.com/_/status/1492737863716421632)
#
@robertvanbregt
Test syndicate to Twitter via http://Brid.gy with Syndication Links plugin 4.3.6 (2) (https://r12t.nl/b/1RD)
(twitter.com/_/status/1492739676058406914)
#
@robertvanbregt
Test syndicate to Twitter via http://Brid.gy with Syndication Links plugin 4.3.6 (https://r12t.nl/b/1R7)
(twitter.com/_/status/1492739069532643328)
KartikPrabhu, baracurda, daiyi[d], indieweb-irc-bri, wackycity[d], Nezteb[d], rattroupe[d], Jeremiah[d], shaunix[d], Myst[d], Asaf_Agranat[d], tracydurnell[d], hoenir, capjamesg[d], Murray[d], dovedozen[d], edburns[d], aspenmayer[d], balupton[d], barryf[d], sayanarijit[d], Christian_Olivie, jacky, hans63us[d], MarkJR84[d], corenominal[d] and petermolnar joined the channel; prologic left the channel
#
petermolnar
https://github.com/gildas-lormeau/SingleFile basically MHTML, but for all the browsers, which is nice.
#
Loqi
[gildas-lormeau] SingleFile: Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a single HTML file
antrdnv[d], marksuth[d], Seb[d], KartikPrabhu, tetov-irc and jeremycherfas joined the channel
#
capjamesg[d]
Well I have been playing around with Elasticsearch for the last few hours.
#
capjamesg[d]
In the ideal world, IndieWeb Search would collect a few hundred queries per day so I could judge relevance on them.
#
capjamesg[d]
What I want to be able to do is run tests on different algorithms to see which ones produce the most relevant results.
#
capjamesg[d]
To do so, however, I would need a team of human reviewers (not feasible!) or to collect user data (which, although feasible, would be subject to the issue of low search volume).
#
capjamesg[d]
Thus, I need to think of a better way to judge relevance on queries.
#
jeremycherfas
What would happen if you offered upvote/downvote options on search results? Could you make use of that?
#
capjamesg[d]
Yes I could actually. That's a good idea.
#
capjamesg[d]
Currently, evaluation is judged on 3 vertices: relevant, not relevant, somewhat relevant.
#
capjamesg[d]
Those correlate to an upvote, downvote, and no action.
#
capjamesg[d]
*options, not vertices
#
[KevinMarks]
You could look at which result people click on
[jgmac1106] joined the channel
#
[jgmac1106]
I would want to sort by post type that would be cool
#
[jgmac1106]
So... I am back at the most common place an IndieWeb... The drawing board.
#
capjamesg[d]
This search engine is turning out to be a very, very complicated project.
#
[jgmac1106]
Thinking I could finish learning to build a PHP LMS with current site, I liked Kirby and have a license, I am rebuilding my app in Django and Python, maybe I do an LMS
#
capjamesg[d]
[KevinMarks] I was thinking about that too.
#
capjamesg[d]
But before I do anything I need to figure out exactly how the Elasticsearch rank evaluation works.
#
[jgmac1106]
What are you indexing p-name and p-summary or all the plain text?
#
[KevinMarks]
Do you weight name and tag above content for containing a search term?
#
capjamesg[d]
Let me find that information.
#
capjamesg[d]
There are the weights I use ^
#
[jgmac1106]
Weighting a tag is smart.... It's like you built a blog search engine before Kevin
#
capjamesg[d]
[jgmac1106] I index both the HTML on a page and its plain text version.
#
capjamesg[d]
And the title, description, URL, published date, headings, and domain.
#
capjamesg[d]
(Plus a few other things that were experiments but aren't used)
#
[jgmac1106]
Can you add a post type weight? So I can say Kevin photos
#
capjamesg[d]
That's a cool idea.
#
[jgmac1106]
I use p-summary a lot, wonder if others do
#
capjamesg[d]
I think I'd change the query to say "AND post_type=like" rather than use a weight so that you only see likes, etc.
#
capjamesg[d]
I'll include that in the next version 🙂
#
[jgmac1106]
My search engine idea was always opt-in. I add my website and can decide what post types get crawled
#
capjamesg[d]
[KevinMarks] Any feedback you can give about ranking would be so greatly appreciated! I'm happy to explain how ranking works right now.
#
capjamesg[d]
[jgmac1106] The engine does post type discovery on all pages (now).
#
[jgmac1106]
This is a cool project thx for doing it... Watch the AWS bill... A ton of stuff out there. Hopefully you throttle to just a few hundred a day
#
capjamesg[d]
That means that filtering by post types is easy and the logic for doing so is defined by the algorithm incubated here in the community. As for what is indexed, most things are (up to 15,000 URLs).
#
[jgmac1106]
capjamesg[d]++
#
Loqi
capjamesg[d] has 28 karma in this channel over the last year (74 in all channels)
#
capjamesg[d]
There are a lot of exclusions (i.e. non-200 URLs, non-HTML documents) but generally if you have a HTML file on your site that is not blocked by robots.txt or noindexed, it will be crawled.
#
capjamesg[d]
(Some pages will be excluded if they have a really low word count though, but that's not something I have added just yet).
#
[jgmac1106]
My search engine broken... My entire Known site broken, love a working search engine
#
capjamesg[d]
Regarding AWS bill, thanks to sknebel this project just got 50% cheaper and twice as powerful haha. I can run the full search engine on the same server as all of my web apps without any issues.
#
[jgmac1106]
Well I think I may look into making an IndieWeb version of Django.... Though I did like Kirby... And I am 30% there on my own PHP LMS.... (routing is hard I mess it up).
#
[jgmac1106]
I like micro.blog for quick and dirty but I want more control. I liked my static site plus Known..but my Known site is borked and gets worse with time
jacky joined the channel
#
jacky
have you tried using one of the other projects on the Wiki?
#
jacky
[jgmac1106]: ^ vs rolling your own?
#
jacky
I did that for a while to get a sense of what I wanted/was looking for
#
sknebel
jacky: reading scrollback, curious why you went for trillium out of all the choices available (way to many IMHO, different topic :D)
#
jacky
ha totally
#
jacky
I started using warp but I didn't like how it handled intreractions as just 'functions' (and there was some other reason tbh, I wish I wrote it down)
#
jacky
I was playing around with trillium and I saw a friend + the author post about it
#
jacky
it gave me what I liked about Elixir's Phoenix/Plug but in Rust
#
jeremycherfas
!tell [jgmac1106] Getting OUT of WithKnown has me really worried now. For all the talk of take your data some place else, I can't get at my data in a form that would allow me to take it anywhere.
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
I'd pay (a bit, in addition to Open Collective) to get something like that working again.
#
jacky
like exporting from WithKnown to another service? or just to disk?
#
jeremycherfas
Exporting from WithKnown in a form that another service could use.
#
jeremycherfas
XML? JSON? Something
#
jacky
gotcha
#
jacky
I'm curious b/c I don't want to wait too late to add export functionality to my site (jic)
#
jacky
but the data's all flat on disk
#
jeremycherfas
I mean, there's a button marked Export that says it will generate an RSS file, but no longer works.
#
jacky
oh that's not helpful at all :(
#
jeremycherfas
WithKnown stores all data as blobs in a database.
#
sknebel
wonder if the good old "crawl entire page and parse for mf2" would work and have all the data you want
#
jeremycherfas
Possibly. I've never really thought about that. I've no idea how many items I could get on the home page at once, or how it would step through older pages.
#
jeremycherfas
It does not include webmentions received by the post -- not surprising -- but otherwise it is all there.
#
Loqi
[Jeremy Cherfas] Hear me, O @tavolamed, As a foolish person, who knows not my ward, I await the set form of words with which Curio Maximus will proclaim the time for holding the #Fornacalia, so that I may celebrate on the last day to which it can be postponed.
#
jeremycherfas
Ha! I was just picking one to do myself.
#
Loqi
[Jeremy Cherfas] Hear me, O @tavolamed, As a foolish person, who knows not my ward, I await the set form of words with which Curio Maximus will proclaim the time for holding the #Fornacalia, so that I may celebrate on the last day to which it can be postponed.
#
Loqi
[Jeremy Cherfas] Be nice to your large intestine, lest it turn on you. https://stream.jeremycherfas.net/file/1e2e0cc6e6f180cad31d4bc8612864d5/thumb.jpg
#
sknebel
comments make it, likes dont
#
Loqi
[Jeremy Cherfas] Be nice to your large intestine, lest it turn on you. https://stream.jeremycherfas.net/file/1e2e0cc6e6f180cad31d4bc8612864d5/thumb.jpg
#
sknebel
so would need some munging, but quite a bit could be extracted
#
jeremycherfas
That's fair. So then I "just" need to step through every single post, maybe using h-feed to pull out the URLs to step through.
#
sknebel
yeah. or wget the entire site to a local copy and then run over all the HTML
#
jeremycherfas
Also interesting: mf2 does not extract anything from a photo-post.
#
sknebel
ok,so more customization needed
#
Loqi
[Jeremy Cherfas] Be nice to your large intestine, lest it turn on you. https://stream.jeremycherfas.net/file/1e2e0cc6e6f180cad31d4bc8612864d5/thumb.jpg
#
jeremycherfas
The WGET idea probably makes the most sense, if it ever came to that, because I would have a local copy and could contemplate [jgmac1106] approach of manual till it hurts.
#
jeremycherfas
It is treted as a photo post by WithKnown, and then "content" is entirely included in the title of the post.
#
sknebel
the parser output of that link at least has everything somehow
#
jeremycherfas
Raw output, yes. JSON no.
#
jeremycherfas
Interesting; WithKnown handles 1000 posts on the home page with relative ease. TIL.
#
Zegnat
Honestly, because you have the database, I woulcd run it straight on that and not try to go over HTTP at all
#
jeremycherfas
You've poked into the database zegnat and are wiser than me in these matters. I find it fiendishly difficult to see how things are being stored.
#
Zegnat
Yeah, I am *not* a fan of the WithKnown format. IIRC it stores all post types in the same table, and gets around storing different information for different post types by putting JSON blobs into a single column?
#
Zegnat
But for the default post types I do not think the JSON format was too hard. Though I would need to look again. It is probably possible to write a relatively simple script that walks through the posts table in the database and drop out a format that you want. If the internal JSON matches mf2 closely (which I think it might do?) almost no data transformation would be needed if that is the format you want.
#
jeremycherfas
Exactly. Extremely difficult for me to make sense of it.
#
Zegnat
There is also the discussion here that, even if you export it, what format will other systems accept as an import? I am not sure there are any standards out there.
#
jeremycherfas
The truth of the matter is that I have always considered my WithKnown stream as somewhat ephemeral. If it all vanished tomorrow I would be sad but it wouldn't be a tragedy.
#
jeremycherfas
If I did export, it might well be to flat files.
#
jeremycherfas
Possibly with yaml front matter.
#
Zegnat
Hmm. That might actually be the most portable format. As lots of SSG would accept it
#
aaronpk
this is why the HTML export option isn't a bad idea, because then at least you can still browse the site
#
jeremycherfas
Even Grav (haha)
#
aaronpk
time to continue hacking on my indieauth
#
jeremycherfas
Does --convert-links in WGET make the links relative or change the base URL to something local?
#
Loqi
Does has -1 karma over the last year
#
jeremycherfas
Thanks Loqi
#
Loqi
you're welcome
#
sknebel
relative
#
aaronpk
if you do want to go down the wget route i would recommend using my spiderpig instead, it solves a few problems that wget has
#
aaronpk
what is spiderpig
#
Loqi
Spiderpig is a web crawler for archiving a website as static HTML files https://indieweb.org/Spiderpig
#
jeremycherfas
Thanks. Will look.
#
[KevinMarks]
you can always parse the mf2 back out of the html for known too
#
sknebel
thats what we've been discussing
#
aaronpk
tbh a lot of these changes are simplifying my code
#
Zegnat
aaronpk: on indieauth?
#
Zegnat
That is good, it is supposed to be approachable after all, haha
#
aaronpk
having separate endpoints for the various things like revocation and userinfo cleans up a lot of weird conditionals
#
Zegnat
Ooh, nice, I need to get on those
#
aaronpk
so i'm basically moving that code out to a new function, and then calling that function from where the old code was for backwards compatibility
#
aaronpk
next up, get Quill to use the new metadata
P1000[d] joined the channel
#
GWG
aaronpk: Quill also isn't using the changes in the profile
#
jacky
(I kinda wanna rename the crate to be `microformats`)
#
jacky
going to figure out how to trigger a rebuild of the Rust website whenever the crate is updated so it's the "latest"
#
LaBcasse[m]
Arf, sorry about the renaming. I will handle this for the next publication.
#
jacky
oh you're here :)
#
jacky
if it helps, we can chat here :)
#
jacky
thank you so much for getting that crate started!
#
jacky
LaBcasse[m]++
#
Loqi
LaBcasse[m] has 1 karma over the last year
#
LaBcasse[m]
You're welcome. You have greatly improved the project.
superkuh joined the channel
#
jacky
wow for about ~1 week I've been banging my head as to why my website works locally and not remotely
#
jacky
like I've even built it on the server and put it behind nginx
#
jacky
https://i.imgur.com/rNARoxS.png is the _ONLY_ thing I noticed to be different
#
jacky
and I _think_ it's the reason lol
#
jacky
(image shows HTTP method in different cases)
#
sknebel
uuhh, how did you manage to get that?!
#
sknebel
(headers being differently-cased is normal, methods very much not!)
#
jacky
I foolishly allowed it
#
jacky
I'm actually going to open a bug report on this lol
#
sknebel
link here, curious how that happened :D
#
jacky
lol hopefully it's worth it
#
jacky
this method is the heart of sending requests in the `indieweb-rust` library (soon to be refactored so people can bring their own HTTP clients)
#
jacky
however https://docs.rs/ureq/latest/ureq/struct.Request.html#method.method says _nothing_ about it needing to be capitalized lol
#
jacky
it probably does but nginx does _not_ like that
#
sknebel
yeah, HTML is very explicit about that
#
jacky
this is amazing haha
#
sknebel
oh fun
#
sknebel
HTTP actually does allow lower-case methods
#
sknebel
its just that the case matters
#
sknebel
and the standard ones are defined as all-uppercase
#
jacky
ah dang so then this is on me
#
sknebel
(which also answers my question why HTTP2 does not auto-capitalize them which was my first guess at what the problem could've been)
#
jacky
that's easy enough to fix
#
sknebel
I guess this is "why are you using an API so low-level you put the method in as a string" ;)
#
jacky
heh mainly for this part:
#
jacky
> It uses blocking I/O instead of async I/O, because that keeps the API simple and and keeps dependencies to a minimum
#
jacky
the justification made a _lot_ of sense to me
#
sknebel
depends I guess, server-side blocking feels iffy without an app server managing threads etc
#
sknebel
(sure, you can write CGI in rust I guess :P)
#
jacky
the app server does!
#
jacky
haha yeah
#
sknebel
ah ok, one is involved. good :D
#
jacky
heh yeah esp since a lot of processing is done async
#
sknebel
I have a toy rust web project on the pile, but for now only gotten started at writing the README describing what its supposed to do :D
#
sknebel
and then got lost in a haystack of libraries ;)
#
jacky
yeah library palooza is something I'm trying to fight lol
#
jacky
so many things to pick from
#
sknebel
yeah. looked at axum just based of it seeing it mentioned more often than others on twitter, but the pile of stuff that then builds on is ... interesting
#
sknebel
not necessarily bad, but
#
jacky
yah - and gotta hope it's not dropped in a few weeks (lol)
#
sknebel
it seemed more alive than others :D
KartikPrabhu, tetov-irc, Eddy04[d], rommudoh[m], kandr3s[m] and sarahd[d] joined the channel