#dev 2021-11-30
2021-11-30 UTC
nertzy, jeremycherfas, KartikPrabhu1 and KartikPrabhu joined the channel
Darius_Dunlap[d], nertzy_ and Seirdy joined the channel
# [tantek]1 that's not my understanding, every implementation that interoperates with bitcoin depends on the same library / code / (actual) crypto.
# [tantek]1 governance of that code (that manipulates the bitcoin blockchain) is itself a chokepoint
# [tantek]1 yeah it's several levels deep, which means it takes time to dismantle in contrast to the marketing and advocacy 😕
[KevinMarks] and kogepan joined the channel
# [KevinMarks] The 2013 accidental fork is the key demonstration of that
# [KevinMarks] It intrinsically needs a single code base.
# [KevinMarks] Tim Bray's series of blog posts on search are good
tetov-irc and gRegor joined the channel
# petermolnar capjamesg[d]: nice work on the static generator; one tipp regarding python and strings: https://docs.python.org/3/reference/lexical_analysis.html#f-strings are useful for readability.
kogepan joined the channel
# capjamesg[d] Thanks petermolnar!
# capjamesg[d] [KevinMarks] Yeah, they are great! The issue I'm having is figuring out how to weigh a "title" more than the TF-IDF count for a word.
# @lcptuk Webmention
W3C protocol for notifying a URL when a website links to it
https://en.wikipedia.org/wiki/Webmention (twitter.com/_/status/1465685297451184142)
akevinhuang, IWSlackGateway1, sp1ff`, IWSlackGateway2, joshproehl, GWG, [manton], aaronpk and sp1ff`` joined the channel
Wittgenstein[d] joined the channel
KartikPrabhu joined the channel
# capjamesg[d] Amazon in the 5g business?
# [schmarty] GWG: can you share a link to the micropub spec issue you're referring to?
# [schmarty] i find it hard to keep track of where everything lives, so an oblique reference like "issue #13" is toooo hard 😂
# [schmarty] my scrollback finger is weak today i guess
# [schmarty] GWG++ thanks for the link++
# [schmarty] looks like this discussion is about an _extension_ to Micropub rather than something that would be in the core spec. i appreciate that because i have _other ideas_.
# [schmarty] manton mentioned on-demand thumbnails, which sounds similar to how i use a CDN with image manipulation options to generate and cache thumbnails on request.
# GWG There's a similar use case in Microsub, https://github.com/indieweb/microsub/issues/36
# capjamesg[d] Height / width would be useful. I like the idea of being able to retrieve thumbnails if available for building a front end source set.
# capjamesg[d] jf2 used by Microsub does specify content type for video / audio so there is precedent for richer multimedia objects.
# [schmarty] i think i agree that making height/width metadata available for images and video is useful. i am much less sure about thumbnail properties with an optional alternate array for other sizes.
# [schmarty] your use case is a micropub client seeking to display recent image(s) uploaded to a micropub endpoint?
# [schmarty] i think the client should maintain it's own caching thumbnail service, honestly.
# [schmarty] i think it'll be really hard to come to an agreement on what a "thumbails" property should look like in a response, since you're asking every micropub media endpoint implementation to agree.
# [schmarty] for example, check out the list of named image types in a GIPHY API response: https://developers.giphy.com/docs/api/schema/#image-object
# [schmarty] so the GIPHY API responds with a bunch of different options for very different use cases, and GIPHY has to support all of them. and your client needs to understand how to consume them.
# [schmarty] compare with gfycat: https://developers.gfycat.com/api/#reaction-gifs
# [schmarty] a similar collection of "whatever they think is useful for their consumers and they're willing to support" but with even less helpful stuff
# [schmarty] WordPress generates different sizes depending on what plugins and themes you have installed
# [schmarty] and importantly thumbnails are going to be different in different contexts. if i last uploaded a super-wide panoramic image, what thumbnails should my media endpoint support and how can a client be sure it can use them correctly?
# [schmarty] as aaronpk mentioned, this sounds like a research project. you could start with: your own specific barriers in developing your client because of missing width/height metadata or thumbnail sizes, for example.
# [schmarty] what thumbnails do you _wish_ were available for your specific real world use case?
# [schmarty] great! i suggest working with marksuth to figure out exactly what would be the dream metadata and thumbnail option(s).
# [schmarty] however this shakes out from the perspective of a micropub media endpoint extension to be handled on those servers - those clients will still need to handle cases where this information is not available!
# [schmarty] sounds suuuuuuper speculative for now 😂
# [manton] Loosely related, some of Micro.blog’s JSON Feeds include a single thumbnail URL (currently 400x400). You can see it here in the `_microblog` extension under each item: https://micro.blog/feeds/photos.json
# [schmarty] so true! i hold a strong belief that spec-talk is dangerous or wasted until someone tries to build it. 😅
# [schmarty] manton++ great example and feedback
alex11 joined the channel
kogepan and akevinhuang joined the channel
# [schmarty] does someone in chat maintain h2vx.com ? it no longer seems to work on my homepage h-feed of h-events... http://h2vx.com/ics/https://martymcgui.re/
# [schmarty] "no tidy :("
# [schmarty] looks like the example address doesn't work either 😐
# [schmarty] ponders writing an ics template in hugo so there's no external service needed.
# [schmarty] haha absolutely not
# [schmarty] i might try and self-host the site to see if i can figure out the issue https://github.com/microformats/h2vx.com
# [schmarty] (mostly so i could see what it's supposed to look like to do an extremely simple hugo template)
# [KevinMarks] at least the hugo template language makes some kind of sense
# [KevinMarks] ( have implemented RSS feeds in jinja2 , I have previous foolishness here)
# [tantek]1 oh dear yeah I've been keeping h2vx running when I can
# [tantek]1 I haven't checked it since after porting it to Dreamhost so who know what broke
# [schmarty] The error it gave "No tidy :(" turns out so far to be unsearchable for me 😅
# [tantek]1 it was literally working when I deployed it on Dreamhost at IWC Austin in 2018 I think
# [tantek]1 and I hadn't touched the configuration since, so *something* got updated/"upgraded" in the setup "automatically" (not by me) and broke it 😞
# [tantek]1 [schmarty] it's also still only supporting classic microformats, so wouldn't have done anything with your h-event anyway :?
# [tantek]1 😕
# [tantek]1 great so they did that and perhaps failed to also update the tidy-php module that was there before
# [tantek]1 hmm, doing some digging and maybe I can fix this from the console
# [tantek]1 puts on hacker music
# [tantek]1 yes when they upgraded the PHP they did not carry over any custom phprc
# [tantek]1 step 1 problem diagnosed
# [tantek]1 looks like it needs a line like:
# [tantek]1 extension = tidy.so
# [tantek]1 [schmarty] retry! I get a .ics file now from that URL you gave (though with https version) https://h2vx.com/ics/https://martymcgui.re/
# [tantek]1 what is h2vs
# Loqi It looks like we don't have a page for "h2vs" yet. Would you like to create it? (Or just say "h2vs is ____", a sentence describing the term)
# [tantek]1 argh
tetov-irc joined the channel
# [tantek]1 h2vx << Troubleshooting: if you get an error like "no tidy :(" then it is likely that the PHP version has been automatically upgraded without re-enabling the php-tidy extension. The fix is to ping an admin and ask them to check the phprc file on the server (likely in ~/.php/7.4/phprc) and see if it has "extension = tidy.so" at the top. If not, edit the file and add it. That should fix it.
# Loqi ok, I added "Troubleshooting: if you get an error like "no tidy :(" then it is likely that the PHP version has been automatically upgraded without re-enabling the php-tidy extension. The fix is to ping an admin and ask them to check the phprc file on the server (likely in ~/.php/7.4/phprc) and see if it has "extension = tidy.so" at the top. If not, edit the file and add it. That should fix it." to the "See Also" section of /H2VX https://indieweb.org/wiki/index.php?diff=78063&oldid=64760
# [tantek]1 what is no tidy
# Loqi It looks like we don't have a page for "no tidy" yet. Would you like to create it? (Or just say "no tidy is ____", a sentence describing the term)
# [tantek]1 no tidy is an error that you may see at the start of a page from a server using [[PHP]] that depends on the php-tidy extension (like [[H2VX]]) yet does not have the extension installed or enabled; the solution is to install/enable it, e.g. on [[DreamHost]] add "extension = tidy.so" to the server’s phprc file.
# [tantek]1 maybe that will make it more findable