#dev 2018-08-07

2018-08-07 UTC
[kiai], renem, [jgmac1106], [matpacker] and [jgarber] joined the channel
#
[jgarber]
FaceSpace was one of my favorite social networks…
renem, mblaney, [jgarber], [kiai], Hobbyboy23, [xavierroy], FuzzySockets, betawaffle25, insidious2, martyn_h, Frosty14, MylesBraithwaite, Alina-malina29, cweiske, Kinsmir3, [Serena], [kevinmarks], Hoosilon4, nesthib, have and [pfefferle] joined the channel
#
Zegnat
!tell GWG if you like nickname cache demos: https://i.imgur.com/Y1TybL7.png ;)
#
Loqi
Ok, I'll tell them that when I see them next
jeremych_, Randy26 and mblaney joined the channel
#
@growdigital
Webmentions! They’re great, read more: Webmentions: Enabling Better Communication on the Internet by @chrisaldrich on @alistapart https://alistapart.com/article/webmentions-enabling-better-communication-on-the-internet
(twitter.com/_/status/1026761802330333184)
#
@growdigital
↩️ I have yet to implement them @IndiegoHugo, my @GoHugoIO #IndieWeb theme, but there is good thread here: https://discourse.gohugo.io/t/anyone-for-webmention/10411
(twitter.com/_/status/1026762403873284096)
[jgmac1106] and mblaney1 joined the channel
#
Zegnat
[jgmac1106], by default browsers executing JS can’t write to files, so you are always going to need some server-side language that takes the form contents and creates the “badge page” (or, more probably, a badge record in a db).
#
petermolnar
!tell aaronpk https://webmention.io/api/mentions?jsonp=&token=[secret]&since=2018-06-08T21%3A00%3A04%2B00%3A00&domain=petermolnar.net - this gives me an invalid JSON that is wrapped in (), is that on purpose?
#
Loqi
Ok, I'll tell them that when I see them next
#
[jgmac1106]
Yeah I figured as much, in a small class manual is fine but if I had 30 kids earning 5-10 badges each... No way
#
Zegnat
petermolnar: I am going to guess yes, because you are requesting jsonp with a function name of '' (empty string)
#
[jgmac1106]
That's the project, super swamped so didn't get much done yesterday... Bookmarked tomorrow to hack
#
Zegnat
[jgmac1106], I imagine you’d have a badge “First HTML!” which contains some meta data (a name, criteria perhaps, a little gratulatory note). So that is what you add to the badge-service storage. Then whenever a student finishes it and you want to send them that batch, you select the badge, press a “send” button, and then enter the student details. Then the service can automatically send a copy of the badge to the specific
#
Zegnat
student.
#
[jgmac1106]
Want to talk to @schmarty as well because if we can get all the IndieWeb building blocks on Glitch for launching a blog and launching a class be sweet
#
Zegnat
Maybe the send form could even send to multiple students. Just have a list of recipients and they all get a separate badge URL webmentioned to them
#
[jgmac1106]
Exactly what I want to build
#
Zegnat
I’d estimate 1 day of work for a prototype that handles that ;)
#
Zegnat
Though I wouldn’t know how to build it on Glitch. Would have to look into how Glitch can do data storage etc.
#
[jgmac1106]
Just trying to choose my stack. Maybe LAMP it is so my Swedish friends can help
#
[jgmac1106]
Glitch has a tutorial on setting up MondoDB... I already have a MondoDB Atlas account with plenty of space
#
[jgmac1106]
But that is a different goal.... Betting Glitch becomes powerhouse in dev education... Want to think about all the building blocks there
#
[jgmac1106]
@zegnat go look at the stupid prices Credly Portfolium and others charge for badging platforms... There is opportunity in the space.
#
[jgmac1106]
Then we get @gwg and [pfefferle] to spin up a WordPress plugin
#
GWG
What am I doing?
#
Loqi
GWG: Zegnat left you a message 2 hours, 2 minutes ago: if you like nickname cache demos: https://i.imgur.com/Y1TybL7.png ;)
[pfefferle] joined the channel
#
[jgmac1106]
The key is the submission from the student saying they have evidence to meet the criteria as a webmention to the course page
#
Zegnat
That’s the main question, [jgmac1106]. Do they send that webmention to the badge service, or are those separate platforms.
#
Zegnat
[jgmac1106], we should schedule a call. I’m happy to build a proof-of-concept :)
#
[jgmac1106]
This where I do not know if the service should be tied into the class with an api, native, or just static and they go to service only
#
[jgmac1106]
Not today but tomorrow I can play.... Just need this dog to wake up. Losing my whole morning. Already past 6:30
#
[jgmac1106]
Thanks for thinking through gonna at least play with Morris
#
Zegnat
Morris is a really cool way of owning the webmentions you receive, without building the receiver :)
#
cweiske
what is morris
#
Loqi
Morris is a self-hosted PHP service for storing Webmentions from webmention.io in a JSON format that static sites can use to render them without querying webmention.io on each build https://indieweb.org/Morris
#
Zegnat
Shoot me a message if you want to have a call and discuss a badges prototype. You know where to reach me. Email works for out-of-band too.
#
[jgmac1106]
Will do later today, but ai am prototyping in morning and then begging for help at vHWC - Europe if it's running anways
#
[jgmac1106]
Working during quiet hours and demoing at a HWC on West Coast... That is goal
#
Zegnat
I am planning to do vHWC EU.
#
[jgmac1106]
Just the manual site to site with Morris storage. The badging as a webmention service we can scope out as well
#
[jgmac1106]
Perfect my hard drive crashed so I can finish the mumble tutorial
#
[jgmac1106]
Don't need to delete my settings... Small benefits to big problems
#
Zegnat
Hahaha
#
Loqi
rofl
aaronpk, ludovicchabant, graingert6, boars, jgmac1106, grit27 and [kevinmarks] joined the channel
#
loqi.me
created /context_collapse (+232) "prompted by jgmac1106 and dfn added by [kevinmarks]"
(view diff)
#
loqi.me
edited /context_collapse (+99) "[kevinmarks] added "https://medium.com/message/context-collapse-architecture-and-plows-d23a0d2f7697" to "See Also""
(view diff)
[jgarber] joined the channel
Connecting joined the channel
#
@slashsbin
Webmentions: Enabling Better Communication on the Internet · An A List Apart Article http://ow.ly/NGef30liFe6
(twitter.com/_/status/1026802421140467712)
bjs6, deathrow1|absnt, jalcine, barpthewire, tantek, bradenslen, tantek__, jgmac1106, eli_oat, snarfed and L0S joined the channel
#
snarfed
sknebel++ for deep sleuthing and thorough tests in https://github.com/snarfed/mf2py/pull/2
#
Loqi
sknebel has 24 karma in this channel over the last year (76 in all channels)
#
Loqi
snarfed: tantek__ left you a message 3 days, 19 hours ago: see https://github.com/google/data-transfer-project
#
Loqi
snarfed: tantek__ left you a message 3 days, 18 hours ago: any way to tell how many Twitter accounts has Bridgy publish published to? Has Bridgy backfeed backfed from?
#
Loqi
[sknebel] #2 Implement and document safe operations on incomplete copies of BS4 elements
#
sknebel
snarfed: just saw your note about lxml, you can remove the parser specification there instead of you want, it shouldn't rely on a specific one
#
snarfed
sknebel: true! we actually do want some tests to use lxml though. https://github.com/microformats/mf2py/issues/113
#
Loqi
[kartikprabhu] #113 add lxml parser to tests
#
snarfed
if we want, in the future we could separate the two concerns, and maybe test with all parsers side by side
#
snarfed
(the new lxml requirement is just for the tests, not users)
#
cweiske
oh, loqi karma is date range based now?
#
aaronpk
petermolnar: yes, because you have an empty "jsonp" parameter in that.
#
Loqi
aaronpk: petermolnar left you a message 3 hours, 10 minutes ago: https://webmention.io/api/mentions?jsonp=&token=[secret]&since=2018-06-08T21%3A00%3A04%2B00%3A00&domain=petermolnar.net - this gives me an invalid JSON that is wrapped in (), is that on purpose?
#
petermolnar
aaronpk: sorted
#
petermolnar
yes, Zegnat made me realize
#
sknebel
snarfed: right, running all tests with both could be useful - tests run fast enough to do that
#
snarfed
for now i'm going to merge into upstream and announce the RC
#
tantek__
snarfed those are from last Friday
#
snarfed
tantek__: yeah i figured
#
tantek__
the stats question for Bridgy is still worth considering for future updates
#
snarfed
for the future, stats posts are searchable on snarfed.org, eg https://snarfed.org/?s=bridgy+stats
#
snarfed
shows number and proportion of twitter (and other silo) accounts
#
snarfed
exact number for backfed twitter accts will be 500-1k. can count easily if/when we need it
tantek joined the channel
#
snarfed
FYI all mf2py users! candidate for the next release (1.1.2) is available, including whitespace bug fixes and performance improvements. please try it out and let us know if you hit any problems! you can install with: pip install -e git+https://github.com/microformats/mf2py.git#egg=mf2py
#
snarfed
props to sknebel for his hard work on this release!
[Serena] joined the channel
#
jmac
sknebel++
#
Loqi
sknebel has 25 karma in this channel over the last year (78 in all channels)
jgmac1106, [jgmac1106], surfist15, thomasb9511, tantek, [chrisaldrich], NinjaTrappeur, jackjamieson, [Serena], [johnjohnston] and KartikPrabhu joined the channel
#
@sl007
↩️ just btw : a way requiring minimal work could be a webmention [https://indieweb.org/Webmention] to activitypub bridge, then you could use https://brid.gy
(twitter.com/_/status/1026858419372916737)
KartikPrabhu joined the channel
#
ben_thatmustbeme
!tell [shaners] https://github.com/dissolve/microformat-node i have the master just fixed so it runs, it was missing a few folders. npm-updates branch fixes some of the more major security issues, and hapi-17 branch is what i'm working on to really update things to the most modern, but it involves some reworking when it comes to requesting external sites
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[dissolve] microformat-node: Microformats parser for node.js
#
ben_thatmustbeme
shane pulling me away from work i need to be doing just by asking for help
[grantcodes] joined the channel
#
[grantcodes]
ben_thatmustbeme++ for looking at microformat node
#
Loqi
ben_thatmustbeme has 3 karma in this channel over the last year (14 in all channels)
#
ben_thatmustbeme
oh wow, loqi does yearly now
jorrakay22 joined the channel
#
GWG
ben_thatmustbeme, missed your presence
badpixel21 joined the channel
#
ben_thatmustbeme
i have been here, occasionally popping my head in
#
ben_thatmustbeme
but this entire year is pretty crazy
#
jackjamieson.net
edited /Microsub (+154) "/* Servers */ Add Yarns Microsub Server (in development)"
(view diff)
#
ben_thatmustbeme
and its not getting better until 2019 from the looks of it
[cleverdevil] joined the channel
#
GWG
Ditto
#
GWG
But I don't have a family
#
GWG
I will wait for the Indieweb to solve that problem
Fridtjof11 and caf10 joined the channel
#
Zegnat
Solve the problem of not having a family?
cfields10, snarfed and pilottage joined the channel
#
GWG
I am kidding, but is there a Microformat for that?
[jgmac1106] joined the channel
#
Zegnat
Just use xfn and start marking people in your blogroll as family
#
Zegnat
Or mark people as a crush, and then homepage-webmention them, and see what happens? ;)
snarfed, leg, Guest88710, eli_oat and Looking joined the channel
#
@petermolnar
Apparently it’s not possible to run fully static sites with dynamic features, such as webmention handling - you can get close to it, but you do need to embrace external services.: https://petermolnar.net/running-a-static-indieweb-site/
(twitter.com/_/status/1026886211762376704)
#
Zegnat
petermolnar was that tweet automated too?
GuntherDW14 joined the channel
#
petermolnar
turned out my brid.gy => twitter connection went off
#
petermolnar
but the action fired
#
petermolnar
so I'll see it next time
#
@kaushalmodi
↩️ Equivalents (to what you mention in your post) that I use for my static site: @GoHugoIO (ssg+syntax highlighting), Fuse.js (search), http://webmention.io, @Netlify+@zapier, http://brid.gy.
(twitter.com/_/status/1026890893939363840)
tantek, snarfed, jgmac1106, raretrack, thk127, PrettyKittie1 and [cleverdevil] joined the channel
#
ben_thatmustbeme
!tell [shaners] scratch that, check out the heroku branch, its running fine on heroku for me now :D
#
Loqi
Ok, I'll tell them that when I see them next
macker18, wagle, Caraway4, barpthewire, bradenslen, ovoldemorto, iasai_, snarfed and [eddie] joined the channel
#
jackjamieson
Thanks [eddie], actually I have a question about indigenous
#
Loqi
jackjamieson: gRegorLove left you a message on 2018-06-16 at 8:47pm UTC: indiebookclub has an option for DOI Name now. Try it out and let me know what you think.
[jgmac1106] and [kevinmarks] joined the channel
#
jackjamieson
When I try to view my timeline in indigenous, the channel names don't match the uids on my server. e.g. indigenous requests params: {"action":"timeline","channel":"Y6JcQqFrGIw3o6okvKLawHUx"}, but the correct channel uid is 'test'. Any idea what might be happening?
#
[jgmac1106]
Now that I have access to Indigenous with a reader... I want to buy Indigenous in app store and subscribe to Apeture
#
[jgmac1106]
It is so cool.
#
[eddie]
hmmmm strange, jackjamieson
#
[eddie]
One key thing is that there are channel names and channel uids
#
[eddie]
they aren't the same
#
jackjamieson
That's a good thought [eddie], but it's not that. Actually I just figured it out, so I might have a bug report
#
[eddie]
Ahh, cool! Yeah, happy to receive bug reports 🙂
#
jackjamieson
I'm logging in from a subdomain where I'm testing my microsub server. But it seems like indigenous is pulling all the information from my main site jackjamieson.net (which points to aperture for now)
#
jackjamieson
So even though I'm logging in from a subdomain, indigenous seems to be searching for the microsub endpoint at the main domain :(
#
[eddie]
Ohhh wait. This might be a related bug. Were you previously logged in as jackjamieson.net?
#
[eddie]
There's a bug that doesn't delete channels from local storage when you log out
#
[eddie]
That's the one, then
#
jackjamieson
Ah, I see! Thank you! Can I fix it for now by deleting and reinstalling indigenous?
#
petermolnar
aaronpk: are you around?
#
jackjamieson
Doing that now, thanks!
#
[eddie]
My pleasure 🙂 I'll try to get a new build out soon that fixes that and several other bugs 🙂
#
aaronpk
petermolnar: sorta
#
petermolnar
the webmention.io webhook payload - is that json, encoded form, or some combination of both?
snarfed joined the channel
[pfefferle] joined the channel
#
petermolnar
also found that $_POST is empty when header application/json is present
#
jackjamieson
[eddie] That seems to have worked, thank you! And it's led me straight to another bug, though I think this one is part of the wordpress-micropub plugin. I'll create an issue there and mention you in case its useful
#
Zegnat
petermolnar: yeah, $_POST is only a thing for form-encoded POSTs
#
Zegnat
I am guessing you have found it already, but raw POST bodies are available at php://input
#
petermolnar
remembers the PHP Black Book
#
Zegnat
(Which, in its turn, is empty when $_POST is filled, because this is PHP we are talking about.)
#
petermolnar
gotta luv php
#
tantek.com
edited /Bridgy (+108) "/* See Also */ bridgy stats"
(view diff)
#
Zegnat
petermolnar, that’s why I like offloading it on standard HTTP message implementations ;) PSR-7 makes up for a lot
jackjamieson, wagle, KartikPrabhu, barpthewire1 and snarfed joined the channel
snarfed1, Theking^29, jgmac1106, snarfed and tantek__ joined the channel
#
tantek__
hmm I seem to be breaking Bridgy Github publish again
#
tantek__
[07/Aug/2018:15:27:37 -0700] "POST /publish/webmention HTTP/1.1" 500 289 - "Falcon"
#
snarfed
sorry tantek__! looks like just a bridgy bug. i'll fix soon
#
tantek__
!tell snarfed does Bridgy Publish to Github only support posting to public repos? If so we should probably add that to the docs as a specific restriction as https://brid.gy/about#github-issue-comment doesn't mention it currently
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek__
oh oops
snarfed1 joined the channel
#
snarfed1
tantek__: just checking, i'm guessing that repo has no issue labels, right?
#
tantek__
it does
#
tantek__
I only used existing labels
snarfed joined the channel
#
snarfed
odd, ok. will look
#
Loqi
snarfed: tantek__ left you a message 9 minutes ago: does Bridgy Publish to Github only support posting to public repos? If so we should probably add that to the docs as a specific restriction as https://brid.gy/about#github-issue-comment doesn't mention it currently
wodencafe13, jgmac1106, iasai, [shaners], [kevinmarks], KartikPrabhu, [jgmac1106], [matpacker], linuxmodder28 and wagle joined the channel