#dev 2022-10-22

2022-10-22 UTC
jacky joined the channel
#
slyduda[m]
snarfed, made that small change! :)
jacky and [jgarber] joined the channel
#
[jgarber]
barnaby++ for implementing app author information on Taproot’s consent UI. I’d forgotten about that line of conversation. Busy week. 😅
#
[jgarber]
Also, barnaby: Could you add that screen shot to https://indieweb.org/consent_screen ?
#
Loqi
barnaby has 23 karma in this channel over the last year (38 in all channels)
[jeremycherfas], [tw2113_Slack_] and [jgarber] joined the channel
#
IWDiscordGateway
<slyduda> any place i can go to understand more about what micropub looks like? having a bit of trouble with the wiki description
#
GWG
Looks like?
#
IWDiscordGateway
<slyduda> apologies for being vague. to be a bit more specific i just was wondering if anyone had any resources that points to a live implementation
#
IWDiscordGateway
<slyduda> found the micropub/clients. idk how that flew over my head
#
GWG
Plenty.
#
GWG
But, to give you a simple example, Micropub is a POST to a Micropub endpoint, either form encoded properties or JSON encoded. Nothing too complicated there, hopefully.
#
GWG
Anything I can help with?
geoffo joined the channel
#
[tantek]
slyduda did you have a look at the spec?
#
IWDiscordGateway
<slyduda> GWG: i’ll do a bit more digging on how micropub endpoints work with indieauth before i ask any more questions. i was a bit tired after a long week and my brain had some trouble.
#
IWDiscordGateway
<slyduda> tantek: i didn’t look at the spec, just the indieweb page. i will take a look at the spec!
#
IWDiscordGateway
<slyduda> Thank you both! 🙂
#
GWG
IndieAuth just is how you get a token to identify yourself to Micropub.
rhiaro, rrix, Xe, sebsel, jbove, Saphire, klez, omz13 and [Jamie_Tanna] joined the channel
#
[Jamie_Tanna]
slyduda are you looking to build a client, server or both, or just interested to see what it's about? If so, what language?
mro, SaoLOC and oxtyped joined the channel
#
IWDiscordGateway
<capjamesg> Does Micropub require the usage of microformats objects?
mro joined the channel
#
IWDiscordGateway
<capjamesg> Never mind. I found an answer in the spec.
barnaby joined the channel
#
barnaby
[jgarber]: thanks! I’ll add the screenshot as soon as I’m using this library on my site, those screenshots are from the internal testing tool
[Jamie_Tanna] and gRegorLove_ joined the channel
#
IWDiscordGateway
<capjamesg> Is it worth requesting addition of other IndieWeb rel values like Micropub and indieauth metadata to the IANA Link registry?
#
IWDiscordGateway
<capjamesg> I’m happy to get the ball rolling and draft an issue for admission.
SaoLOC, mro and jacky joined the channel
#
IWDiscordGateway
<slyduda> [Jamie_Tanna]: just learning right now! kinda both. python and javascript
gxt, jacky and geoffo joined the channel
#
Saphire
Urgh
#
Saphire
Kinda want to poke at making own indieauth endpoint but uhm
#
Saphire
Aaa
#
barnaby
it’s a somewhat involved process, especially if you’re not familiar with OAuth
#
Saphire
For it I would need, let's see... A web server, that's a given. User auth system, too. Storage, quite likely..
#
Saphire
Ephemeral auth server sounds rather silly, though I can think of a way to make that sorta work. Except it will still store stuff and so..
#
sknebel
the basic version only knows a single hardcoded user and uses signed tokens for everything to avoid storage (which has various downsides, e.g. cant actually enforce single-use only, not revoke individual ones, ...)
#
sknebel
storage can be simple, e.g. a folder full of files is usable storage
#
Saphire
I'm really tempted to just slap ASP.NET all over this and not worry about it >.> It's.. easier, hmph
#
Saphire
...bonus points you get to use EF which is a really, really nice ORM
#
barnaby
easier++
#
Loqi
easier has 1 karma over the last year
#
aaronpk
i don't know why ASP.NET would be a bad option
#
sknebel
asp ecosystem might even have prexisting oauth identity server type stuff you can customize to support the indieauth bits
#
sknebel
but thats probably harder overall because it requires understanding more parts
#
Saphire
aaronpk: tbh mostly me being stubborn and wondering if I can use something else
#
Saphire
Except I'll have to implement (or find something that gives easy way to use): general web API endpoint stuff, an identity and auth system, structured-ish data storage...
#
barnaby
what programming language/platform would you be interested in other than asp.net? pretty much everything which is used for web development is going to have libraries for those features
#
barnaby
and potentially even existing indieauth server implementations to adapt/use/learn from
#
KatherineMoss[m]
<Saphire> "I'm really tempted to just..." <- Please tell me you mean asp.net core, not the old Windows-only Asp.net? (Not that I have a problem with using Windows servers for web hosting, unlike some individuals I know.)
lagash joined the channel
#
KatherineMoss[m]
For my webmention project, I'm just going to port the existing PHP implementation over to C# line of code by line of code. I can imagine it won't be fun,but it's one of the ways in which I can learn. PHP is object oriented,and so is C#... so.
#
Saphire
KatherineMoss[m]:absolutely
#
Saphire
I am on linux, I /can't/ use anything other than dotnet core
#
Saphire
...and no I am not liking Mono that much
#
Saphire
Don't think they do aspnet either tho
#
Saphire
barnaby: low key tempted by Rust, but uhm
#
Saphire
...I have no clue what to pick
#
Saphire
There's so.. so much
#
KatherineMoss[m]
Saphire: I'm just happy I'm not the only one supporting dotnet with Indieweb specs and sees it as an ill-represented technology. Look for netmention onGitHub; it's just a dinky little read me file at the moment with the beginnings of a PowerShell script,but then somebody on the C# community suggested that I use C# for it instead, so need to backtrack a bit.
#
Saphire
Ooh
#
Saphire
Hm
#
Saphire
ASP.NET Identity stuff is pretty nice... Entity Framework is outright spoiling me with how easy to use it is
#
KatherineMoss[m]
Saphire: I'm https://github.com/cambridgeport90, if you want to follow.
#
Saphire
...like, I straight up feel painful about seeing how SQL is worked with without EF now >.>
#
barnaby
my usage of PHP is mostly motivated by the availability of cheap, easy hosting for it
#
Saphire
It's all so just.. bizzarely fragile?
#
Saphire
barnaby: meh, I have a 5$/mo VPS I can throw at whatever, plus another one..
#
Saphire
(and one of them has 4GB of ram so relatively "high" memory usage of ASP.NET at ~100-150MB is not too critical)
#
barnaby
I had a similarly cheap VPS for a while and got tired of the admin tax. I’d much rather have managed shared hosting for the vast majority of my web projects
#
KatherineMoss[m]
Note my coding skills suck; I'm still learning both C# and PowerShell, but I'm trying to learn by porting over implementations of stuff from other languages rather than using stupid "foo" examples. In fact, I hate the term foo used in programming; I don't think it really teaches the student real-world concepts; I also think that many programming examples focus way too much on business logic rather than fun either gaming or
#
KatherineMoss[m]
enthusiast concepts.
#
KatherineMoss[m]
Maybe I'm sounding too much like a scholar.
#
Saphire
barnaby: I am bumping into issues of "how do I deploy and update my custom apps" x.x
jacky joined the channel
#
GWG
Making progress with my simple version 1 venue UI.... it will search for venues near coordinates and update a pulldown list. However, only local venues... haven't figured out how to integrate remote api venue search in
#
Saphire
Venue UI?
#
GWG
What is a venue?
#
Loqi
A venue is a named location or address/geo that is typically used for checkins https://indieweb.org/venue
#
GWG
I already have a system that when I post, it looks up my location and saves it in the post...this new functionality adds in naming repeat locations
#
GWG
I think I may have to tweak it over several revisions
#
GWG
I just want to get something I can use before November 8th, when I will be on the move
geoffo and jacky joined the channel
#
vikanezrimaya
what is ipfs
#
Loqi
IPFS is short for InterPlanetary File System, potentially a static site storage method using content based addressing https://indieweb.org/IPFS
jacky joined the channel
#
Saphire
I have spent a few hours on this and done nothing so far x'D
#
Saphire
Also do many indieauth resolvers support the metadata thing?
#
barnaby
choice paralysis?
#
sknebel
I know that way to well
#
barnaby
I don‘t know which clients support it off the top of my head, I think support was recently added to the php client, which various projects use
#
sknebel
if I've used all the time I spent thinking about writing something on writing something, I'd be pretty far
#
sknebel
*if I'd used
#
barnaby
but it’s definitely the way to go for the future, it enables a lot of additional functionality and compatibility with other oauth systems, especially if you put the metadata endpoint at the oauth .well-known path
#
barnaby
there are plenty of criticisms to make about framework bloat, but one big advantage of them is shortcutting through choice paralysis. once you’ve chosen x framework, a lot of the decisions are made for you
#
Saphire
barnaby: more like juggling everything and being unsure of where to start
#
Saphire
I guess I could just slap it out as an SPA-ish thing...
#
Saphire
Even though "properly" you would be doing server side templating
#
Saphire
...issue is that THAT makes it a nightmare to just, blah, integrate the stuff with Vue and aa
#
Saphire
Like yeah it would be easier to do server stuff also in JS just like my frontend generation stuff, but uhmmmm
#
Saphire
I am utterly unfamiliar with THAT
#
Saphire
...also I just realized that the authorization endpoint is not really an "endpoint", it's just whatever page that will process the URL params and poke the auth server properly
#
Zegnat
It is an endpoint, in that the Client has no idea what happens when they send you there. If you want to show a page or not is up to you ;)
#
Zegnat
Though for most usual web implementations, yes, it will load an HTTP page in some form or another
#
Zegnat
s/HTTP/HTML/
#
capjamesg
What is a standard license for software documentation?
#
Loqi
It looks like we don't have a page for "standard license for software documentation" yet. Would you like to create it? (Or just say "standard license for software documentation is ____", a sentence describing the term)
#
Saphire
what is license
#
Loqi
license is terms under which you are allowed to (re)use a piece of work; in the context of the IndieWeb, for source code such as in open source projects, or content, like the IndieWeb wiki itself which has a specific Copyright https://indieweb.org/license
#
capjamesg
Thanks for trying loqi.
#
Loqi
you're welcome
#
Saphire
And there's no exact "standard"
#
Saphire
...and I feel like this is the kind of topic that can result in a cafe- bar fight
#
capjamesg
I don't know where to begin.
#
capjamesg
What licenses are usually used for software / why? (any articles on the subject would be appreciated)
#
Zegnat
If it is text, any CC licence?
geoffo joined the channel
#
[Jamie_Tanna]
Saphire no "popular" / commonly used clients to my knowledge use the indieauth-metadata endpoint right now, although a few things I've built for my own usage integrate with it
#
capjamesg
Any Zegnat?
#
sknebel
avoid NC
#
Zegnat
Not even sure NC matters for documentation, not super likely to be used in zines and other such things where NC is usually the painful part. But yeah, maybe not. I am just not sure how much it matters here.
#
Zegnat
FSF (of course) has opinions, so here is somewhat of a list of licences you might consider: https://www.gnu.org/licenses/license-list.html#FreeDocumentationLicenses
#
sknebel
oh right, ND is also bad for docs
#
sknebel
s really only -BY is left
#
Zegnat
It might be telling that they call out CC NC and ND as bad there, but do not highlight CC-BY or CC-0 as possible free licences to be used
#
sknebel
(or CC0, if you want to consider that a CC license, which it ususally isnt)
#
jacky
has anyone tried out https://www.nushell.sh/? it looks pretty cool for devs
#
Zegnat
Tried nushell at some point. Tried https://elv.sh/ as well. But always end up going back to the more known ones. Even with fish (my shell of choice) I am sometimes expected to source in configs and things that end up not working for me. It is a ba-/zsh world out there.
#
capjamesg
I like fish.
#
capjamesg
Both the food and the terminal.
#
capjamesg
*terminal shell
jacky joined the channel
#
slyduda[m]
snarfed: quick q, we added client redirect functionality to discover, but as i'm looking at the bridgy code, i don't see how discover is related to bridgy publish. maybe i'm overlooking something?
gxt joined the channel
#
gRegor
Saphire, barnaby, the indieauth-client-php lib has metadata support in progress, hoping to have a release in the next week or two.
#
gRegor
https://github.com/indieweb/indieauth-client-php if you want to reference it. See the open PR too for the latest code.
#
Loqi
[indieweb] indieauth-client-php: Sample implementation and helper methods for an IndieAuth client.
#
gRegor
I would say any new server or client should support metadata. fallback to the rel=authorization_endpoint, etc. is an option. The PHP client will fallback if it doesn't find metadata endpoint.
#
barnaby
agreed, new implementations should endeavour to follow the spec, including the back-compat measures mentioned in it
geoffo and jacky joined the channel
#
@simonw
↩️ Have you looked at OpenID and IndieAuth?
(twitter.com/_/status/1583955178566189056)
sebbu2 joined the channel
#
vikanezrimaya
idea: a media endpoint which sends files to a local IPFS endpoint and returns IPFS URLs instead of usual URLs, making IPFS act as a distributed CDN. Availability is solved by pinning files to the local IPFS endpoint, ensuring they will be stored for all eternity (or at least as long as the node is up).
jacky joined the channel
#
aaronpk
"for all eternity (or at least as long as the node is up)" is a great description of the availability of data on IPFS. it's not magic
#
vikanezrimaya
well, it's not like you can upload files to IPFS without actually having a node. So pinning files to a local node will be an easy task once the file is uploaded to the node.
#
vikanezrimaya
Actually doesn't Kubo (nee go-ipfs) pin all new uploads to the local node by default?...
#
vikanezrimaya
if it doesn't i'm gonna be sad
#
vikanezrimaya
Honestly I think that if someone's website goes down, the probability is high that their IPFS node will go down with it, and if the website itself isn't hosted on IPFS, nobody will need the images anyway
bterry and jacky joined the channel