#dev 2022-01-07

2022-01-07 UTC
Seirdy joined the channel
#
[KevinMarks]
That's the thing - signing and key pairs are plumbing, what matters is structural checking, so domains and ssl certs actually matter because they have infrastructure and actually interoperating alternatives for each component.
#
[KevinMarks]
The components are substitutable, which is a deeper kind of fungibility
#
[KevinMarks]
Plus we have established verification and dispute resolution procedures for them
#
juanchipro[m]
I have finally added comments to my page, something super simple. One comment line. Nothing intrusive. Needs improvement.
#
juanchipro[m]
Of course in Javasacript and sqlite backend. Separated from the posts. Since it can be removed at any time and nothing happens. The bad thing is that I have not implemented the deletion. I hope that people do not abuse. If not, by hand.
#
juanchipro[m]
I have learned so much react-javascript that Google could hire me. Well, maybe to serve coffees or polish the slide.
#
juanchipro[m]
Maybe I'll open an account on Twitch to show that code. Those videos are kind of popular and at least they give you prestige.
#
juanchipro[m]
But first and foremost, content. It doesn't matter a super coded and attractive website, if it doesn't have good content.
gRegor, [Joe_Crawford], [jgmac1106], gerben, balupton[d] and jjuran joined the channel
#
capjamesg[d]
juanchipro[m]++
#
Loqi
juanchipro[m] has 1 karma over the last year
#
capjamesg[d]
Congratulations on getting all of that done πŸŽ‰
jessealama joined the channel
#
@jamesvandyne
↩️ Hopefully you never lose access to that Google account. I wish more sites supported https://indieauth.net/ - basically allows you to do OAuth2 from your own domain.
(twitter.com/_/status/1479352165127045120)
KartikPrabhu joined the channel
#
capjamesg[d]
[James_Van_Dyne]++ for the indieweb-utils contributions πŸ™Œ
#
Loqi
[James_Van_Dyne] has 1 karma over the last year
frittro and jjuran joined the channel
#
@capjamesg
I have configured my website to start syndicating notes to http://fed.brid.gy. You can now follow me on the fediverse at @jamesg.blog@jamesg.blog. (https://jamesg.blog/notes/2022-01-07-663/)
(twitter.com/_/status/1479377303771791360)
#
[James_Van_Dyne]
@capsjames: Thanks for the reviews! I'll try and get some more out in the next few days. Beyond introducing black and such, we may want to split the utils into separate sub-modules for easier maintenance (we can still expose the common functions at then top level)
#
capjamesg[d]
Indeed. I think that's a good idea. I got a warning from pylint about the file length so it seems like a good time to break them out.
jessealama, frittro, tetov-irc and strugee joined the channel
#
[snarfed]
frontend people, is there any way to make an HTML element _not_ a click target? ie clicks would propagate through to elements behind it, etc?
#
[snarfed]
(for context. this top element is a canvas that covers the whole page)
#
[snarfed]
(and has position: fixed)
#
aaronpk
i think that's the pointer-events CSS property?
#
[snarfed]
ah maybe! looking
#
[schmarty]1
pointer-events: none
#
[schmarty]1
Oughta do it
#
[snarfed]
doesn't seem to be working 😐
#
[snarfed]
I'll poke at that more though
#
[schmarty]1
Haha oops πŸ˜…
#
[snarfed]
nm, user error, it works, thank you both!
#
[schmarty]1
Woo!!
#
@gericci
This is so cool! I'll finally be able to add webmentions to my #11ty personal site http://Webmention.io
(twitter.com/_/status/1479491927439515655)
strugee, alephalpha0 and Seirdy joined the channel
#
[snarfed]
capjamesg re https://github.com/snarfed/granary/issues/109 , you may want to add it to/base it on microformats2.py instead of treating it as a whole new independent format
#
Loqi
[snarfed] #109 support JF2
#
[snarfed]
...but if you want to piggyback on microformats2.py and just convert to/from mf2 json, that's fine too
#
capjamesg[d]
I think I understand the object_to_json() function in your microformats2.py file.
#
capjamesg[d]
By supporting jf2, what is the best way to implement it?
#
capjamesg[d]
AS1 => jf2 directly or mf2 => jf2?
#
[snarfed]
probably mf2 <=> jf2, since that's much smaller and pretty self contained
#
[snarfed]
I might start with collecting the test data though
#
[snarfed]
(er, you might 😁)
#
capjamesg[d]
Full disclosure I haven't contributed to many open source projects that aren't my own so I'm just going to try my best πŸ™‚
#
[snarfed]
no worries!
#
[snarfed]
I wonder how close it is to just `mf2util.interpret_feed()` and/or `.interpret()` on the input mf2
#
[snarfed]
I guess your first step though, before any of this, is https://github.com/snarfed/granary/#development
#
capjamesg[d]
So many things!
#
capjamesg[d]
Thank you for sharing!
#
[snarfed]
hah sorry true. welcome!
#
capjamesg[d]
I am not sure whether mf2util makes a direct map to jf2.
#
capjamesg[d]
I might be wrong.
#
capjamesg[d]
I don't think the map is direct but it looks close.
#
[snarfed]
yeah Kyle may have made up that format before JF2 was formalized
#
[snarfed]
feel free to do it however you want
#
[tantek]
yes very likely
#
capjamesg[d]
The content attribute doesn't seem to map to the typical text + html values you would expect.
KartikPrabhu joined the channel
#
[KevinMarks]
jf2 is a bit loosely specified tbh.
#
[KevinMarks]
I have https://github.com/kevinmarks/unmung/blob/master/mf2tojf2.py but I haven't cross checked that against newer jf2
#
capjamesg[d]
Oh wow. Do you just flatten all the properties?
#
[KevinMarks]
or insert children if they're a list, which may not be exactly equivalent to what Aaron does
#
Loqi
unmung has 3 karma over the last year
#
capjamesg[d]
By the way thank you so much for building brid.gy fed [snarfed]++
#
Loqi
[snarfed] has 32 karma in this channel over the last year (65 in all channels)
#
[KevinMarks]
really I should add jf2tomf2 and check it round-trips correctly
KartikPrabhu and rockorager joined the channel
#
[tantek]
what is jf2
#
Loqi
jf2 is a working prototype of a simpler JSON serialization of microformats2 intended to be easier to consume than the standard Microformats JSON representation https://indieweb.org/jf2
#
[tantek]
here I thought it was at least a NOTE
#
Loqi
[Benjamin Roberts] JF2 Post Serialization Format
#
capjamesg[d]
The definition should perhaps be altered to reflect that.
#
[tantek]
what is jf2
#
Loqi
jf2 is a W3C Note and a JSON Post Serialization Format of microformats2 for that is optimized for h-entry consuming code, as compared to the standard microformats JSON representation https://indieweb.org/jf2
#
[tantek]
capjamesg[d], if you'd like to help with improving the jf2 page to look more "standard" (as it should), compare the header portion (before the first heading) with https://indieweb.org/post-type-discovery
#
[tantek]
and see if you can add similar Status ... License like lines
#
capjamesg[d]
Also, I need to figure out what to say about distributed search.
#
capjamesg[d]
I need to learn more about distributed architectures.
#
capjamesg[d]
For now, I am seriously considering writing some docs on facilitating WARC files.
#
capjamesg[d]
In the long term, maybe a login with IndieAuth. Approved WARC files would be sent straight to the index.
#
capjamesg[d]
WARC is a lot easier than running the actual crawler.
#
capjamesg[d]
If I could get that to work, I’d be in a better place to start experimenting with β€œnew” feeds that show the latest articles in a particular area.
#
capjamesg[d]
But adds more work because then a WARC to index json translation script would be needed. Not a lot of work though.
#
capjamesg[d]
Ah, sorry. I’m thinking out loud a lot here.
#
capjamesg[d]
I just haven’t been able to work through this.
rockorager joined the channel
#
[tantek]
This is a good troll/nerdsnipe: https://twitter.com/markdalgleish/status/1479234394766262275 (apologies, not sure it has any particular indieweb relevance, but figured it would definitely trigger some devs πŸ˜‰ )
#
@markdalgleish
Really wish JSON supported trailing commas.
(twitter.com/_/status/1479234394766262275)
#
aaronpk
i like how the top reply is a reply guy who thought "commas" was "comments"
tetov-irc joined the channel