#dev 2017-05-24

2017-05-24 UTC
KevinMarks_ and [chrisaldrich] joined the channel
#
strugee.net
edited /User:Strugee.net (+154) "Note that Stratic generates mf2 markup"
(view diff)
#
aaronpk
just had a moment of realization, and took less than an hour to implement a fix that has been bugging me for at least a year
#
aaronpk
i now cache a hash of the file contents in the database, and when viewing a post, if the hash has changed, i rebuild the DB index
#
aaronpk
this saves me the step of going in and running the "rebuild index" command when I hand-edit files
#
KartikPrabhu
nice idea aaronpk
#
KartikPrabhu
aaronpk: by file contents you mean the entire file right; not the "content" in the post sense
#
aaronpk
before any parsing is done
#
aaronpk
and since i have to load each file from disk to display the post, i get a chance to check the hash every time a post is rendered
[cleverdevil], leg, tantek, cweiske, KartikPrabhu, [tamaracks], loicm, barpthewire, sebsel and [kevinmarks] joined the channel
#
[kevinmarks]
Does this mean that you can use the hash as an etag?
sebsel joined the channel
#
calumryan.com
edited /events/2017-05-31-homebrew-website-club (+396) "/* UK */ Adding London (new layout)"
(view diff)
#
calumryan.com
edited /events/2017-05-31-homebrew-website-club (-137) "/* London */ Remove redundant RSVP section"
(view diff)
jeremycherfas, loicm and [jemostrom] joined the channel
#
@WendyandCharles
ReadersGazette: BLOG Indie Author Answers by Jim Heskett http://www.thejugglingauthor.com/indieauth/ Get help writing your book #bookbloggers 89
(twitter.com/_/status/867010584113545216)
KevinMarks, KevinMarks_ and singpolyma joined the channel
#
aaronpk
for those of you who support salmentions, do you do any sort of rate limiting / throttling of how often you send webmentions when your post is updated?
singpolyma and KevinMarks_ joined the channel
#
voxpelli
aaronpk: not yet I think, that's one of the reasons I haven't launched my salmention support yet. That + proper diffing/sanity checks of downstream salmentions before forwarding them
#
aaronpk
i just saw my site send a whole bunch of webmentions after receiving a new comment on a blog post, and i'm a little concerned about how much traffic that generates when two responses come in in a row
#
sknebel
aaronpk I guess your checkins also spam those you mention in them quite a bit? creation and then ownyourswarm adding data, coins, ... bit-by-bit?
#
aaronpk
ooh yeah totally
#
sknebel
(ask sebsel, afaik he gets an e-mail for each webmention he receives)
#
aaronpk
luckily there aren't many links in my checkins, but yeah it sends webmentions when i tag people in checkins
#
voxpelli
I have a general throttling / rate limiting per domain, but that one is pretty permissive, like one or maybe even a couple of requests per minute
#
voxpelli
and I'm not sure whether I even dedupe Salmentions that are throttled or whether I still send the same amount of pings, just with some delays between them
KevinMarks joined the channel
#
aaronparecki.com
edited /Micropub (+5) "link to w3c url"
(view diff)
[sebsel] joined the channel
#
[sebsel]
yep, I got a lot of mentions last week :)
#
[sebsel]
And I still have less e-mails than mentions on my site, so somewhere on the line an e-mailprovider is not happy with it
#
[sebsel]
I kind of want to make a notification centre for them, like facebooks world-icon-with-counter.
#
aaronpk
maybe time to build a /mentions page so you can see them on your site without relying on email
#
[sebsel]
yeah, exactly that!
#
aaronpk
i really need to do that too
jeremycherfas joined the channel
#
Zegnat
I am working on a /mentions page now that I am working on receiving private webmentions. Going to be my main /next-hwc goal
#
[sebsel]
Sounds good Zegnat! I’m taking a break this week, but might be starting on something similar next week.
#
@aaronpk
@dropshareformac Micropub is a @w3c Recommendation now! I'd love to use Dropshare as a Media Endpoint https://www.w3.org/TR/micropub/#media-endpoint
(twitter.com/_/status/867396120737071104)
#
aaronpk
Oh yay new twitter search term added
#
Loqi
giggles
#
aaronpk
cant use just "Micropub" as a search term but "w3c micropub" works
#
sknebel
I'm currently trying to get notifications to irc to work
#
aaronpk
Using tiktokbot?
#
aaronpk
Sweet. Should be pretty straightforward I hope
#
sknebel
but for some reason it won't talk to my local irc server, and I have no idea why
#
sknebel
(and the topic of "why does all IRC server software assume you've done this since the 90s and know all the black magic involved anyways" is also still open :P but for only local, single user usage I can live with very limited configuration for now)
#
aaronpk
oh gosh yes that's a good summary of the irc situation
#
aaronpk
fwiw I run ngircd both locally and as my private irc server on Linode. It's pretty easy to configure
#
sknebel
D'oh, server != host in config. works now :P
KevinMarks joined the channel
#
sknebel
I've just set up a basic server config for now and firewalled it off from everything, as long as I don't want to allow other users on it that is fine
#
sknebel
ideally I'd like something where I can easily require SASL-Auth against some external auth source and be sure everyone else can't do anything, haven't found anything that was obvious enough to configure for that
#
aaronpk
yeah i just use a server password :P
#
vanderven.se martijn
edited /events/2017-05-31-homebrew-website-club () "(-4015) Move to the new layout. RSVPs within event blocks."
(view diff)
#
Zegnat
Alright, I hope I didn’t make any mistakes there ^^^
#
Zegnat
Copied 05-17 as much as possible, and moved the information over. Remove Gothenburg event as that might just be replaced by Virtual EU.
#
schmarty
Zegnat: a quick spot check looks okay!
#
schmarty
might want to move the virtual EU event up to put it in line with the timezone ordering?
#
Zegnat
I am not sure what to do there. If someone wants to do a virtual US it might be better to have those two grouped under 1 virtual heading, was my reasoning.
#
schmarty
Zegnat: that also seems totally reasonable
tantek joined the channel
#
@aaronpk
@ummjackson You can use the https://micro.blog/ iOS app to post to your own Micropub website, and the site also sends Webmentions!
(twitter.com/_/status/867406858805420032)
cweiske joined the channel
#
aaronpk
sure would be nice if chrome told you *why* it thought a page was insecure
#
aaronpk
i think chrome is caching my https cert :/
#
cweiske
keep-alive?
#
aaronpk
ooh maybe
#
aaronpk
a new incognito window gets the new cert
#
aaronpk
no idea how to tell it to hang up tho
#
cweiske
send a Connection:Close from your server
#
cweiske.de
edited /Tiny_Tiny_RSS (+74) "/* Features */ link micropub plugin"
(view diff)
#
aaronpk
oh yeah huh
#
cweiske.de
edited /Micropub/Clients (+188) "add tt-rss-micropub"
(view diff)
#
aaronpk
something is forcing it to return connection: keep-alive
#
cweiske
the client if forcing the server? really?
#
tantek
hmm, sounds like an interesting server admin problem
#
tantek
what is keep-alive?
#
Loqi
It looks like we don't have a page for "keep-alive" yet. Would you like to create it?
#
aaronpk
i think something about the nginx server isn't letting my php code send the connection header
#
cweiske.de
edited /feed_reader (+104) "link news_indieweb"
(view diff)
#
aaronpk
i give up
#
aaronpk
now i see "Connection: close" for a curl request, but it doesn't show up as a response header in chrome
#
aaronpk
at some point this will time out so whatever
jeremycherfas joined the channel
#
voxpelli
aaronpk: just a thought: Do you have Serviceworkers and do they impact anything?
#
aaronpk
I don't
singpolyma joined the channel
#
voxpelli
Can you restart the web server? Then it should drop any connections? No?
#
jeremycherfas
Zegnat: I was looking at [[hwc]] and wondering whether What shouldn’t be right at the top of the page.
#
Zegnat
Maybe, jeremycherfas. /next-hwc actually has 2 What categories. The bottom one could be merged into the top one
#
jeremycherfas
That might be best
#
tantek
what is Connection: close?
#
Loqi
It looks like we don't have a page for "Connection: close" yet. Would you like to create it?
#
jeremycherfas
Seems that /next-howc has no content. Is this /events/2017-05-31-homebrew-website-club a better one to edit, or is there a template?
#
tantek
should be copied from 2017-05-17
#
tantek
that was the one that got the nice re-org of RSVP into the Where
#
tantek
and in fact, 2017-05-31 should be updated to be like 2017-05-17
#
sknebel
it is already as far as I can tell?
#
Zegnat
tantek, yes, I fixed that earlier today.
#
schmarty
Zegnat++
#
Loqi
zegnat has 7 karma in this channel (51 overall)
#
Zegnat
jeremycherfas, sorry, /next-hwc is just a redirect to whatever the next date is. The one to edit is indeed the /events/* one
#
Zegnat
disappears for dinner
#
jeremycherfas.net
edited /events/2017-05-31-homebrew-website-club (+889) "/* What */ Moved and consolidated --~~~~"
(view diff)
#
tantek
regarding the whats, there's a distinction between the (timeless) summary description, and the specific topics for this week
#
tantek
the "What" section is supposed to be for specific topics this week
#
tantek
hence why it's below
#
tantek
but open to re-organizing
#
jeremycherfas
I’ve left the topics in place, but moved and consolidated the What information. It is still pretty reptitive, but that’s OK for people who are skimming, I think.
#
jeremycherfas
BTW, I replied to https://jeena.net/events/25 but it doesn’t seem to have been picked up.
#
www.1500wordmtu.com profile lindner
edited /site-deaths (+424) "Imzy.com going away."
(view diff)
#
tantek
what is 1500wordmtu?
#
Loqi
It looks like we don't have a page for "1500wordmtu" yet. Would you like to create it?
#
plindner
Sad about Imzy
#
tantek
plindner what is 1500wordmtu?
#
plindner
my site is 1500wordmtu.com
#
plindner
is this some weird indieauth thing?
#
tantek
plindner only weird in that you used a subpath of your site rather than just the domain
#
plindner
Not intentionally - ui fail
#
tantek
where it says "Www.1500wordmtu.com profile lindner"
#
plindner
let me try again
#
tantek
what URL did you enter to sign-in to indieauth?
KartikPrabhu joined the channel
#
plindner
http://www.1500wordmtu.com/ (the bare domain fails due to redirects)
#
plindner
looking
gRegorLove joined the channel
#
tantek
what is www?
#
Loqi
www in the context of the IndieWeb is an unnecessary subdomain on personal domain name https://indieweb.org/www
#
plindner
sigh. maybe need to get off hosted-Known
#
tantek
odd, didn't realized hosted known forced you to use a / profile / username URL
#
tantek
or is that the source of the www?
#
plindner
Two separate problems I'm guessing.
#
tantek
definitely interested in helping discover / document the source of such problems, and fixes / workarounds
[shaners] joined the channel
#
plindner
So known is multiuser but has themes optimized for single vs multiple.
#
plindner
goes to look at markup
#
plindner
[also don't remember seeing the full url during indieauth flow..]
#
plindner
Single user setting help text: "Is this a single-user site? If so, your profile information will be shown at the top of the homepage."
#
tantek
that makes sense, now was that the default? or was multiuser the default?
#
tantek
or was it a side effect of the theme you chose?
#
plindner
It was set to single-user, but I'll bet that this setting is not accounted for in parts of the code and /profile/$username URL gets returned instead
#
tantek
hmm that definitely sounds like a bug worth reporting
#
tantek
we can !tell benwerd here also if we can find something specific for further investigation
#
plindner
It worked in the past, so something regressed.
#
plindner
The approval form has a post-param "me: http://www.1500wordmtu.com/profile/lindner"
#
Loqi
Paul Lindner
#
Loqi
[paulcmal] #1499 IndieAuth endpoint does not support multi-user
#
tantek
!tell benwerd seems like something regressed recently in Known (hosted Known even) single vs multiuser support. E.g. http://www.1500wordmtu.com/ used to just work as a single-user Withknown.com hosted site, but now it redirects to http://www.1500wordmtu.com/profile/lindner. Perhaps related: https://github.com/idno/Known/issues/1499
#
Loqi
Ok, I'll tell them that when I see them next
#
plindner
will debug this in a little bit...
#
Zegnat
jeremycherfas, your HWC reply doesn't seem to include RSVP information. Jeena might not put regular replies below the event.
#
loqi.me
edited /tweetstorm (+231) "tantek added "2017-04-17 [https://twitter.com/chriseppstein/status/854162471665324032 @chriseppstein: I was about to tweet storm so I decided to blog and now I'm like 1000 words in and there's so much more I wanted to say and I hate blogging]" to "Se"
(view diff)
#
jeremycherfas
I’ll just stick my url in there then
#
loqi.me
created /tweet_storm (+23) "prompted by tantek and dfn added by tantek"
(view diff)
#
jeremycherfas
!tell Jeena something went wrong trying to put my reply in to your events page for the virtual HWC
#
Loqi
Ok, I'll tell them that when I see them next
#
Zegnat
jeremycherfas did known give you an option for rsvp'ing?
#
jeremycherfas
I could not see one.
jeremycherfas_ joined the channel
#
Zegnat
Can you add HTML to your post to manually add the RSVP data?
#
tantek
I think RSVP may be an option in Known's UI when you do a "reply" ?
#
jeremycherfas
Tantek: I’ll check, but I don’t think so.
#
tantek
Known was one of the first to implement both indie events and RSVPs
#
tantek
so that's odd that it's now disappeared / hard to find
#
jeremycherfas
is looking
#
jeremycherfas
Nope, no sign of it.
#
sknebel
afaik it's in a plugin
#
sknebel
not sure if the plugins they ship with the core are all enabled by default?
#
Loqi
[lindner] #1762 An IndieAuth user gets the base domain as their "me" url when logging in
#
jeremycherfas
Amazing the extent to which wordpress dominates results for “rsvp plugin withknown”
#
tantek.com
edited /2017/Guest_List (+564) "/* Participant Projects */ add myself, copying from 2016 and 2015 entries"
(view diff)
#
sknebel
jeremycherfas: I think it's in "Events" or something like that (at least that what it's named in the source)
#
gRegorLove
aaronpk: In return, when you get a chance can you review https://github.com/indieweb/indiewebify-me/pulls ? No rush if you're still catching up from Europe.
dougbeal|imac joined the channel
#
Zegnat
Hmm, we have a whole wiki page for the Known Events plugin. But no links. https://indieweb.org/Events_plugin
#
cweiske
my local known installation has an events plugin, shipped by the core
#
gRegorLove
I think it's a core plugin
#
sknebel
Zegnat: it shipws with known. just not sure if those need to be enabled explicitly
#
Zegnat
Ah, alright, I guess it is off by default then if jeremycherfas doesn’t see it
#
jeremycherfas
OK, so the description of the Events plugin is “A lightweight way to post events.”. I don’t do that. I don’t organise events. If it is needed to reply to other peoples’ events, let’s just say that I find that counter-intuitive.
#
jeremycherfas
And yes, enabling it gives me a link to RSVP
#
tantek
weird, SF got dropped somehow from 2017-05-31
#
tantek
that deserves an FAQ somewhere(s)
#
tantek
what is RSVP
#
Loqi
An RSVP is a reply to an event post that says whether the sender is or is not attending, might attend, or is just interested in the event https://indieweb.org/rsvp
#
Zegnat
That might not so much deserve a FAQ as it deserves to be filed as a bug somewhere
#
jeremycherfas
Or just the description could be altered.
#
tantek
or why it's a plugin or not on by default etc.
#
Zegnat
Yes, but you can file that as a bug on the GitHub repo. The description is here: https://github.com/idno/Known/blob/master/IdnoPlugins/Event/plugin.ini
#
Zegnat
I think thats an architectural choice, tantek: smaller core, more plugins
[shaners] joined the channel
#
tantek
Zegnat: disagree, it raises the barriers for usability (as we've just seen)
#
tantek
anyone picking architecture over usability is making a mistake
#
tantek
not saying that is what's happening here with Known in particular, but rather more the general problem (which can be seen with Drupal, and sometimes WordPress too)
#
Zegnat
Photo posts are apparently also a plugin? Wonder if those are on by default.
#
tantek.com
edited /rsvp (+292) "add explicit with a tool shortcut at the top and provide one-liners for Known / WordPress"
(view diff)
#
Zegnat
Huh. Seems like cleverdevil came up with an indieweb extension to JSON Feed
#
tantek
jeremycherfas: I added brief one-liner about Known here: https://indieweb.org/rsvp#How_to_publish let me know if that would have helped you, and feel free to edit / add more detailed steps / specifics to the Known entry to make it clearer
#
tantek.com
edited /events/2017-05-31-homebrew-website-club (+721) "add SF with MozSF unless benwerd comes back and says he can host at Matter"
(view diff)
KevinMarks_ joined the channel
#
tantek.com
edited /events/2017-05-17-homebrew-website-club (-12) "FB POSSE copy of prev HWC SF"
(view diff)
#
vanderven.se martijn
edited /jsonfeed (+170) "/* Indieweb Examples */ Make difference between a feed in JSON and a JSON Feed for Known"
(view diff)
#
ben.thatmustbe.me
edited /2017/Leaders (+181) "/* Discussion Channels */"
(view diff)
#
martymcgui.re
edited /2017/Leaders (+110) "/* Discussion Channels */"
(view diff)
jeremycherfas and loicm joined the channel
#
Loqi
[jeremycherfas] #1763 Misleading description
gRegorLove_, gRegorLove and singpolyma joined the channel
#
tantek.com
edited /rsvp (+35) "/* How to publish */ update WordPress to use RSVP javascript from Wordpress Indieweb bookmarklets"
(view diff)
#
www.svenknebel.de
edited /authorship (+137) "/* Implementations */ mf2util"
(view diff)
KevinMarks, KevinMarks_, [barryf], jonnybarnes, gRegorLove and [cleverdevil] joined the channel
#
[cleverdevil]
Hello, IndieWeb!
#
[cleverdevil]
Up in the air somewhere over the midwest, heading back to LA from Philly.
#
[cleverdevil]
Yes, @Zegnat, I did take a crack at the JSON Feed implementation for Known, including an `_indieweb` extension.
#
[cleverdevil]
That said, I think it'd be better if there was a way to represent post types in the actual standard, with defined metadata.
#
[cleverdevil]
I also have an open issue on their GitHub about this - https://github.com/brentsimmons/JSONFeed/issues/51 - but it hasn't received any response.\
#
Loqi
[cleverdevil] #51 Representing alternate post types
#
KartikPrabhu
why con't one use post-type discovery instead?
#
Loqi
[Tantek Çelik] Post Type Discovery
#
[cleverdevil]
One could, but then one would have to load each individual post to do so.
#
KartikPrabhu
no i mean from the JSONfeed itself
#
[cleverdevil]
Honestly, if they had just adopted a JSON form of Microformats2, this wouldn't be an issue ?
#
KartikPrabhu
JSONfeed could have multiple post-types
#
[cleverdevil]
Yes, that's what I am advocating for.
#
KartikPrabhu
then, one can use a similar post-type discovery as is done for h-entry
#
KartikPrabhu
no need for explicit post-types
#
[cleverdevil]
Sure, but all that's really doing is saving a single property in the JSON ?
#
[cleverdevil]
You'll still need a standard way to represent the remaining metadata.
#
KartikPrabhu
one could say the sam about h-feed
#
KartikPrabhu
what is explicit post type?
#
Loqi
It looks like we don't have a page for "explicit post type" yet. Would you like to create it?
#
KartikPrabhu
what is explicit-post-type
#
Loqi
It looks like we don't have a page for "explicit-post-type" yet. Would you like to create it?
#
[cleverdevil]
I am less concerned about it being implicit or explicit.
#
KartikPrabhu
how does JSONfeed not allow multiple post-types currently?
#
[cleverdevil]
I am more concerned about getting JSON Feed to adopt/define standard metadata for things like location, reply, RSVP, etc.
#
KartikPrabhu
oh ok I see
#
[cleverdevil]
It allows for it, but if you want to embed any of the metadata, you have to use a non-standard extension.
#
KartikPrabhu
yeah I would reuses h-entry properties :P
#
[cleverdevil]
In my JSON Feed implementation for my Known site, I have basically done that (though maybe not very well) – https://cleverdevil.io/content/all/?_t=json
#
[cleverdevil]
I just used an `_indieweb` extension.
#
[cleverdevil]
And then tossed in things like `in-reply-to`, `repost-of`, `like-of`.
#
[cleverdevil]
I'm pretty sure I am missing something or got something wrong, but its a decent start.
#
KartikPrabhu
does JSONfeed not allow for multi-valued properties?
#
KartikPrabhu
evverything seems to be a string instead of list
#
[cleverdevil]
(So, pretty much, no.)
#
KartikPrabhu
so no, multi-reply, multi-photo
#
KartikPrabhu
and if they do add it, it will bascially become h-feed with different property names
#
[cleverdevil]
By the way, feel free to comment on that github issue!
#
[cleverdevil]
I am by no means an expert on this subject ?
#
[cleverdevil]
But, I have seen a growing number of feed readers adding support, so I figure its worth riding the momentum, and getting as many IndieWeb fundamentals in there as possible ?
#
gRegorLove
What's the use-case for adding post-types to JSONFeed?
#
gRegorLove
feed readers generally render the title and the content, right?
#
[cleverdevil]
Its more about embedding the metadata (in-reply-to, rsvp, geolocation, etc.)
#
[cleverdevil]
If a consumer has the metadata, it could for example show you a list of replies, or posts by location, etc.
#
gRegorLove
Put another way, "Who is the consumer?" I'm unclear on that so far.
#
[cleverdevil]
I personally find the "one-size fits all" feed reader of today (and yesterday) to be pretty rough from a user experience perspective.
#
[cleverdevil]
I want to consume photo feeds differently than checkins, differently that microblogs, differently than long-form posts.
#
gRegorLove
Sounds really difficult if feed readers of the future are going to continue to support XML feeds. Diverging functionality between them and JSONFeed.
#
gRegorLove
I guess it could downgrade gracefully if only XML feeds exist for a site
#
[cleverdevil]
Yeah, I think that's fine.
#
gRegorLove
Trying to spec all the metadata into JSONfeed before consumers exist sounds difficult, too. Not trying to be negative, I promise. Just thinking out loud. :)
#
[cleverdevil]
Totally get it, and I appreciate the conversation ?
#
[cleverdevil]
I think that's why JSON Feed initially has kept it out of the spec.
#
[cleverdevil]
And instead built in extensions.
#
gregorlove.com
moved /newsblur to /NewsBlur "canonical capitalization"
#
gRegorLove
Makes sense
#
gregorlove.com
edited /Special:Log/move () "moved [[feedbin]] to [[Feedbin]] over redirect: canonical capitalization"
(view diff)
#
gregorlove.com
edited /News_Explorer (+54) "link dfn"
(view diff)
#
gregorlove.com
edited /jsonfeed (+13) "/* Reader Support */ link wiki pages, announcements as footnote links"
(view diff)
#
schmarty
what if the jsonfeed contained HTML content... which was marked up with mf2...
#
[cleverdevil]
Which would then need a *second* parse.
#
[cleverdevil]
The whole reason that they created JSON Feed is that parsing HTML and XML sucks.
mblaney joined the channel
#
gRegorLove
schmarty: Yo dawg...
#
gRegorLove
My impression is they didn't really explore parsing HTML. It's way easier than parsing XML as I think we're showing pretty regularly with our sites.
#
gRegorLove
What is tools?
#
Loqi
Here are some tools that are helpful for building and debugging an IndieWeb site https://indieweb.org/tools
#
gRegorLove
(To the extent that I use /Granary to generate an Atom feed by parsing HTML)
#
KartikPrabhu
what is granary?
#
Loqi
granary is a library and REST API that frees you from social network snowflake API and exposes the sweet social data foodstuff inside as HTML and JSON with microformats2, ActivityStreams, Atom, XML, and more https://indieweb.org/granary
#
mblaney
aaronpk: I rate limit sending webmentions to every five minutes.
#
mblaney
I wrote a queue that is used by both salmention and post update code paths, if there's anything left in the queue (due to no further update triggers) it gets sent by cron on the hour.
leg joined the channel