#dev 2018-03-25

2018-03-25 UTC
[cleverdevil] joined the channel
#
[cleverdevil]
Nicely done [snarfed]! Maybe I can use it in Puny.
#
[cleverdevil]
I’m traveling a ton these next few weeks so I’m not sure how much progress I’ll be able to make :/
snarfed, rodney1, [kevinmarks] and renem joined the channel
#
eddiehinkle.com
edited /PHP (+21) "Add PHP as a jargon term for future AI"
(view diff)
eli_oat, snarfed, [miklb], [snarfed], barpthewire, tantek, [eddie] and KevinMarks joined the channel
#
@kaushalmodi
@_am1t No problem. I believe I might not need the JS after all if you are using the JS step to only parse the http://webmention.io returned object. Looks like Hugo getJSON does the trick: https://gitlab.com/kaushalmodi/hugo-theme-refined/blob/master/layouts/partials/webmention_rcv.html. As I don't yet have reply-to mentions, I cannot parse those.
(twitter.com/_/status/977900873060900866)
KevinMarks, eli_oat and swentel joined the channel
#
@HongPong
i have dabbled in #indieweb tech incl some work on http://drupal.org/project/linkback which does #webmention protocol so I've been following this a while.
(twitter.com/_/status/977920178666209280)
#
aaronpk
swentel: may I make a request that you don't include "#13" as the p-name of your notes?
#
swentel
why exactly ?
#
swentel
oh hmm, it's a note, so no use for a name right
KevinMarks joined the channel
#
aaronpk
my site is showing my "like" as if your post were a blog post because of that
#
aaronpk
and a reader may not show the content since it thinks it's a blog post
#
swentel
makes sense, will update now
#
swentel
ok it's gone, currently hardcode in the module
#
swentel
added p-name support yesterday in the drupal module
#
swentel
funny how adding new features triggers new issues heh :)
#
swentel
but I'm slowly getting to state where I probably can release another beta, it's working nicely on my site
#
swentel
s/beta/alpha
#
swentel
but first holiday for a week, BUT I can read all your posts now on my phone :)
#
swentel
ok cool, let me add that in the android client already too
#
swentel
now it's a simple if (hascontent) print content else { figure out what todo here} heh
#
Zegnat
Not often I get to be the first to answer an over-a-year old StackOverflow question. https://stackoverflow.com/a/49477705/3225372
KartikPrabhu, snarfed, [eddie], KevinMarks and tbbrown joined the channel
#
[eddie]
Hey GWG did you ever release the IndieAuth server Wordpress plug-in?
#
GWG
Release?
#
GWG
As in WordPress.org repo?
#
GWG
I only finished the token endpoint
#
GWG
I still need the authorization endpoint
#
[eddie]
Ohhh okay, I didn’t realize that
#
[eddie]
Hmmm yeah probably. I just saw this post: https://blog.vanessahamshere.uk/2018/03/25/90/
#
Loqi
[Vanessa] It did strike me as mildly amusing that the main way to use OAuth for the Indieweb is via a Twitter account. Luckily I do have a (pretty much unused) GitHub account, created in a very optimistic moment, so was able to use that.
#
GWG
So, released on GitHub, but not yet elsewhere
#
[eddie]
She uses Wordpress so I was making sure I knew the status before I said anything. So I guess it’s “in developments
#
[eddie]
Thanks 🙂
#
GWG
Yes
#
GWG
I need another IWC with aaronpk
#
aaronpk
yes I want that to be finished so much
#
aaronpk
that and micro.blog
#
GWG
My current schedule is weather and location stuff, followed by podcast enhancements
#
aaronpk
micro.blog needs its own built-in auth server soooo bad
#
GWG
But I am willing to rearrange my priorities
#
tbbrown
i'm experimenting with indieauth login with goodreads :)
#
GWG
Next week is Passover, and I will be sitting in a house avoiding matzah, might clear a few things
#
[eddie]
Yeah, micro.blog and Wordpress powered indieauths would take a lot of 3rd party login use (twitter, GitHub) away
#
GWG
aaronpk, even without a IWC I might ask for help again
#
aaronpk
i'd be happy to do a virtual hack session, we could even do it on hangouts so other people could listen in
#
GWG
I realized after last time I made a mistake
#
GWG
I have to generate two types of tokens
#
GWG
I need to move the token generation code out of the endpoint so I can use it to generate the authorization code as well
#
Zegnat
I am also happy to join in, if your times overlap with EU times. We might be able to borrow some code from selfauth.
KevinMarks, AngeloGladding and tantek joined the channel
#
GWG
Let me finish up the current project and I will refactor the Indieauth plugin and start work
kaushalmod and eli_oat joined the channel
#
@kaushalmodi
Now the next step is automating my site builds at the right times.. may be http://webmention.io can ping "somewhere" that triggers my Netlify build?
(twitter.com/_/status/977962428972634112)
#
aaronpk
kaushalmod: there is a web hook feature in webmention.io! https://webmention.io/settings
#
aaronpk
once you receive a webmention there will be a setting for it
#
aaronpk
snarfed: you might be interested to know that the paging issue I was describing friday turns out was a stupid bug, and now I think it's working great
eli_oat, KevinMarks_ and cweiske joined the channel
#
cweiske
aaronpk, did you deploy the #bottom change to chat.indieweb.org yet?
KevinMarks, tantek, KevinMarks_ and [kevinmarks] joined the channel
#
loqi.me
edited /POSSE (+87) "tantek added "2018-03-24 Hacker News comment thread: https://news.ycombinator.com/item?id=16663850" to "See Also""
(view diff)
#
loqi.me
edited /POSSE (+88) "tantek added "HN ibid: "Why won't a link on these platforms suffice since they have their "cards"?"" to "See Also""
(view diff)
[eddie] joined the channel
#
loqi.me
edited /POSSE (+246) "tantek added "HN ibid: "This is an interesting thing, but too complicated and over-broad for the mere-mortal." <-- page introduction needs simplifying, simpler instructions to setup POSSE, acknowledge where POSSE usability is in the [[Generations]] spe..."
(view diff)
#
[eddie]
I had Jekyll down to like 5 min rebuild but importing past Facebook posts it’s back to 15 minutes so I think I’m definitely on the verge of needing to just build a dynamic interface in my Node.js server rather than using Jekyll to build it. A user already hits my Node.js server before getting the static files so it wouldn’t be a huge change
#
[eddie]
By having a user get the static files through Node.js I bet it’s already missing some of the benefits of being a static site
#
gregorlove.com
edited /Facebook (+939) "/* Criticism */ Scraped call and SMS logs from Android phones"
(view diff)
#
loqi.me
edited /POSSE (+236) "tantek added "HN ibid: "Facebook is just a glorified RSS feed with centralized discover ability." <-- debunk with comparing [[Facebook#Features]] (and [[Twitter#Features]]) vs RSS plumbing feature set. A visual diagram/table comparison might help." to..."
(view diff)
#
loqi.me
edited /POSSE (+234) "tantek added "HN ibid: "This really is not possible with RSS at all, especially since the silos don’t want to support RSS in any meaningful way." <-- perhaps add a whole subsection in "Why" explaining why RSS is insufficient compared to POSSE." to "S..."
(view diff)
#
tantek
[eddie] I vaguely remember the same problem (long rebuild times) hitting longtime Movable Type users
#
tantek
some of whom found that switching to WordPress was thus "faster" at publishing
#
tantek
seems like you'd want some sort of a "rebuild window" where you only rebuild the last n posts or n months of posts
#
[eddie]
Yeah, that would definitely help. I think one of my biggest issues is, Index pages
#
tantek
or someway of keeping track of "needs rebuild" lists of posts (like dirty bits) that then trigger those posts and their aggregations to be rebuilt
#
[eddie]
I can’t pre-filter posts on index pages so it has to sort through ALL the posts
#
[eddie]
So like “on this day” has to go through every post and check if the post day and month is equal to today’s day and month
#
[eddie]
In essence I’m doing things that just aren’t meant to be done on a static platform
#
sknebel
Hm, one of the blogposts about POSSE had really nice graphics
#
sknebel
we should link that and/or ask for permission to use them
#
Loqi
definitely
#
[kevinmarks]
Have you profiled Hugo? It has an importer for jekyll, and has been very speedy on big sites for me
#
tantek
sknebel: I'm long overdue on producing a nice graphic version of the original POSSE diagram I drew (before it was even called POSSE) https://indieweb.org/POSSE#Background
#
sknebel
hm, I can find https://dri.es/to-pesos-or-to-posse right now, not quite what I remembered
#
tantek
yeah it's not quite the same
#
tantek
I should draw up separate POSSE and backfeed diagrams because that diagram shows both
#
tantek
(or I should have video'd myself drawing it and explaining it in real time to the NYT journalist at the time)
#
tantek
hmm, maybe I should video everytime I go to a whiteboard and start drawing something?
#
GWG
Time for the Tantek Academy?
#
tantek
or perhaps I should only draw things on whiteboards at IWC/IWS sessions that are being recorded :)
#
[eddie]
kevinmarks: I haven’t profiled Hugo, but I’ve heard good things. I tried the Jekyll importer I think the issue I ran into and haven’t further investigated was all my posts are actually a Jekyll “collection” and Hugo wanted to import my “posts” not my “collection”. That said, I could probably do some more investigation into that
KevinMarks and snarfed joined the channel
#
gregorlove.com
edited /timeline (+256) "/* 2018 */ +Düsseldorf, IWS, Nuremberg"
(view diff)
snarfed joined the channel
#
tantek.com
edited /timeline (+532) "/* Needs Dates and incorporation above */ Microsub"
(view diff)
#
AngeloGladding
would it be presumptious to cache a resource's webmention endpoint?
#
tantek
pretty sure the Webmention spec covers that
#
AngeloGladding
"The sender MUST fetch the target URL (and follow redirects [FETCH]) and check for an HTTP Link header [RFC5988] with a rel value of webmention."
#
tantek
then yes
KevinMarks and [cleverdevil] joined the channel
#
AngeloGladding
i suppose there's two scenarios:
#
AngeloGladding
caching the authors' webmention endpoint -- which seems wrong
#
petermolnar.net
edited /Mastodon (+103) "/* Current */"
(view diff)
#
AngeloGladding
and caching a particular posts' webmention endpoint to halve the number of requests made to posts during a salmention
#
AngeloGladding
i'm trying to solve the latter
#
petermolnar.net
edited /Medium (+93) "/* Criticism */"
(view diff)
#
AngeloGladding
i guess it could change..
#
snarfed
AngeloGladding: fwiw bridgy deliberately disobeys that part of the spec and caches discovered wm endpoints per domain for 2h, due to its scale
#
snarfed
(and the wm spec editors are aware :P)
#
AngeloGladding
right on
#
tantek
AngeloGladding: or there's an opportunity to document how publishers can properly return HTTP caching headers on their post permalinks to help with this
#
tantek
ooh are we coming up on the 1 year anniversary of Microsub being proposed? https://indieweb.org/wiki/index.php?title=Microsub&action=history
#
tantek
but that look thorough enough that there must have been discussion before
#
tantek.com
edited /timeline (+42) "/* Microsub */ spec published"
(view diff)
chrisaldrich, snarfed and KartikPrabhu joined the channel