#dev 2020-02-10

2020-02-10 UTC
treora joined the channel
#
aaronpk
gonna try to get these tests to pass again
nsh joined the channel
#
aaronpk
well that's bad... when I update some of the phpunit dependencies then a whoooole bunch of tests fail
#
JKing
A lot of the tests rely on fetching resources from random Web sites---which can change at any time. Not very good tests.
#
@scott_gruber
I have a very simple webmention working on my site on a perch collection page and a static html page. Needs more testing but good for my @indiewebcamp day. https://scottgruber.me/articles/connecting-to-the-indieweb
(twitter.com/_/status/1226662057342226432)
#
JKing
There's another fork <https://github.com/nicolus/picoFeed> which has fixed at least some of the tests. It has some pretty big changes (and pretty severe bugs as a consequence) besides test fixes, though.
#
Loqi
[nicolus] picoFeed: PHP library to parse and write RSS/Atom feeds
IWSlackGateway joined the channel
#
aaronpk
this is not pleasant
[jgmac1106] joined the channel
#
aaronpk
these tests are not very good
#
aaronpk
heh, that nicolus one is actually a fork of mine, but then he changed it to make it not look like a fork
#
[jgmac1106]
well this looks kinda like the way I want, the audiopoem was supposed to span 1/3 nut it just goes one, nit sure why so I moved everythignelse over one: https://jgregorymcverry.com/mypoetry
#
[jgmac1106]
might not use autorows...not sure
[tantek] joined the channel
#
aaronpk
starting in php 7.2 there's an error with phpunit and in order to fix it i'm going to have to upgrade to a new phpunit but that's going to break eeeeverything
#
[jgmac1106]
ooh I am soo sorry
#
[LewisCowles]
who's fork of your work is it?
[LewisCowles] joined the channel
#
aaronpk
oh nevermind I am wrong we both forked it from the same point
KartikPrabhu joined the channel
#
[jgmac1106]
oops I filled up my shared server space, every week or so I have delete about 8 gigs of git logs
#
[jgmac1106]
but I have been just pushing stuff going nowhere last hour
cbzen, [Michael_Beckwit and [Charles_Bartlet joined the channel
#
jacky
I keep getting 500s from bridgy :(
#
jacky
the posts get out but I don't get back the Twitter URIs
#
jacky
there's this context from one of the errors: 38b19783-fe1a-4a86-ad8d-9d980ba4f153
[chrisaldrich] and [snarfed] joined the channel
#
[snarfed]
ugh, sorry jacky. will look
#
Loqi
[snarfed]: jamietanna[m] left you a message 4 hours, 6 minutes ago: I think we're pretty much done now 🙌 I've got it working from no-authZ to publishing, the main thing left is the doc updates and the ability to disable it - unless there's anything else you think that needs to be done
#
jacky
[snarfed]: no problem! thankfully, I've gotten better at this lol
beko and sivy joined the channel
#
[snarfed]
so jacky evidently when you use bridgy publish, elixir sends four identical webmentions to bridgy for it, each just 100ms or so after the last, and bridgy publish's transactionality is a bit brittle. it doesn't do anything wrong, it only POSSEs once, but occasionally the contention makes one of the wms 500
#
[snarfed]
i'll work on that, but if you can de-dupe down to one wm, that will help
[Michael_Beckwit joined the channel
#
jacky
hmmm okay
#
jacky
I can work on that
#
@swyx
↩️ i tried setting up webmentions today. one thing that felt broken was the crawling only turned up like 40 things and it didnt feel like it was going to scale to 1000's of webmentions (more likely the real number) is there a trick to get bridgy/webmentionsio to crawl everything?
(twitter.com/_/status/1226742112626057216)
[jeremycherfas] and [chrisaldrich] joined the channel
#
@schnarfed
↩️ right. bridgy doesn't send webmentions for everything in history. it's mainly designed to monitor and send webmentions for *new* tweets and reactions, as they happen.
(twitter.com/_/status/1226752663854862336)
#
@schnarfed
↩️ that'd be great! we need more diversity of webmention backfeed implementations. bridgy is more or less the only game in town right now. https://snarfed.org/backfeed-without-code
(twitter.com/_/status/1226753753941864449)
deathrow1 and swentel joined the channel
#
GWG
swentel: Do not implement an x status as experimental
#
swentel
GWG, ok, so what property does WP look for?
#
swentel
when a read is posted
#
GWG
read-of
#
[chrisaldrich]
I think gRegorLove may have done that early on in indiebookclub, but changed it later on anyway.
#
GWG
As opposed to like-of and such
#
swentel
GWG, but that's the book title right?
#
GWG
swentel: That would be a URL to the read content usually
#
swentel
like a goodreads url
#
[chrisaldrich]
indiebook club is focused on books generally, but the majority of my reads are articles. In my mind the best silo example is reading.am
#
[chrisaldrich]
What is reading.am?
#
swentel
ok, looking at https://indiebookclub.biz/documentation - I post those properties, that would be a good start ?
#
swentel
I don't have json though, so that's going to be annoyting for that nested read-of object
#
swentel
*annoying
#
GWG
swentel: So just a URL or plaintext title then, u-read-of or p-read-of
#
GWG
That should be good to start, along with read-status
#
swentel
ok, and other stuff like body and attachments as optional
#
swentel
and, in the reader, it's a dedicated response option for all items then
#
swentel
hmm another icon, might be a bit too much, unless I hide this one behind the 3 dots
#
swentel
but then I need a good label since there's already 'Mark read' or 'Mark unread' in there :)
#
GWG
swentel, you could allow people to pick their three and the rest go under the overflow
#
swentel
hmm, yeah, might be a good idea
#
swentel
and the have separator in the 3 dots menu
#
swentel
*then also
#
swentel
ok, with some luck, I have that working tonight :)
#
GWG
Great
#
swentel
well, the posting thing at least
#
swentel
not the selection of response icons there, needs more development
#
GWG
I need to fix what happens after you post. Have a storage issue
#
swentel
oh, how so?
#
GWG
When a Micropub request comes in with a URL reply, like, etc, I retrieve and parse the url to get a title, author, etc
#
GWG
The author is somehow being lost on save
#
GWG
Need to fix and put in some unit tests
#
swentel
oh right
#
swentel
I have a plugin for that too
#
swentel
to get more context indeed
#
swentel
I actually just use xray at that moment
#
swentel
and then store the response of that url
#
swentel
and then I can still do whatever I want with it at render time
#
GWG
I also made the storage class too complex and I think I need to simplify
#
GWG
swentel: I have my own xray-like library
#
GWG
Xray has a bunch of API keyed formats, I try to get as much as I can without it
#
GWG
So I scrape ogp and convert to mf2 approximations
#
GWG
I normalize dates, hunt for authors, parse author fields to determine multiple authors when appropriate.
#
GWG
What is OGP?
#
Loqi
The Open Graph protocol (OGP) is an open* standard developed and controlled by Facebook for expressing the primary subject of an HTML page in custom <meta> tags for the purpose of Facebook showing link previews; in practice only a couple are even sometimes necessary for that use-case, and you can use existing open standards instead https://indieweb.org/ogp
#
swentel
aaah ok :)
#
GWG
I field tested dozens of different types of content
#
GWG
And jackjamieson sent me more
#
swentel
hehe, work is never done eh
#
swentel
how does the offline reading work for you?
#
GWG
swentel: I only did a minor test. I spent hack day enhancing my Parse This library (my xray equivalent) to support turning the WordPress rest API into a feed and importing opml
#
GWG
I have work to do to get Microsub displaying correctly for all my feeds
#
GWG
I am testing them all
#
GWG
Micro.blog isn't returning an author for some reason
#
GWG
I need to make it capable of being a daily driver for me
#
swentel
yeah, I must say I use indigenous daily
#
swentel
it really replaced my previous rss reader and all other posting apps, pretty cool
gxt joined the channel
#
GWG
swentel: I want to get there
#
GWG
It isn't just indigenous, it's Yarns
#
swentel
GWG, I might create a pull request soon for the response of yarns
#
swentel
if the timeline is empty, it returns an empty string
#
swentel
which throws a 'parse error' in indigenous
#
swentel
doesn't crash the app, but it's a bit weird
#
swentel
unless an empty response if valid of course .. I should probably look that up
ankit, swentel, NeatManatee, petermolnar, gxt, TGiske, wink, crazed, simons and [jgmac1106] joined the channel
#
[jgmac1106]
don't use the experimnetal x in a u-read-of post, there are enough people playing it isn't necessary, gRegorLove doesn't do that with indiebookclub
simons joined the channel
#
[jgmac1106]
If there are nay CSS Grid experts around I would love to know why I set audiopoem to cgrid-column 1 / 3 , but it only spans one colu,mn: https://jgregorymcverry.com/mypoetry
[Jeannie] joined the channel
#
@stevenjmesser
Think it's time to experiment with adding Webmentions to my website again.
(twitter.com/_/status/1226820758799880193)
[KevinMarks], simons and gxt joined the channel
#
[jgmac1106]
talking to inoreader dev he did say he looked into h-feed when adding support to micro.blog for inoreader but the h-feeds were so malformed he had to drop...which is true the mf2 can be quite messy in micro.blog themes, so went with json feeds instead
sivy joined the channel
#
GWG
Interesting... I wonder what we could talk them into
#
sivy
good am, folks
#
GWG
swentel: What response are you expecting?
#
sivy
wondering: those who of you who are POSSing tweets/notes, how do you handle replies? I'm POSSEing new Notes, but on't really have a way to "reply"
#
swentel
GWG, when microsub is empty? at least 'items', but it's an empty array then
#
swentel
but I actually don't know that the spec says about that
simons joined the channel
#
Zegnat
swentel I feel like the way https://indieweb.org/Microsub-spec#Paging talks about “no items” suggests an empty items object to me
#
Loqi
Zegnat: jeremycherfas left you a message 21 hours, 53 minutes ago: I like the way Pinboard unobtrusively tells me I have saved something before and asks whether I want to edit or replace.
#
Zegnat
swentel: and https://indieweb.org/Microsub-spec#Retrieve_Entries_in_a_Channel says the “response will include a property items with an array”. Not a MUST or something like that, but still feels strongly worded towards always having items as a property
#
swentel
yeah, makes the response consistent too, easier for clients imo
TGiske joined the channel
JKing, NeatManatee, simons, gxt, KartikPrabhu, [Michael_Beckwit, [LewisCowles], aaronpk, [manton], [tantek] and [snarfed] joined the channel
#
[snarfed]
jacky i think i've fixed the bridgy publish 500s you were seeing, you should get 429s now instead. feel free to leave elixir as is and see if that change helps.
#
[snarfed]
sivy re replies, are you asking about UX? most of us either use social readers like indigenous, which let you reply via micropub within their UIs, or use bookmarklets or browser extensions to open a reply authoring page on your site with in-reply-to the current page
[tantek] and aaronpk joined the channel
#
jeremycherfas
Is this a legit h-feed of a page of posts with a specific tag? I think it is, and if it is I will be well pleased. https://pin13.net/mf2/?url=https%3A%2F%2Fwww.jeremycherfas.net%2Fblog%2Ftag%3AGeneral
#
jacky
429s will work!
#
jacky
[snarfed]: ^ (I have code for that already)
dougbeal|iOS, simons, fredcy_, petermolnar and [jackjamieson] joined the channel
#
[jackjamieson]
swentel: I think you’re right that Yarns should return an empty ‘items’ array when the timeline is empty. I’ll add an issue
simons and nickodd joined the channel
#
sknebel
jeremycherfas: small things:
#
sknebel
"photo": "theme:: /images/zoot.jpg" on the author
#
sknebel
guess stray space
#
sknebel
since it's only the teaser texts, I'd use e-summary instead of e-content
#
sknebel
the author is only a child, not an author property
#
sknebel
(you could also move it to feed-level, assuming you are the only author on that site, instead of repeating it every time
#
sknebel
those should be fairly simple tweaks though, good job :)
[KevinMarks], [Katherine] and CreamyNebula joined the channel
#
[tantek]
[snarfed] good response re: Bridgy and webmentions. But that gives me an idea
#
[tantek]
would it be too bold to suggest "Bridgy Backfill" as a service that went through and gradually sent webmentions for *past* responses (obeying various limits etc.)?
#
[tantek]
could help with migration away from social media
#
[tantek]
anyway if it's even remotely interesting to you (as opposed to way out of scope 🙂 ) then I'll gladly file an issue to describe, brainstorm etc.
[snarfed] joined the channel
#
[snarfed]
not at all! maybe not the exact name, since that would confuse users as to ownership/support, but the idea, totally
#
[tantek]
totally, I'll suggest it as a placeholder and happy to accept whatever you bikeshed it to 🙂
#
[snarfed]
oh, as a feature request for bridgy, sure. substantial one though
#
[tantek]
feels like a new top level Bridgy service, that's my point
#
[tantek]
like right now we have three (right?) Bridgy Backfeed, Bridgy Publish, and Bridgy Fed
#
[tantek]
this would be a fourth I'm imagining because I can see wanting to run it then ditch social media
#
[tantek]
not everyone who is interested in the past is interested in the future nor vice versa
#
[snarfed]
four, bridgy for blogs
#
[snarfed]
(adds inbound/outbound wms)
#
[tantek]
oh wow yeah!
#
[snarfed]
#branding
#
[tantek]
love all the alliteration too
#
[tantek]
Bridgy++
#
Loqi
Bridgy has 2 karma in this channel over the last year (8 in all channels)
NeatManatee, CreamyNebula, gRegorLove and swentel joined the channel; nickodd left the channel
#
[jgmac1106]
an afternoon shout out for help if anyone can tell me how I am messing up the CSS Grid in https://jgregorymcverry.com/mypoetry the CSS starts at 1636 https://github.com/jgmac1106/homepage/blob/master/styles.css ........and how did I let my stylesheet get this big??????
KartikPrabhu and [davidmead] joined the channel
#
[davidmead]
whats messing up [jgmac1106]? Something not looking like it should?
KartikPrabhu joined the channel
#
@Pauho
I would betray each and every one of you for an early copy of Animal Crossing: New Horizons. Also posted to: * http://brid.gy (https://pauho.net/?p=210)
(twitter.com/_/status/1226979535075278848)
[manton], simons, petermolnar, [grantcodes], [Michael_Beckwit and [snarfed] joined the channel
#
[tantek]
every person-to-person email I have received from someone at Twitter (non-spam/ham/support) has been <280 chars (new tweet length).
#
[tantek]
I can't help but wonder if they have a special email client to /create tweet length emails
KartikPrabhu and geoffo joined the channel
#
wink
lol
#
@seaotta
↩️ Thanks for the feedback A.J., adding @AaronGustafson who works with me on the project and setup the voting. The site uses webmentions so if you share out on Twitter, for example, that counts as a vote.
(twitter.com/_/status/1227018667537268736)