#dev 2016-11-06

2016-11-06 UTC
#
TheGillies
aaronpk: What sort of system do you use for generating codes and tokens? Right now I accept any code and return a static token heh
#
aaronpk
good for first draft
#
aaronpk
my auth codes are JWTs so that I can generate as many as i want without storing them
#
TheGillies
ooh theres a v. nice elixir JWT library I'll use that then
#
aaronpk
oh yeah i use JWTs for tokens too
#
aaronpk
i don't currently map tokens to any sort of internal user account, they are only associated with the individual post
#
TheGillies
Doesn't JWT have auth built in? I'm not super familiar with internals
#
TheGillies
why the two-step?
#
aaronpk
technically i guess i'm using JWS
#
aaronpk
cause i'm not setting "uid" or anything that's part of the JWT spec
#
TheGillies
googles JWS
#
aaronpk
it's just the signature part of JWT
#
TheGillies
Yeah I read that before
#
TheGillies
not really grokking what that means though
#
TheGillies
Like it seems to mean if they take the time to jump through hoops their security is pretty good
#
TheGillies
But that's probably not what it's saying
#
aaronpk
yeah but if they *don't*, then you're just spewing access tokens to whoever
#
aaronpk
think about it from the sending perspective. you wrote a private post, protected by an access token. if you send that access token to someone without them expecting it, you have no idea where it's going to end up.
#
TheGillies
ooooh i think I get it
#
TheGillies
they don't know it's private
#
TheGillies
if they send you something back, then you know that they know it's private
#
aaronpk
they might not even support webmention!
#
TheGillies
How do you even have a code you're sending then?
#
aaronpk
as the sender, you generate the code however you want
#
TheGillies
Is this is a world where multiple sites can use the same token?
#
TheGillies
in a world*
#
aaronpk
it's totally up to you as the sender
#
aaronpk
which is why you can right now hard-code 123 as your access token and my site still figures it out
#
TheGillies
I think I understand better now, thanks
#
tantek
we have specifically stopped using it for post-level stuff
#
aaronpk
(that was re: rel values)
#
tyler.cat
edited /Private-Webmention (+278) "/* IndieWeb Examples */"
(view diff)
#
tyler.cat
created /Template:TheGillies (+156) "Created page with "<span class="h-card" style="white-space:nowrap">{{sparkline|https://avatars2.githubusercontent.com/u/143954?v=3&s=466}} [[User:Tyler.cat|TheGillies]]</span>""
(view diff)
#
aaronpk
most of the code in this Hub is error checking
#
TheGillies
aaronpk: hub?
#
aaronpk
i've been working on https://pubsub.rocks today
KevinMarks joined the channel
#
aaronpk
now i'm using it to test itself
#
TheGillies
What's the difference between pubsubhubub and pubsub?
#
aaronpk
pubsub is pubsubhubbub adopted by the w3c
#
aaronpk
feel free to chime in on a new name tho https://www.w3.org/wiki/Socialwg/push-name
#
Loqi
[Tyler] @aaronpk WebSub
#
TheGillies
I think pub sub is kinda redundant
#
TheGillies
if you're subbing someone is obviously pubbing
#
KartikPrabhu
i like BuB as a name ;)
#
TheGillies
I like that the "con" of WebPub is "Emphasises the "Pub" side, while it's the "Sub" side that's the more important part of the system"
#
TheGillies
WebSub++
#
Loqi
websub has 1 karma
#
TheGillies
Someone quoted me and then changed what I said
#
TheGillies
I give permission for creative freedom
#
aaronpk
i did?
#
TheGillies
Original: I think pub sub is kinda redundant
#
TheGillies
if you're subbing someone is obviously pubbing
#
TheGillies
Quote: "PubSub is kinda redundant, if you're subbing then someone is obviously pubbing" - TheGillies
#
aaronpk
same meaning right?
#
TheGillies
It's close enough but it's not a quote
#
TheGillies
is just pedantic
#
aaronpk
dinner time back later
#
TheGillies
Meh I didn't expect you to change it, heh I just get edgy when I see something in quote marks that's not a direct quote
#
TheGillies
PTSD from journalism days
KevinMarks joined the channel
#
@AMKBochnak
“What is that you express in your eyes? It seems to me more than all the print I have read in my life.” ― Walt Whitman #quote #indieauth...
(twitter.com/_/status/795083299848916992)
#
TheGillies
Anyone know a clever way to store flat files in heroku
#
TheGillies
That isn't in s3 et al?
#
TheGillies
and not part of git repo
ChrisAldrich and gRegorLove joined the channel
#
gregorlove.com
created /2016/LA/mobiledev (+1989) "dump etherpad"
(view diff)
#
gregorlove.com
created /2016/LA/indiewebpress (+656) "dump etherpad"
(view diff)
#
gregorlove.com
created /2016/LA/indieemail (+1591) "dump etherpad"
(view diff)
#
gregorlove.com
created /2016/LA/particularposts (+2826) "dump etherpad"
(view diff)
#
gregorlove.com
created /2016/LA/readingiw (+945) "dump etherpad"
(view diff)
#
gregorlove.com
created /2016/LA/marginalia (+1955) "dump etherpad"
(view diff)
#
gregorlove.com
edited /2016/LA/Schedule (-442) "/* Saturday November 5, 2016 */ note canceled session, remove archived etherpad links"
(view diff)
tantek and ChrisAldrich joined the channel
#
KevinMarks
Heroku will serve static files with node easily - that's how my site works
KevinMarks_ and KevinMarks joined the channel
#
TheGillies
KevinMarks: Are the files stored in git?
KevinMarks_ and dkm joined the channel
#
cweiske.de
created /2016/Berlin/cms (+718) "Created page with "[[Category:2016]] [[Category:2016 sessions]] Session taking place at [[2016/Berlin|IndieWebCamp Berlin 2016]]. == Participants == * {{cweiske}} * [[User:Oliver.gutperl.de|Oliver...""
(view diff)
#
cweiske.de
edited /2016/Berlin/cms (+20) "/* Participants */"
(view diff)
cweiske joined the channel
#
cweiske
aaronpk, it seems as if it works:[2016-11-04 17:35:50] phubb.INFO: Verifying subscription {"callback":"https://pubsubrocks.tunnlr.xyz/publisher/callback?token=KwiSTRvz2CC314MKR4dB","topic":"http://push-tester.cwe
#
cweiske
iske.de/feed.php","mode":"subscribe","leaseSeconds":7200,"secret":"","job":"H:ahso2:778"} []
#
cweiske
[2016-11-04 17:35:51] phubb.INFO: Subscription accepted {"job":"H:ahso2:778"} []
#
cweiske
there were subscription verification errors in between, though:
#
cweiske
[2016-11-04 17:13:02] phubb.NOTICE: Verification failed {"callback":"https://pubsubrocks.tunnlr.xyz/publisher/callback?token=HgUZNaVaK8X0kk8NoDGu","topic":"http://push-tester.cweiske.de/","mode":"subscribe","leaseSeconds":7200,"secret":"","reason":"verification response status not 200 but 404","job":"H:ahso2:736"} []
#
sebastianlasse.de
edited /2016/Berlin (-36) "/* Remote Participants */ SUN"
(view diff)
loicm_ joined the channel
#
cweiske.de
edited /2016/Berlin (+22) "/* Participating */"
(view diff)
marcthiele joined the channel
#
cweiske.de
edited /2016/Berlin (+40) "/* Participating */"
(view diff)
marcthiele joined the channel
marcthie_ and marcthi__ joined the channel
#
isabelanastasa.com
edited /2016/Berlin (+41) "/* Participating */"
(view diff)
#
cweiske
I finally got around adding a proper systemd service configuration for phubb, so that systemd takes care of starting up multiple worker instances after reboot.
KartikPrabhu joined the channel
#
sebastiangreger.net
created /2016/Berlin/onboarding (+217) "Created page with "'''[[2016/Berlin/onboarding|IndieWeb onboarding]]''' was an all-day session on hacking day during IndieWebCamp Berlin __TOC__ == Idea == == Results of morning discussions == ...""
(view diff)
#
sebastiangreger.net
edited /2016/Berlin/onboarding (+156) "/* Results of morning discussions */"
(view diff)
#
sebastiangreger.net
edited /2016/Berlin (+0) "/* Schedule */"
(view diff)
#
@starbops
@Ellaeon 我名詞搞得有點混亂 XD 所以 IndieAuth 和 RelMeAuth 都是 web sign-in 的實作嗎?
(twitter.com/_/status/795263154464792576)
#
sebastiangreger.net
edited /2016/Berlin/onboarding (-27) "/* Participating */"
(view diff)
#
sebastiangreger.net
edited /2016/Berlin/onboarding (+577) "/* Future ideas */"
(view diff)
tantek joined the channel
#
sebastiangreger.net
edited /onboarding (+259) "/* Brainstorming */"
(view diff)
ChrisAldrich and jkphl joined the channel
#
KevinMarks_
Yes thegillies - in github, and I have a commit hook that deploys to Heroku, and a minimal node app that serves them statically
#
@leastfixedpoint
So with WebMention there are source=...&target=... params, but no rel=... or property=... param. I wonder what the story there is!
(twitter.com/_/status/795296769550811136)
#
@leastfixedpoint
Also, wouldn't it start to get Extremely Interesting to start thinking of a web-sized set-of-triples CRDT maintained via WebMention!
(twitter.com/_/status/795296965970038784)
#
@aaronpk
@leastfixedpoint The Webmention is just the notification that one URL links to another. What the link means is described at that URL.
(twitter.com/_/status/795297438558883840)
#
aaronparecki.com
edited /reply (-110) "/* How To */ rel=in-reply-to is not recommended anymore"
(view diff)
#
aaronparecki.com
edited /responses (-21) "ungroup post types because "review" is not obviously a type of reply. sort by approximate usage."
(view diff)
#
sebastiangreger.net
edited /2016/Berlin/onboarding (+2803) "/* Personas */"
(view diff)
ChrisAldrich, tantek, KevinMarks and KevinMarks_ joined the channel
#
@calum_ryan
Response third test (Self-built CMS with mention-client library to handle Webmention)
(twitter.com/_/status/795346254553300992)
gRegorLove joined the channel
#
loqi.me
created /sub-domain (+22) "prompted by KartikPrabhu and dfn added by tantek"
(view diff)
#
gregorlove.com
edited /DuckDuckGo (+177) "Features section, note favicon"
(view diff)
#
tantek.com
edited /subdomain (+346) "Other Path Examples - note Google Maps switched!"
(view diff)
KartikPrabhu joined the channel
#
gRegorLove
Hey tantek, when you get a moment could you take a look at my h-cite and <cite> usage on quotes to see if it makes sense? https://gregorlove.com/2016/05/grace-means-suddenly-youre-in/ I feel like I'm mainly using <cite> here for the default italics formatting, so maybe I should just use spans to apply that styling instead?
#
Loqi
[gRegor Morrill] “Grace means suddenly you’re in a different universe from the one where you were stuck, and there was absolutely no way for you to get there on your own.” — Anne Lamott, Small Victories: Spotting Improbable Moments of Grace...
#
gRegorLove
And I don't put the whole thing in the <cite> because I don't want to italicize the author's name.
#
gRegorLove
Anyone's feedback is welcome, actually. :)
#
KartikPrabhu
should the h-cite contain the actual quotation too? the <cite> usage looks good
#
gRegorLove
The <cite> usage is correct to my knowledge, but I'm wondering if it adds any value beyond the italics.
#
gRegorLove
Good question on it containing the quotation, though. Let me check
#
gRegorLove
http://microformats.org/wiki/h-cite lists p-content, though no examples of it.
#
Loqi
h-cite
#
calumryan.com
edited /Webmention (+511) "/* Implementations */"
(view diff)
#
KartikPrabhu
gRegorLove: yeah my understanding was that you'd use h-cite exactly as you'd use h-entry
#
KartikPrabhu
the <cite> usage by default only adds italics but <cite> is considered more "semantic" the same way that <i> and <em> are also italics by default but are supposed to mean differenrt thingfs
#
gRegorLove
Makes sense. This looks better: h-cite nested in an h-entry http://pin13.net/mf2/?id=20161106210424526
#
KartikPrabhu
why extra <div> and not p-content on the <blockquote> ?
#
gRegorLove
Just hacking the existing html; can definitely simplify
#
KartikPrabhu
yeah that nesting looks good to me
#
gRegorLove
Though wonder what a p-author inside p-content will do. Will find out. It probably works fine.
#
KartikPrabhu
yeah i think it does work
#
gRegorLove
You hacking on anything today, KartikPrabhu?
#
KartikPrabhu
unfortunately not. Have an upcoming deadline to finish edits on a paper
KevinMarks, ChrisAldrich and KevinMarks_ joined the channel
#
gRegorLove
is heading out to get some of his own pizza
KevinMarks, KevinMarks_, Addal and ChrisAldrich joined the channel
#
gRegorLove
returns with his own pizza
#
KartikPrabhu
you showed them
#
gRegorLove
Nah. Maybe if I was still in Chicago :)
#
gRegorLove
Whole Foods pizza will do for now though.
#
www.sevilturner.com
edited /2016/LA/Guest_List (+131) "/* Official Guest List */ +Sevil Turner"
(view diff)
#
tantek.com
edited /Google_Maps (+350) "Temporary Features / Show Polling Place"
(view diff)
ChrisAldrich joined the channel
#
tantek.com
edited /Google_Maps (+534) "another screenshot in the where to vote flow"
(view diff)
#
david.shanske.com
edited /User:David.shanske.com (-13) "/* Wordpress Development */"
(view diff)
#
david.shanske.com
edited /User:David.shanske.com (-121) "/* Working On */"
(view diff)
KevinMarks joined the channel
#
tantek.com
edited /Google_Maps (+184) "/* Show Polling Place */ map result"
(view diff)
KartikPrabhu joined the channel
#
tantek.com
edited /Special:Log/upload () "uploaded a new version of "[[File:2016-11-06-google-maps-polling-place-prompt.png]]": crop out the shading"
(view diff)
#
aaronparecki.com
edited /Private-Webmention (+251) "/* IndieWeb Examples */ add example of a private comment shown on my website when i'm logged in"
(view diff)
#
aaronparecki.com
edited /location (+181) "/* Enabling Technologies */"
(view diff)
#
TheGillies
KevinMarks__: Does the node app live on heroku or is that hosted somewhere else?
#
gregorlove.com
edited /2016/LA/Schedule (+0) "/* Sunday November 6, 2016 */ demos @ 3:30"
(view diff)
#
tantek
gRegorLove++
#
Loqi
gregorlove has 8 karma in this channel (90 overall)
#
gregorlove.com
edited /2016/LA/Schedule (+47) "/* Sunday November 6, 2016 */ livestream"
(view diff)
#
tantek
it is done, I've switched from using Google Search to using DuckDuckGo on my site search
#
gregorlove.com
edited /2016/LA/Demos (+198) "/* Closing Demos */ Michael Kirk"
(view diff)
#
gregorlove.com
edited /2016/LA/Demos (+433) "/* Closing Demos */ adactio"
(view diff)
#
gregorlove.com
edited /2016/LA/Demos (+371) "/* Closing Demos */ Jocelyn Simpson"
(view diff)
#
aaronpk
!tell kylewm what does "no feeds found" mean in woodwind? is it not possible to subscribe to a feed URL itself? Is it assuming you're going to enter a home page or something?
#
Loqi
Ok, I'll tell them that when I see them next
#
gregorlove.com
edited /2016/LA/Demos (+261) "/* Closing Demos */ Jesus Noland"
(view diff)
#
gRegorLove
I've subscribed directly to xml feeds, if that's what you mean aaronpk.
#
gRegorLove
Otherwise it should find h-feed, rel-alternate feeds, and give you radio button options
#
aaronpk
oh it won't subscribe to a list of h-entrys?
#
gRegorLove
I think it does just h-entry too, not sure
#
gRegorLove
That pubsub.rocks link is blank content and source for me
#
aaronpk
my bad. 500 server error
#
gregorlove.com
edited /2016/LA/Demos (+256) "/* Closing Demos */ Sevil Turner"
(view diff)