#dev 2018-05-27

2018-05-27 UTC
#
aaronpk
the version of this that could work as an API would be where I could add it as an alternate destination in my site configuration, so that monocle would see it as an alternative account and all the normal micropub tools would work with it
#
[cleverdevil]
If I were to build it, I'd make it a Micropub-like API endpoint, but you'd pass along additional properties for scheduling
#
[cleverdevil]
You'd just pass an endpoint and a datetime to publish.
#
aaronpk
and an access token
#
[cleverdevil]
I'd just accept whatever token you passed in for the original request.
#
aaronpk
oh yeah just use that
#
[cleverdevil]
Capture the Bearer token, and cache it.
#
[cleverdevil]
It would just be a little Lambda.
#
aaronpk
have you seen how the micropub destination thing works?
#
Loqi
[aaronpk] #3 mp-destination command should use `destination` in the config
#
[cleverdevil]
Cool, I'll take a look. Hopefully I'll have some time to tinker around on it this weekend.
#
[cleverdevil]
GWG: hope you're enjoying!
#
aaronpk
so on my end, I would add the proxy as one of the destinations that my micropub endpoint returns, then it would show up as another account in monocle https://media.aaronpk.com/Screen-Shot-2018-05-26-17-03-18-524a6fC5Iy.jpg
#
[cleverdevil]
Its been super fun to have clevercast.
#
GWG
I am looking at feeds
#
aaronpk
I guess I could also add scheduling to quill pretty easily
#
aaronpk
not as cool tho
#
tantek.com
edited /videos_about_the_indieweb (+35) "fix date (per https://twitter.com/adactio/status/963868381215674368) for adactio talk, building blocks"
(view diff)
tantek_ and [grantcodes] joined the channel
#
[grantcodes]
Re: scheduling. I actually support it on my site. The client just needs to send a published date in the future
#
[grantcodes]
(which almost no client does)
#
[grantcodes]
All it really does is intercept the request and check for the published date. If it's in the future it will cancel the request and send it at the published time
#
tantek.com
edited /Planning (+109) "/* Berlin */ interested in participating, looking into venue"
(view diff)
#
tantek.com
edited /Facebook (+10) "/* How to wean yourself from */ sublist"
(view diff)
#
tantek.com
edited /Facebook (+0) "/* How to wean yourself from */ 4+ months not checking notifications! (I know, kinda nuts)"
(view diff)
#
tantek.com
edited /Facebook (+7) "clarify was only off the site for a week, and somehow that helped spur not checking notifications since"
(view diff)
eli_oat, [miklb], tantek, renem and tantek_ joined the channel
#
tantek_
wonders if aaronpk supports receiving and displaying reacji
#
tantek_
decides to find out empirically
eli_oat joined the channel
#
tantek_
Hmm I need to update https://indieweb.org/Twitter#original_lacks_POSSE_tweet for reacji in reply to posts without tweet equivalents
[Natris1979], tantek, leg and snarfed joined the channel
#
dansup
what is reacji?
#
Loqi
reacji is an emoji reaction, the use of a single emoji character in response to a post, introduced as a feature by Slack[1] https://indieweb.org/reacji
#
dansup
what is federated emoji
#
Loqi
It looks like we don't have a page for "federated emoji" yet. Would you like to create it? (Or just say "federated emoji is ____", a sentence describing the term)
#
dansup
federated emoji is a means to represent a custom set of emoji as defined by the ActivityPub protocol.
#
loqi.me
created /federated_emoji (+128) "prompted by dansup and dfn added by dansup"
(view diff)
#
dansup
I can update that article later!
#
dansup
thanks Loqi
#
Loqi
you're welcome, dansup
#
snarfed
interesting. something seems broken somewhere deep in the internet. DNS is flaky or down for a swath of nameservers and TLDs, but only some, and only between some ASes. can't resolve many hostnames from my home or pair.com, but can from AWS and stanford. nameservers on gandi.net, among others.
#
snarfed
here are bridgy external monitoring probes. looks like one fiber cut or network partition or around 9:25pm, then another just after 9:45. https://snarfed.org/outage.png
#
snarfed
aha. ddos in europe, gandi one of the primary targets. https://twitter.com/search?f=tweets&vertical=default&q=gandi+ddos
[jeremycherfas] joined the channel
#
[jeremycherfas]
That was the point of asking him to document. I can’t actually read the image on my phone and will reply when I can.
#
Loqi
[jeremycherfas]: aaronpk left you a message 10 hours, 59 minutes ago: that sounds like a change in Known, probably worth asking about any recent changes to photo posts or the micropub integration
AngeloGladding, barpthewire, KartikPrabhu and jeremycherfas joined the channel
#
jeremycherfas
Yeah. I'll do that.
davy__, iasai and [jgmac1106] joined the channel
#
Zegnat
[jgmac1106], just saw your post. Is there any reason you will be writing documentation for the adding of mf2, rather than sending a PR to the theme? (Or maybe you are doing both?)
eli_oat joined the channel
#
[jgmac1106]
@zegnat, both, almost all chnages could be done in customizer and custom menus, but you need to add rel="me" in theme editor
#
[jgmac1106]
You also have to add the CSS Classes (optional) Link Relationship (XFN) in screen options so people can add =u-url and rel=me to links, so people will need instruction but will be README.md update
#
[jgmac1106]
I am just beginning to think that instead of trying to build and maintain a plug-in palace we should raise forking armies to invade other WordPress nations, maybe more stable that way...but that is just a thought now
barpthewire joined the channel
#
sknebel
I mean, the majority of the plugins does things outside the themes
#
GWG
aaronpk: For indielogin, is it the same token endpoint?
tantek, jeremycherfas, snarfed and calumryan joined the channel
#
aaronpk
There is no token endpoint since it's not IndieAuth
#
GWG
aaronpk: Good point. And how do I get client_ids whitelisted then?
#
aaronpk
I'm eventually going to make a registration form, but it's hard coded in the config file for now.
#
aaronpk
What are you trying to do?
#
tantek
!tell dansup is there a link describing more about federated emoji, especially a connection to the indieweb? otherwise it looks like a made-up concept though a little web search I found this: https://quitter.es/notice/5092976
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[⑨ laín ⑨] A kind (of) writer
#
Loqi
[akihikodaki] #5107 Custom emoji for long-run
#
aaronpk
I heard mastodon just launched the ability for custom emoji to work across instances
#
tantek
I'm kinda curious how that solved that particular distributed "naming" problem since anyone can make-up :catmoji: and make it look like a dog for example
#
aaronpk
It's a one-way relationship tho
#
aaronpk
so really more like allowing <img> tags with small images in posts
#
sknebel
weren't there long discussions in w3c #social about those last year too?
#
snarfed
tackling the hard problems!
#
GWG
aaronpk: You suggested I add it to the IndieAuth plugin. I may have misunderstood
#
tantek
snarfed lol
#
tantek
I suppose :textwithoutspace: is now microsyntax for "replace with appropriate image if any" ?
#
tantek
might as well add it to /Markdown, you know if Markdown was actually evolved according to real world plain text behaviors like it claims to be :)
#
tantek
I'll wait til dansup returns to explain what is actually "federated" about it vs. just declaring :something: to be an explicitly supported microsyntax
iasai joined the channel
#
loqi.me
created /tracking_protection (+25) "prompted by tantek and redirect added by tantek"
(view diff)
#
aaronpk
GWG: I was likely talking about using it for the use case of signing in to WordPress without a password, but not til I open it up for signups
calumryan joined the channel
#
tantek.com
edited /Do_Not_Track (+777) "Articles, note Firefox Private Browsing blocks sites that fail to obey Do Not Track (cite, quote)"
(view diff)
snarfed joined the channel
#
aaronpk
I don't understand how these spam pingbacks keep getting through
#
aaronpk
ironically I was just reading jeremycherfas' reply to phoneboy's post about "webmention spam" (it's probably not webmention spam), and then the next post in my reader was spam too
#
GWG
aaronpk: That reply was what made me wonder if I should do a pingback/trackback project
#
aaronpk
what sort of project?
#
Zegnat
Federated Emoji sounds a little like how I am see Twitch emotes pop up everywhere, including within my Discord chats.
#
tantek
aaronpk where are you seeing these spam pingbacks?
#
GWG
aaronpk: Three WP versions ago, I convinced them to add a hook to take complete control of trackbacks. There was already a way to take over pingback processing. I wanted to write a single file handler that did both
#
aaronpk
tantek: they get sent to the wiki (to webmention.io), and then they show up in monocle because I have a thing that sends them there from webmention.io
#
GWG
Basically, since WordPress doesn't care about fixing that code because it isn't Gutenberg branded, just write a plugin to do it
#
jeremycherfas
!tell aaronpk I deeply resent that "too". 😂
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
did you hear back from him about that yet?
#
aaronpk
I see "comments are closed" on that post, so not sure if your reply got through
#
tantek
lol jeremycherfas
#
jeremycherfas
Well, he posted that screenshot, which made it clear to me that he doesn't actually know the difference between "ordinary" comments and webmentions, as I pointed out. Also showed him the column in Comments on WP that shows what kind of comment it is. No response yet, but others seem to have been happy with my posts.
#
jeremycherfas
He's in Seattle area, and has been travelling for a few days, so may not be up yet.
#
jeremycherfas
I OSSEd to m.b too, so no excuse to ignore it, really.
#
sknebel
Zegnat: yeah, I think Twitch & in extension gaming communities play a large role in the current popularity of custom emoji (although they were a thing in the forums of old too, both from external sources and forum-specific ones, although not called Emoji back then)
#
Zegnat
Not to forget, MSN had it too
tantek joined the channel
#
sknebel
k, never used it
leg joined the channel
#
Zegnat
I love it when I can find a tutorial from 2003 for this :P
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[PhoneBoy] @jeremycherfas I hadn’t enabled Akismet because they wanted more money than I currently pay to host my Wordpress site. Now that I see you can name a price of zero, I'm in.
#
jeremycherfas
I didn't expect much more, to be honest.
snarfed, davidmead, tantek and [miklb] joined the channel
#
dgold
don;t be so downheartened, jeremycherfas, I'm sure he'll find something else in #indieweb ecosystem to insult and traduce next week.
#
jeremycherfas
You've perked me up no end. Thank you.
#
tantek
wow what happened?
#
aaronpk
phoneboy thinks he's been getting webmention spam
#
jeremycherfas
No biggie. Just a little thing of no consequence.
#
jeremycherfas
See my post here about an hour ago.
#
@PhoneBoy
These are the kinds of "comments" I am getting as webmentions @jeremycherfas. By settings, I mean "what settings will block these comments but allow the good ones." May have to take a whitelist approach. https://microblog.phoneboy.com/2018/05/26/1247/ https://pbs.twimg.com/media/DeJPsOgUQAAEBtv.jpg
(twitter.com/_/status/1000449690163339264)
#
@EatPodcast
↩️ As you cross posted here, I feel duty bound to link to my original reply to you. https://stream.jeremycherfas.net/2018/2018-05-27 Just in case anyone comes searching for "webmention spam" and finds your mistaken tweet.
(twitter.com/_/status/1000788746009284610)
tantek, [jgmac1106], KartikPrabhu, AngeloGladding and Ian joined the channel
#
KartikPrabhu
!tell [snarfed]: let me know you thoughts on this https://github.com/microformats/mf2py/issues/83#issuecomment-391893020 else I have a new PR for mf2py
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[kartikprabhu] Should implied photo also have the `alt` value? cc: @snarfed Example: ```html <article class="h-entry"> <span class="p-name">name</span> <img src="/photo.jpg" alt="alt" /> </article> ```
#
tantek
I'm kinda thinking it should
#
tantek
I should comment on that
#
KartikPrabhu
go for it
#
KartikPrabhu
I only pinged snarfed because he had a bridgy use-case
#
tantek
did we already agree on handling "alt" in general on images?
#
tantek
I thought there was a separate issue on that
#
Loqi
agreed.
#
tantek
for microformats2 parsing
#
KartikPrabhu
I used snarfed's proposal in that issue
#
KartikPrabhu
under an experimental flag
#
tantek
where is the microformats2-parsing issue?
#
Loqi
[kartikprabhu] #56 include img alt text in photo property
#
tantek
uh why do these have the same issue name?
#
Loqi
[snarfed] #83 include img alt text in photo property
#
KartikPrabhu
well because snarfed told me not make duplicate issues :P
#
KartikPrabhu
the main repo has a pretty disorganised issue list for me to work on
#
tantek
there should be a mf2 parsing issue before you start prototyping something!
#
tantek
and then all the prototype / specific parser implementation issues should link to the mf2-parser issue that they're prototyping
#
KartikPrabhu
well no one who had a use-case did this so <ahrug>
#
Loqi
[aaronpk] #2 image alt text is lost during parsing
#
tantek
use-cases in there
#
KartikPrabhu
ok then I implemented the proposal I made towards the end :P
#
KartikPrabhu
which is not in implied parsing
#
Loqi
[kartikprabhu] @tantek Consider the following example ``` html <div class="h-entry"> <p class="p-name e-content"><span>Hello World</span></p> <img class="u-photo" src="globe.gif" alt="spinning globe animation"> </div> ``` which under the new rules would give ...
#
KartikPrabhu
no that is explicit u-photo
#
KartikPrabhu
no implied photo
#
tantek
oh right
#
tantek
ok I had not seen the discussion on that issue since this year
#
jmac
Regarding https://indieweb.org/Webmention-developer#How_to_implement_sending: Am I reading correctly that "link", here, means specifically a hyperlink (usually an href of an <a> tag) and not, say, a URL hanging out in the readable text of the page for whatever reason?
#
KartikPrabhu
jmac: yes
#
jmac
I guess what I'm really asking is: Is there an algorithm for "fetch a list of all the links of an outgoing post", or is it just "hoover up all the hrefs an you're done"
#
Zegnat
jmac, there isn’t a fixed algorithm. https://github.com/Zegnat/php-linkextractor was my go at it
#
Loqi
[Zegnat] php-linkextractor: Class for finding all resources an HTML document links to.
#
jmac
Oh, I hadn't thought to see if there's a library for this
#
Zegnat
Imperfect lib. I need to get back to it at some point. Might get you started though :)
#
Zegnat
PRs are welcome, if you don’t do PHP, make it issues instead.
#
KartikPrabhu
jmac: "collect all the href" sounds fine
#
Zegnat
That will cover most obvious (and understood) cases, for sure
#
jmac
I'm working from Perl for this project, and I have an HTML parser that makes rudely pulling out all the hrefs trivial, so I'll start there.
#
jmac
Confidental to Zegnat: I spent much of this morning hitting my project with a UTF-8 wrench until it rendered all the letters of your name (from a webmention you sent three weeks ago) correctly.
#
jmac
So thanks for that.
#
dgold
you needed utf8 for martijnvdeV?
#
Zegnat
Did I send something weird? Wouldn’t be the first time, of course.
#
jmac
That ij glyph turns into some primo mojibake if you don't care about proper text encoding
#
Zegnat
Oh, hahahahaha
#
Loqi
awesome
#
jmac
By "you" I mean "me"
#
Zegnat
Where did I use that? :P
#
jmac
In your first name?
#
Zegnat
Yes, but not in my h-card on vanderven.se, I think
#
Zegnat
So I am trying to recall the source you were parsing
#
jmac
Oh, huh. Well, lemme look
#
Zegnat
I do sometimes slip that in, when I am feeling adventurous. I also use that glyph on Facebook, to the annoyance of all my friends who see me disappear from search results after hitting `i` on their keyboards
#
Zegnat
dgold, you need utf8 when martijn is a 6-letter name
#
jmac
Mighta been via Twitter+Bridgy?
#
jmac
Either way, I am unironically thankful for the challenge; my software is better now
#
Zegnat
Ah, yes, I think I use it on Twitter :)
#
Zegnat
I am always happy to break other people’s projects, haha.
#
Zegnat
jmac++ for rendering my name
#
Loqi
jmac has 4 karma in this channel (11 overall)
#
dgold
oh, that means my site is properly utf8 then
#
jmac
There were any number of Kürts and Thomáses and so on it was also getting wrong, I just happened to grab a webmention from you for my workbench
#
dgold
because I has the ij properly rendered from your tweet at mullvadnet
#
Zegnat
Yep, must mean you have it right then, dgold
#
Zegnat
is now brooding to send jmac a webmention from licit.li just to see if that’ll open up a new rabbit hole
#
dgold
Where do you know Thomáses from jmac
#
jmac
I confess I was just using that name as a placeholder. I see there actually is a Khürt among my recent received webmentions, so sorry if that's you and I spelled it wrong just now :-)
#
jmac
It seems more true now than ever that one knows that one's software has started working with real-world data when it suddenly starts throwing character-encoding errors every which way. (This may be more true for lazy and insulated American hackers like me though.)
#
dgold
ah, ok
#
dgold
just that irish-language Tomás doesn't take an aitch
#
dgold
or seimhú to give it the correct nomenclature
#
jmac
Well, when the Irish start sending me mentions, I'll be ready
#
dgold
dearly wishes the irish hadn't abandoned their traditional orthography
#
dgold
ḃ ċ ḋ ḟ ġ ṁ ṗ ṡ ṫ
#
dgold
all just became bh ch dh fh gh mh ph sh th
KartikPrabhu and [Vanessa] joined the channel
#
GWG
I missed Irish talk?
#
Zegnat
We moved language talk to #indieweb-chat
[miklb] joined the channel
#
GWG
Can someone tell me if Quill is working for them today?
#
KartikPrabhu
i can sign in
#
[miklb]
publishing is the question
#
Zegnat
I think Quill has worked with https://sink.zegnat.net/ if you want to test that, GWG
#
Zegnat
Just passed 00:00 here and I am heading for bed, so can’t try myself right now
#
GWG
Same results
#
GWG
I think Quill is broken
#
[miklb]
aaronpk++ for micropub.rocks
#
Loqi
aaronpk has 145 karma in this channel (1638 overall)
#
aaronpk
GWG you can always try quill with micropub.rocks
#
GWG
aaronpk: I will. But I'm not getting an email login
#
GWG
I just asked for one
#
aaronpk
checks logs
#
GWG
There it is
#
GWG
Just showed up. Odd delay
#
aaronpk
yea sometimes it takes a while
#
[miklb]
aaronpk check #wordpress if you haven’t
#
GWG
But the link is expired
#
aaronpk
oh dear
#
[miklb]
I was able to pass 100 with Quill & micropub.rocks
#
GWG
I tried with my site and Zegnat's sink site
#
GWG
It is letting me in now
#
aaronpk
the link should work for 30 minutes
#
aaronpk
quill sends the access token in both the header and the form body for most of the posts btw
#
GWG
Quill just failed with the Micropub.rocks test for me
#
aaronpk
which one?
#
GWG
Just the basic post test
#
GWG
It just refreshes the note editor
#
GWG
Same as with my site.
#
GWG
Nothing in my site logs showing a request
#
aaronpk
can you try a hard refresh of quill? maybe you have old JS
#
aaronpk
everything works fine for me
#
aaronpk
just tried with micropub.rocks
#
GWG
Odd
#
[miklb]
is there a way to do a hard refresh in iOS Safari?
[tantek] joined the channel
#
[tantek]
Hold down the refresh icon I think
#
[miklb]
tried that, asks to request desktop version
#
[miklb]
though it seems to have worked
#
[miklb]
Quill in iOS isn’t loading my syndictate-to targets, in Safari/FF they load.
KartikPrabhu and tantek_ joined the channel
#
dansup
tantek_: I saw your message, what were you referring to?
#
Loqi
dansup: tantek left you a message 9 hours, 1 minute ago: is there a link describing more about federated emoji, especially a connection to the indieweb? otherwise it looks like a made-up concept though a little web search I found this: https://quitter.es/notice/5092976
#
tantek_
dansup the new federated emoji page - was wondering if it's anything more than custom emoji which appears to be more about a microsyntax than any kind of federation protocol