#dev 2018-05-21

2018-05-21 UTC
eli_oat, renem, snarfed, [chrisaldrich] and [jeremycherfas] joined the channel
#
[jeremycherfas]
It seemed to me more of a no tracking thing. That if you follow a link from his site, your destination won’t know you came from there. That is how I read it.
[grantcodes] joined the channel
#
[grantcodes]
Is there any reason why micropub doesn't return the location of new posts / media as json? Trying to read headers is really killing me in this extension.
KartikPrabhu joined the channel
#
Zegnat
[grantcodes], I think the reason was so endpoint stuff is agnostic of this-years-favourite serialisation format. Authentication (access token) and success status (with location) are all using the HTTP protocol as their format.
#
Zegnat
But not sure, as some stuff definitely seems pinned to JSON anyway.
swentel joined the channel
#
Zegnat
Good morning Jeena :)
jeremycherfas joined the channel
#
jeremycherfas
Having trouble understanding why this post http://stream.jeremycherfas.net/2018/2018-05-21 is not showing up in the comments here https://microblog.phoneboy.com/2018/05/19/981/ while my earlier comment now shows up twice. Not that it really matters to me ...
#
Zegnat
Not sure how Known handles replies to replies, so can’t tell you.
#
Zegnat
I do find it interesting that your post is `in-reply-to` 4 separate URLs
#
jeremycherfas
Well, it is a comment on each of them. What should they be?
#
Zegnat
Not sure at all, and definitely not saying it is wrong, jeremycherfas!
#
jeremycherfas
Fair enough. Manual till it hurts sometimes hurts too much.
#
Zegnat
I guess I am always a little inclined to make it a reply to only the one thing that made me write it. And not also a reply to things further up the reply chain. If that makes sense?
#
Zegnat
Shouldn’t make a difference for the parsing end though
#
dgold
!tell [miklib] no-referrer is nothing to do with webmentions. It is solely so that if you follow a link on my site, the site you travel to does not know you've come from my site.
#
Loqi
Ok, I'll tell them that when I see them next
#
jeremycherfas
That's what I thought, dgold, as you explained it on your page.
#
jeremycherfas
!tell zegnat I suppose I am trying to make sure that all the various posts tie together, but maybe that isn't necessary. People can follow the links if they choose to.
#
Loqi
Ok, I'll tell them that when I see them next
#
Zegnat
There is definitely some value in your markup too jeremycherfas. I don’t see why consumers of the mf2 would have problems with it, so stick to it :D
#
Loqi
Zegnat: jeremycherfas left you a message 1 minute ago: I suppose I am trying to make sure that all the various posts tie together, but maybe that isn't necessary. People can follow the links if they choose to.
globbot joined the channel
#
@jgmac1106
Thinking about different webmention and bridgy questions people will have: * If I have the webmention plugin what happens if I add a link to a post on a blog where somebody else has webmentions? * If I have webmentions and I reply to to somone’s… https://jgregorymcverry.com/2684-2/
(twitter.com/_/status/998492236420669441)
#
@cathieleblanc
↩️ @jgmac1106 First question most people will have (even those who already have a website): what's a webmention?
(twitter.com/_/status/998495647425843205)
#
@jgmac1106
↩️ Agree. These questions are coming out of my user interviews with people who already have the webmentions plug-in installed on WordPress. Want to develop answers both succinct and correct. Just correct is okay too. (https://jgregorymcverry.com/2686-2/)
(twitter.com/_/status/998497767000543232)
[jgmac1106] joined the channel
#
@petermolnar
↩️ Webmention: one website to poke another website that an entry of mine (the first website) has your (the second website) link (URL), so the contents of the entry might be interesting to you. The rest is up to the second website - process it? Display it? Etc.
(twitter.com/_/status/998505847717318656)
jgmac1106 joined the channel
#
jgmac1106
so left terminal when trying to run a curl test on my Known site. Have no idea what this mean though: Gregs-iMac:~ jgmac1106$ curl -I https://quickthoughts.jgregorymcverry.com
#
jgmac1106
curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
[sebsel] joined the channel
#
Zegnat
Huh. It works for me
sebsel joined the channel
#
Zegnat
Oh, no, it does on an older version of curl but not on a more recent one
#
Zegnat
jgmac1106, I am not a protocol expert, but it looks to me as if your server advertises that it can do HTTP/2, but when curl tries to use it the server doesn’t respond correctly.
#
Zegnat
You can add --http1.1 to the curl command so curl doesn’t upgrade, and that seems to work
#
jgmac1106
was hoping maybe I stumbled on to why micropub doesn’t work for me
#
Zegnat
Possibly
#
Zegnat
If the micropub tools try to correctly use HTTP/2 (which I doubt, actually, as a lot of tooling fails at HTTP/2) and are not getting anything back from your server, they would immediately fail
#
Zegnat
I wonder why browsers aren’t failing at your site though, as they usually try HTTP/2
#
[jgmac1106]
just would love to solve micropub, might try another 30 day free host to see if it my shared hosting provider
eli_oat joined the channel
#
@jgmac1106
↩️ I like this definition a lot @petermolnar. Here is my try: A webmention is a protocol, or set of rules dictating how data is shared on the web, that tells your website another place on the web published something with a link back to to your site. To… https://jgregorymcverry.com/2697-2/
(twitter.com/_/status/998521730753851392)
iasai and AngeloGladding joined the channel
#
@GrowingAshley
↩️ @Andrewb2299 Microsub Headpatbug Lapdog I have WAY too many for you.
(twitter.com/_/status/998545470619312128)
#
petermolnar
^^^ this thread is _really_ not related imo.
AngeloGladding joined the channel
#
jeremycherfas
!tell dgold Your nanopub functions array_replace_keys() decode_input() and recode_input() seem to be where I would look to make nanopub play nicely with Grav's YAML; is that correct?
#
Loqi
Ok, I'll tell them that when I see them next
snarfed, Kyle-K, Ruxton, leg, sebsel and [miklb] joined the channel; Kyle-K left the channel
#
[miklb]
!tell dgold that’s my point, without a webmention, using no-referrer means I will never know you linked to something I wrote. I realize they are two different technologies.
#
Loqi
Ok, I'll tell them that when I see them next
#
dgold
ah, I see what you mean, I think
#
Loqi
dgold: jeremycherfas left you a message 1 hour, 15 minutes ago: Your nanopub functions array_replace_keys() decode_input() and recode_input() seem to be where I would look to make nanopub play nicely with Grav's YAML; is that correct?
#
Loqi
dgold: [miklb] left you a message 2 minutes ago: that’s my point, without a webmention, using no-referrer means I will never know you linked to something I wrote. I realize they are two different technologies.
[jgmac1106] joined the channel
#
dgold
but I'm not sure that the efficacy of you knowing that I wrote something about you supersedes the right of someone visiting my site to not be "tracked" on the internet
#
dgold
jeremycherfas: that's precisely where you should be looking
#
jeremycherfas
Cool. And that's where I am. Deep in the weeds.
#
dgold
[miklb]: in fact, I think that type of tracking is where I got onto this boat in the first place - if I wanted you to know I wrote about you, I'd tell you :-)
#
[miklb]
thus why you send webmentions 🙂
#
[miklb]
I mean, you could be writing something really bad about me or my writing, have a big audience, send them to my site, and without a webmention and using no-referrer I’d have to hunt to find where this was coming from. Who’s rights are being protected there?
#
dgold
the rights of the users on my site following a link
#
dgold
who I think should have the highest degree of protection
#
[miklb]
So I could in theory block all traffic coming from no-referrers then.
#
dgold
why would you do that?
#
sknebel
so you're blocking everyone who directly goes to your site?
#
sknebel
+ noreferer is very common, you can not rely on it
#
dgold
I don't see a "right" that you're protecting there, [miklb]
#
[miklb]
I’m asking questions
#
Zegnat
referrers have always been a bit weird. There is this entire gap in them to, when traveling between the HTTP and HTTPS web, I believe.
#
dgold
okay - I don't see that there's any question of a "right" to have details of where visitors are coming to your site
#
dgold
*from
#
[miklb]
I went with strict-origin-when-cross-origin based on one of the links I read yesterday.
#
dgold
whereas I do see, strongly, that there's a right to be able to folow links on the internet without your movements being tracked
#
dgold
and s-o-w-c-o is a tracking modality
#
Zegnat
There were whole no-referer-redirect-services out there. Lots of forums used those, so when you linked to something, they wouldn’t know you were coming from a (sometimes private) server. No loss to lose those pesky things for real.
#
dgold
I can see a case for same-origin, to check the efficiency of your internal links, but I don't see a privacy-case supporting sowco
#
jeremycherfas
Noob php question: the frontmatter sent by Omnibear optionally contains an array called `tags`. Grav expects an element called `tag` to be nested under an element called `taxonomy`. I have tried `$frontmatter['taxonomy'] = $frontmatter['tags'];` and various versions, and nothing seems to work. Any tips gratefully received.
#
jeremycherfas
Array_push() does not do what I want.
#
petermolnar
jeremycherfas: I need some code context to help with that
maingo and [kevinmarks] joined the channel
#
[kevinmarks]
how about $frontmatter['taxonomy']['tag'] = $frontmatter['tags'];
#
petermolnar
that sounds about right
#
jeremycherfas
Thaks petermolnar I have nearly solved it with `$frontmatter['taxonomy'][] = $frontmatter['tags'];`
#
jeremycherfas
Just need to fiddle a bit more.I think that may be it, kevinmarks
#
[kevinmarks]
that would do what you said, give you tag nested under taxonomy.
#
[kevinmarks]
though whether it wants an array or string you'll have to check
#
jeremycherfas
Yup, that did it. Thanks very much. I got some of the way there. It'll take an array or a string, so I'm good.
#
jeremycherfas
And fortunately, probably, I have run out of time for further testing. But this is a good time to break.
#
petermolnar
btw, a tip: dict (associative array) for tags, like $x['tagname'] = 1; array_keys() for the actual values => deduplication built in an very, very fast lookup for existing values
#
[kevinmarks]
though you usually don't have enough tags for that to br a problem, unless you're an instagram influencer
#
@andrewsreading
@Reading "The Indieweb privacy challenge (Webmentions, silo backfeeds, and the GDPR) // Sebastian Greger" http://ing.am/p/4YYe
(twitter.com/_/status/998588894697476096)
#
petermolnar
[kevinmarks]: or if you're on linux/unix... say Landscape != landscape :)
snarfed joined the channel
#
@kevinmarks
↩️ @sharkespearean @DrAndrewThaler we're talking about how to revive that experience in #indieweb land https://indieweb.org/Microsub
(twitter.com/_/status/998600222690500608)
#
[jgmac1106]
I am marking up my course template. Would you give the course header an h-card as if it had identity or an h-entry?
[wiobyrne] joined the channel
#
Zegnat
I would only give persons (natural and legal) an h-card. So I wouldn’t use one for a course.
#
Zegnat
The course may be created by a natural (you) or legal (the university) person, who could be marked up with an h-card. But the course itself is just one of possibly many courses by this person, and I feel like that makes sense as an h-entry.
#
Zegnat
Feel free to question and/or challenge me on that though. Not like it is set in stone. But that’s how I use h-cards.
#
aaronparecki.com
edited /Microsub (+53) "/* Servers */"
(view diff)
#
[jgmac1106]
that makes sense, I will revise, its the syllabi that get real messy each week an h-event with due dates and with the correct markup for each APA citation
#
snarfed
fwiw, there's plenty of h-card usage for non-persons, eg organizations and locations
[kevinmarks] joined the channel
#
[kevinmarks]
A course is a collection of events? So the header could be an h-feed header
#
Zegnat
organisations would be legal persons in my example, snarfed. Locations was definitely not covered by my [natural|legal] persons example though. Good catch. I am not sure I have ever used that myself.
#
snarfed
i expect http://indiewebcat.com/ also has an h-card :P
#
Loqi
Dora
KartikPrabhu joined the channel
#
Zegnat
Darn, clearly I need to revise my guideline, haha
#
Zegnat
I still think courses aren’t h-cards though :P
#
snarfed
we probably don't need a strict definition of what can or can't have an h-card
#
snarfed
reasonablehumanjudgmentexperimentationanddiversity++
#
Loqi
reasonablehumanjudgmentexperimentationanddiversity has 1 karma
snarfed, sebsel and KartikPrabhu joined the channel
#
sebsel
So, in Microsub, you can read entries from channels, remove them and mark them as read, but you can't add them.
#
sebsel
I know Aperture does this with a sort of Micropub-endpoint, but that's not part of this spec.
#
sebsel
My use case: in my experimental reader I had the function to mark things as 'read later'. That way, I could just scroll through my channels / feeds, and let the reader mark everything as read, but still let me get back to the things I found interesting.
#
sebsel
Another way to go would be if there's an option to get all unread items from a channel, but that's not a nice flow if you're marking as read automatically, like Together does.
swentel and [jgmac1106] joined the channel
#
[jgmac1106]
@zegnat well eventually I want an h-course or h-learning....but again I need a user total >1 for that to have any value
snarfed, swentel, [kevinmarks], renem and [grantcodes] joined the channel
#
[grantcodes]
[sebsel] auto marked read is an option in together 🙂
eli_oat, snarfed, KartikPrabhu and [Sherab] joined the channel
#
peterstuifzand.nl
edited /Microsub (-1) "/* Servers */"
(view diff)
#
pstuifzand
There is a use case for keeping stuff unread, but as of yet it's not supported by the protocol.
#
pstuifzand
I added two ways to add items to channels, (1) adding items from the outside using a micropub like protocol, and (2) adding items from the inside, metions, for example: items that match a certain regex.
#
sknebel
keeping it unread is (just don't mark it), un-marking it isn't
#
pstuifzand
Monocle marks items as read automatically
#
sknebel
yeah, but that's unrelated to the protocol
#
pstuifzand
the microsub server could keep a channel unread by default
#
pstuifzand
or the client could not mark items as read
#
pstuifzand
it's useful to make this possible
#
pstuifzand
there is quite a bit of freedom to make this work
#
pstuifzand
my server removes all read items from the channel
#
pstuifzand
and the first items in the channel is the first items you see
#
pstuifzand
but it could be made so that you can move back in the channel to see the previously read items
[sebsel] joined the channel
#
[sebsel]
[grantcodes] I saw that! But I actually really like that functionality and want to keep it like that. I just want some sort of mechanism to keep a ‘read later’-list, which is not really supported at the moment :)
[kevinmarks] joined the channel
#
[kevinmarks]
My podcast player has a listened to list, which is handy
#
sknebel
[sebsel]: well, you could create "want to read" posts on your site and subscribe to that feed ;)
tantek joined the channel
#
sknebel
(I'll have to figure something in that regard out too. my current reader allows to like/star posts, I'm not sure I want to convert those to full posts on my site
#
KartikPrabhu
what is fragmention?
#
Loqi
A fragmention is an extension to URL syntax that links and cites a phrase within a document by using a URL fragment consisting of the phrase itself, including whitespace https://indieweb.org/fragmention
tantek, AngeloGladding and snarfed joined the channel
#
tantek.com
edited /next-hwc (+0) "next"
(view diff)
#
tantek.com
edited /MediaWiki:Sidebar (+0) "next hwc"
(view diff)
iasai and KartikPrabhu joined the channel
#
[sebsel]
Yeah maybe it’s more a separate service, bookmarking and reading things later. But it feels related to the Reader to me, and I would like to integrate it anyway
#
sknebel
yeah, certainly related. question is if it makes sense to go through your main micropub endpoint through that (which seems to be the current direction) or if another path makes more sense
tantek_ and iasai joined the channel
#
tantek.com
created /⛰️ (+18) "summit!"
(view diff)
snarfed and khurtwilliams joined the channel
#
snarfed
hey jmac it looks like you're refetching all of your bridgy webmentions right now? intentional?
#
jmac
uhhhh
#
jmac
let's say no
#
snarfed
many thousands so far 😂
#
jmac
I think I know what's going on though, and I bet I have done it a bunch earlier and you didn't happen to notice. :) Known Issue, will fix
#
jmac
whoa, what
#
snarfed
totally fine, just figured you might want to know
#
jmac
Thanks. I expect it's stopped now, just a few bursts earlier.
#
jmac
I didn't think of the fact that this bug leans hard on poor Bridgy every time it's triggered, but of course it does. OK! Back to work.
#
tantek
snarfed, pardon the non-dev interruption, are you going to 2018-06-13 dweb meetup at IA?
#
snarfed
tantek: no
#
snarfed
i'll probably go to the actual big dweb event; this is a smaller thing
#
snarfed
(afaik)
#
jmac
is fixing every GDPR problem in the world this week for clients and might not be able to fix his indieweb stuff very quickly
#
tantek
snarfed, I'm guessing this smaller thing is a way to get your demo reviewed and likely invited to speak at the actual big dweb event
#
tantek
snarfed, perhaps consider giving a small talk on IndieMap and Bridgy analysis and stats as one view of the distributed web?
#
snarfed
hmm, maybe!
snarfed joined the channel
#
tantek.com
edited /blockchain (+3089) "cluster see alsos into new subsections of a Criticism section, new descriptions section, add GDPR conflict"
(view diff)
[kevinmarks] joined the channel
#
Loqi
[Charlie Stross] GDPR compliance notice By Charlie Stross
#
tantek.com
edited /GDPR (+66) "see also violates GDPR"
(view diff)
snarfed joined the channel
tantek_ joined the channel
#
Loqi
ok, I added "https://www.theguardian.com/technology/2018/may/21/gdpr-emails-mostly-unnecessary-and-in-some-cases-illegal-say-experts" to the "See Also" section of /GDPR https://indieweb.org/wiki/index.php?diff=47873&oldid=47872
#
tantek
I know right?
#
KartikPrabhu
this whole thing is so weird. there seems to be no agreement on what to do
#
tantek
sounds like good business for lawers and consultants
#
KartikPrabhu
and head aches for others
snarfed and [jgmac1106] joined the channel
#
tantek.com
edited /blockchain (+1391) "/* Overhyped */ good Forbes article with analysis and examples"
(view diff)
#
[kevinmarks]
The law has been written based on principles, with the expectation of case law making it more concrete
#
tantek.com
edited /blockchain (+1549) "/* Violates GDPR */ and HIPAA too apparently for medical applications"
(view diff)
#
tantek.com
edited /blockchain (+835) "/* Violates GDPR */ PICOPS killed due to GDPR"
(view diff)
#
tantek.com
edited /blockchain (+70) "/* Violates GDPR */ since actual instance of blockchain death by GDPR, changing heading to be more explicit"
(view diff)
#
tantek.com
edited /blockchain (-1) "/* Killed and being killed by GDPR */ or"
(view diff)
#
tantek.com
edited /blockchain (+784) "/* Killed or being killed by GDPR */ Can blockchain’s immutability survive GDPR’s right to be forgotten?"
(view diff)
#
tantek.com
edited /blockchain (+520) "/* Killed or being killed by GDPR */ wow this just happened today (actual blockchain death by GDPR)"
(view diff)
#
tantek.com
edited /blockchain (+362) "/* Killed or being killed by GDPR */ better source of PICOPS death with direct links to more citations"
(view diff)
AngeloGladding joined the channel
#
tantek.com
edited /blockchain (+299) "/* Killed or being killed by GDPR */"
(view diff)
#
tantek.com
edited /blockchain (+4) "/* Killed or being killed by GDPR */ linky"
(view diff)
#
tantek.com
edited /content_management_system (+15) "relevant tweet"
(view diff)
eli_oat joined the channel
#
tantek.com
edited /own_your_data (-69) "emojicon"
(view diff)
#
tantek.com
edited /own_your_data (-1) "move TOC down"
(view diff)