#dev 2020-05-15

2020-05-15 UTC
xsteadfastx and [LewisCowles] joined the channel
#
[LewisCowles]
sebsel, if a string should be an array, can you not split it on whitespace?
dogfart and [manton] joined the channel
#
[manton]
Catching up on that iA Writer discussion… Micro.blog mostly ignores the "type", to be honest, since basically everything in Micro.blog is an "h-entry".
#
aaronpk
That explains how that happened then :-)
#
[manton]
WordPress's Micropub plugin must be equally forgiving of the format, since I know that was used to test iA Writer too.
#
aaronpk
Do you know if they looked at micropub.rocks?
nickodd, [tw2113], geoffo, deepcut, [tantek], KartikPrabhu, AshleySky and swentel joined the channel
#
sebsel
nice, that was the other reason to go to bed first: giving [manton] time to catch up :)
#
sebsel
[LewisCowles]: I am not trying to fix my endpoint here. I am following the spec. If I were to be more forgiving like Wordpress seems to be, I would put the given string in an array as it's only member. But I kind of don't want to, I like to follow the spec.
[LewisCowles], moppy, jacky and KartikPrabhu joined the channel
#
jacky
regarding micropub.rocks (is there a way to make that list a bit more collapsed?
#
jacky
like versus showing all of the lights; showing three of them (pass/fail/not-run) and then doing the list of sites with the those lights to the right?
#
jacky
just to prevent that run-off one sees right now
KartikPrabhu joined the channel
#
sebsel
e-mail sent :)
#
sebsel
yea I explicitly said in the e-mail that I didn't think it would make sense for iA Writer to support the whole suite, for it's not a full Micropub client.
#
sebsel
but there is already a note at the top that says you don't need to pass them all
#
sebsel
you can maybe group them by "what kind of app are you?"
#
sebsel
But I really think Micropub.rocks is already a very good tool
#
sebsel
aaronpk++ for Micropub.rocks
#
Loqi
aaronpk has 60 karma in this channel over the last year (215 in all channels)
#
sebsel
or maybe a button to mark the test as "I don't intend to support this", to be able to complete the list without red :)
[tantek] joined the channel
#
[tantek]
hmmm, any aspects of a specification that are optional "don't need to pass them all" should be explicitly documented in the spec, not the test suite, either coarsely as different classes of implementations, or more fine grained as "should" rather than "must" statements.
#
[tantek]
the test suite should only be making any assertions about what needs or does not need to be passed by referencing/citing those classes of implementations or specific "should" statements.
#
[tantek]
ideally, individual implementations should not have to make judgment calls about what should/should not be supported, because that tends to harm ecosystem interop over time
#
sebsel
that is a good point
#
[LewisCowles]
In 1600 the English specification people followed was far different from the English we speak today.
#
[LewisCowles]
Specs evolve through usage. Single string, or array of strings seem like similarly shaped things over here.
#
[LewisCowles]
Data isn't missing, it's mis-represented, in a trivially compatible way.
#
[LewisCowles]
Email clients suffer the same problems and are very mature software.
#
[LewisCowles]
At the end of the day, I guess it depends on how important something is.
#
[LewisCowles]
i.e. if it's important, then permissive HTML / CSS approach
#
[LewisCowles]
if it's not important. JavaScript / Imperative programming approach
#
[LewisCowles]
I'd argue that throwing away trivially non-compliant things, says that the perceived value is trivial, because I'd rather have most of an important message, than have it lost.
#
[LewisCowles]
Could be horribly wrong, but we're not talking about an invalid value or something likely to crash a bank here
[grantcodes] joined the channel
#
[grantcodes]
Back to personal website development today and I just found out next js released the exact feature I have always wanted 😍 I'm on my way to a best of both worlds static / dynamic site
KartikPrabhu joined the channel
#
sknebel
what is that magic feature? :D
#
Loqi
It looks like we don't have a page for "that magic feature" yet. Would you like to create it? (Or just say "that magic feature is ____", a sentence describing the term)
#
sknebel
shush Loqi
#
[grantcodes]
sknebel: they've been working a lot on dynamically generating static content. So the newest release (if I understand it right) lets you initially generate a static html page then it can be regenerated again if there is new data without rebuilding the entire site
#
sknebel
I always forget that's *not* a standard feature with static generators...
KartikPrabhu joined the channel
#
[grantcodes]
It feels really good to me, but still kinda trying to get my head around it all 😅
KartikPrabhu and Mikaela2 joined the channel
#
petermolnar
anyone has some sort of non-cloud load balancing and/or redundancy over their web presence? Things such as anycast or similar.
#
sknebel
petermolnar: while I've been tempted to get an ASN, not quite at that level yet :D
#
sknebel
okay, anycast isn't the only option. my hosting provider offers failover IPs inside their DC, and one could do DNS failover, but I have neither setup
#
petermolnar
DNS failover is tricky. One either sets a very low TTL which hits performance, or accepts downtime.
ybbond joined the channel
#
sknebel
DIY anycast means IPv6 only, or spending way more money than I'd be willing to spend. all "as a service" in that regard you'd probably label as "cloud".
JKing, [jgmac1106], mastermidn13 and [KevinMarks] joined the channel
#
[KevinMarks]
if you use excel for anything, this is very handy https://twitter.com/arambaut/status/1261257821967880193
#
@arambaut
Just discovered that if you set the Mac OS X short date format to ISO 8601 in System Preferences then that is the format that Excel defaults to. All the pain and anguish over the years that could have been avoided with just a bit of googling. https://pbs.twimg.com/media/EYDjTZRWkAAHaG9.jpg
(twitter.com/_/status/1261257821967880193)
[LewisCowles], geoffo, d0gfart, [schmarty], garrettw, [tantek], nickodd, [chrisaldrich] and [tw2113] joined the channel
#
[schmarty]
thinking about whan and "IndieWeb alternative to GIPHY" might look like and i am thinking way back to the early 2000s days of like "save a folder on your computer"
#
[schmarty]
wow i am typo-ing all over the place today. "whan and" => "what an"
#
sknebel
I guess one could do a list of gif-feeds and then a search over those
#
[schmarty]
like a service to help you collaboratively manage and tag your own collection of reaction images / gifs.
#
sknebel
since a good part of giphy from what I understand is the search thing
#
[schmarty]
yeah, you'd join with your own gif-fed
#
[schmarty]
*gif-feed
#
[schmarty]
if you support micropub you could even accept tags on those from other users
#
sknebel
or tag-of mentions
#
sknebel
wait no, tag-of wasfor people
#
[schmarty]
haha true
#
[schmarty]
this part of the "Prohibitions on Content" section of the gfycat.com API Terms of Service would seem to make things... tricky. "Unless expressly permitted by the content owner or by applicable law, you will not, and or others acting on your behalf to, do the following with content returned from the APIs: ... b. Copy, translate, modify, create a derivative work of, sell, lease, lend, convey, distribute, publicly display, or sublicense to any
#
[schmarty]
third party;"
#
[schmarty]
since i want to publicly display these reaction images on my own website (and maybe copy to my own image hosting). not to mention that i want them to also appear on _other people's_ websites if i am reacting to their posts. 🤔
gregor1 and [jgmac1106] joined the channel
#
[chrisaldrich]
Isn't GifFed the new Activity Pub platform for federating gifs? 😉
#
sknebel
hm, does the custom emoji stuff some ActivityPub implementations have have any kind of federated search?
[snarfed] joined the channel
#
[snarfed]
i haven't seen global/federated search anywhere there, no
#
[snarfed]
already sounds hard, probably is even harder in reality
swentel joined the channel
#
jacky
sknebel: AFAIK, nah; it's like cached from when you see it
[Rose] and [KevinMarks] joined the channel; nickodd left the channel
#
[KevinMarks]
the custom emojis get cached on each mastodon server, right? Can you address an imported one?
cjav_dev and [tw2113] joined the channel
#
[schmarty]
oh gifcities is very good! KevinMarks++
#
Loqi
KevinMarks has 14 karma in this channel over the last year (56 in all channels)
#
[schmarty]
needs a caching layer in front so large GIFs can be transcoded to mp4, etc. 😂
[Molly], swentel and ARH joined the channel
#
[tantek]
were GIFs ever CC-licensed on any of these sites?
#
[tantek]
if not, that's certainly a fresh opportunity
#
[tantek]
CC-licensed GIF repository
#
[tantek]
I'll give you a hint: seed it with Wikimedia GIFs
#
[KevinMarks]
gif as video codec was something I thought we were done with 15 years agi
#
[schmarty]
tantek: ha!! Probably??
#
[tantek]
people are looking for alternatives *right now*. start with that
#
[tantek]
call it Kapowski 2.0!
[LewisCowles], [tantek] and [snarfed] joined the channel
#
[snarfed]
interesting network partition going on right now. https://superfeedr.com/ has been down hard for me on comcast residential for at least the last hour or two, serving 502/503s, but it's up and working fine from other networks, eg my shared host and my college
#
Loqi
SPOF has -1 karma over the last year
jamietanna joined the channel
#
[tantek]
snarfed, that begs the question, is anyone supporting multiple WebSub hubs from their site?
#
[snarfed]
no clue
#
[snarfed]
(superfeedr is back up for me now)
#
[snarfed]
interesting part about that network partition was that i was still reaching superfeedr's own servers. they're the ones that served me the 50xes. (without cookies/logged in session, etc.) no clue why they did that for me but worked from elsewhere. computers 🤷
#
[tantek]
ah that sounds like some sort of IP blocklisting
#
[tantek]
common Apache IP blocking techniques cause 500 errors to be returned promptly to those source IPs
#
[snarfed]
weird that they'd use 502/503
#
[tantek]
yes that is odd as I'd expect 500
#
[snarfed]
and also that it cleared up on its own
#
[tantek]
IP blocks come and go?
#
[snarfed]
but 🤷
#
[snarfed]
yeah maybe
#
[tantek]
I'm thinking of automatically syndicating any post of mine with either an indieweb / indiewebcamp (hash)tag, OR indieweb / indiweebcamp literally in the post name, to IndieNews
#
[snarfed]
no matter
#
[tantek]
any thoughts on how that could "go wrong"?
#
[tantek]
key thing here is that I only automatically syndicate to IndieNews when it's a post relevant to the IndieWeb
#
[tantek]
and does anyone else do any automatic syndication to IndieNews like this?
#
[snarfed]
how are replies (eg tweets), likes, etc rendered? would they accidentally match?
#
[tantek]
ah I could not-syndicate responses
#
[tantek]
replies could match because they could have an indieweb hashtag
#
[tantek]
same with RSVPs, and GitHub issues!
#
aaronpk
i mention indieweb enough times that I didn't want to set up automatic syndication
#
aaronpk
here's a feed from a bunch of our blogs mentioning various indieweb terms https://stream.indieweb.org/
#
aaronpk
to give you a sense of that kind of automatic syndication
#
[snarfed]
^ right. i imagine getting the matching "just right" would be tough
#
[tantek]
I guess I post rarely enough that I wasn't too worried but that's a good point
#
[tantek]
hence why I would NOT do just a plain text search
#
[tantek]
to me, if I hashtag it indieweb, I'm saying this post is about the indieweb
#
[tantek]
similarly if "indieweb" makes it into the name of a post, it's clearly a post about the indieweb
#
aaronpk
i went through this thought experiment a while ago too, and searched for posts matching what would have been my automatic criteria
#
aaronpk
i decided against automating it at the end of the day though
#
aaronpk
it's fuzzy, but too many of the posts didn't feel "news"-worthy enough
[grantcodes] joined the channel
#
[grantcodes]
Heh ran a first - very not optimized - static export of my previously dynamic site and it took 17 minutes. 😅
#
aaronpk
in fact looking through the last few posts of mine with the hashtag indieweb, i wouldn't post those to indienews either
#
[tantek]
aaronpk, interesting. I could start conservatively, with only blog posts with IndieWeb in the name
#
aaronpk
my blog posts with the indieweb hashtag are a higher match
#
[tantek]
maybe I don't understand the purpose of IndieNews
[chrisaldrich] joined the channel
#
[tantek]
or maybe a blog post summarizing the IndieWeb aspects of it right there in the name of the post
#
[chrisaldrich]
iirc pfefferle has a plugin on github for WP to auto syndicate anything tagged #indienews to crosspost to news.indieweb.org.
#
[chrisaldrich]
I thought about doing it by tag, but I also post lots of bookmarks and reads as IndieWeb which would create a lot of duplictation.
#
[chrisaldrich]
About a year ago I created a category/feed on my site called IndieWeb that has my IndieWeb related content (esp. articles), and I've relegated all the other smaller stuff (and especially links to others' content) to a tag called IndieWeb.
#
[chrisaldrich]
I'd have to look, but I might be able to get away with autosyndicating everything in that Category, but I'd never think of doing it with the content in the tag.
#
jamietanna
I like the thought of anything tagged as #indienews - but if I'm posting that, the editor I'm using likely has the ability to populate the actual syndication UI, so I'd just tick IndieNews there :thinking:
flex14 and dogfart joined the channel
#
[tantek]
[chrisaldrich] bookmarks and reads are "responses" so by excluding responses you would avoid that problem
#
[tantek]
jamietanna, using "#indienews" as an explicit hashtag trigger makes sense
#
[tantek]
maybe check to see what that hashtag show on existing aggregations / silos
#
[chrisaldrich]
I'm essentially using a checkbox with a syndication target to do that syndication now. It's functionality that's built into the WordPress Syndication Links Plugin now.
#
[chrisaldrich]
The benefit is that it's easy for Micropub clients that include that to provide one click syndication as well.
#
[tantek]
!tell aaronpk iA Writer Micropub support is probably worth a blog post, e.g. with screenshots on the setup flow, using it, and the result on your blog! And of course a summary table of the growing "Micropub ecosystem" of clients and servers. That's the larger story to tell (and yours to tell as spec editor!)
#
Loqi
Ok, I'll tell them that when I see them next
#
[tantek]
(I was going to write up something brief but figured it'd be better if it had details like that, and that sounded like something you'd be better at)
#
aaronpk
I haven't tested it on my site yet but I suspect I will also need them to push the fix first
#
Loqi
aaronpk: [tantek] left you a message 1 minute ago: iA Writer Micropub support is probably worth a blog post, e.g. with screenshots on the setup flow, using it, and the result on your blog! And of course a summary table of the growing "Micropub ecosystem" of clients and servers. That's the larger story to tell (and yours to tell as spec editor!)
#
[chrisaldrich]
It also may be a bigger win if ThreadReaderApp's micropub functionality comes out relatively soon as well since that will be an implementation that shows off a similar, but dramatically different use case for Micropub.
#
aaronpk
oo yes
#
[tantek]
I think it's a bigger win when you get to announce something like that "every week"
#
[tantek]
rolling thunder as it were rather than big bang
#
[chrisaldrich]
we should start a fleet of micropub support requests to build some runway for that "every week" event in the future... 😉
#
Loqi
definitely
#
[chrisaldrich]
If I can find the time this weekend, I'll try to document the WordPress workflow from a user perspective.
#
[chrisaldrich]
has anyone tried iA Writer from the WordPress side yet?
lahacker joined the channel
#
[tantek]
What is iawriter
#
Loqi
It looks like we don't have a page for "iawriter" yet. Would you like to create it? (Or just say "iawriter is ____", a sentence describing the term)
#
[tantek]
What is Ia writer
#
Loqi
Micropub clients are sites and client applications that publish to servers via Micropub https://indieweb.org/iA_Writer
#
[tantek]
Ok it definitely deserves its own page