#dev 2017-10-11

2017-10-11 UTC
snarfed and davidmead joined the channel
#
schmarty
aaronpk: been thinking about changing how i handle WMs from webmention.io. was thinking about grabbing existing WMs in a backfill pass, then storing new ones from the webhook. however, the data format is different.
#
aaronpk
Try adding .jf2 to the url
#
schmarty
aaronpk: is there a quick and dirty mapping from the wm.io data (with keys like activity, data) to or from the webhook notification data (with keys like "post", and full mf2 wm-property names)?
#
schmarty
um, rad. thanks!
#
schmarty
i think this'll work.
#
aaronpk
yeah that’s the format I want to use but I couldn’t just change the api on everyone
#
schmarty
i have so many different moving parts to my site that i forget how they work by the time i am ready to make changes to them :|
#
aaronpk
haha meee tooo
tantek joined the channel
#
Loqi
nice
#
schmarty
my goal here is to make a standalone service i can reuse between sites that basically manages a flat file store of webmentions
#
schmarty
something compatible with the jekyll and hugo data storage
#
schmarty
so that no compile step actually hits webmention.io
#
aaronpk
excellent cause that is not a sustainable solution lol
#
schmarty
most definitely
#
schmarty
currently my main site grabs the most recent page of mentions from the API on each compile
#
schmarty
and my podcast site uses javascript, so every page view is another wmio request :|
#
schmarty
my hope is to have this hook store them all in a way the static site generators can read, and trigger a rebuild on new wms, so they show up immediately.
#
tantek
"youve never heard of" triggers my click bait article name detector
#
tantek
does a search on gnes
eli_oat joined the channel
#
schmarty
aaronpk: any chance of getting the create or verified date in the jf2 output format? lots of posts have no published time and that makes them hard to sort :/
#
schmarty
(e.g. bridgy fb and twitter posts)
#
aaronpk
Ooh interesting
#
aaronpk
yeah that’s doable
#
aaronpk
File an issue?
tantek, eli_oat, renem, [miklb], jeremycherfas, KartikPrabhu, grantcodes, snarfed, [jeremycherfas], cweiske, EmreSoku_ and [kevinmarks] joined the channel
#
www.svenknebel.de
edited /Homebrew_Website_Club (+87) "move birmingham down - currently not active"
(view diff)
#
www.svenknebel.de
edited /Mumble (+74) "add client note"
(view diff)
j4y_funabashi, [kevinmarks] and j12t joined the channel
#
00dani.me
created /User:00dani.me (+63) "add a simple h-card, as advised on [[wikifying]]"
(view diff)
#
sknebel
I didn't know/had forgotten you could get domains with leading numbers
#
00dani.me
edited /User:00dani.me (-53) "Replace the h-card with a template using a cute little userpic"
(view diff)
#
00dani.me
edited /User:00dani.me (+115) "Use a separate h-card here that links to my actual domain as well as showing my u-photo"
(view diff)
#
00dani.me
edited /User:00dani.me (-17) "Load my userpic from the new route I just added, which avoids accidentally caching old userpics"
(view diff)
#
00dani.me
edited /User:00dani.me (+777) "add a bunch of itches"
(view diff)
John___ joined the channel
#
00dani.me
edited /User:00dani.me (+653) "expand out itches into two separate lists of stuff i wanna get done"
(view diff)
#
00dani.me
edited /User:00dani.me (-4) "/* itches */ remove broken link to "post types", it's clear what i'm talking about from context anyway"
(view diff)
#
00dani.me
edited /User:00dani.me (+101) "/* roadmap */ add [[websub]] to list of things that need doing"
(view diff)
j12t, jeremych_, j4y_funabashi, eli_oat, tantek, snarfed, [kevinmarks], John___, [cleverdevil], snarfed1 and EmreSoku_ joined the channel
#
snarfed
facebook api outage/degradation since 8:20am pst ish, whee. https://developers.facebook.com/status/issues/155022565098832/
#
aaronpk
i get a 500 server error trying to visit that page ?
#
snarfed
huh surprising
#
tantek
aaronpk, screenshot lol
#
aaronpk
it's back now lol
[miklb] joined the channel
#
@shahw1
Via annerallen Self-publishing News: Doors Close on Amazon’s Forum | Self-Publishing Advice Center - http://go.shr.lc/2zd46vn via indieauth…
(twitter.com/_/status/918158586458595328)
j12t and tantek joined the channel
#
sebsel
!tell sknebel I did send a webmention via Telegraph, but it gave a 302 redirect, which it didn't follow. That's because I mentioned the http-version, not the https. I think you can solve it by using an absolute URL as endpoint, with https.
#
Loqi
Ok, I'll tell them that when I see them next
snarfed joined the channel
#
aaronpk
[eddie] any chance you've written up your notes about Compass?
EmreSoku_ joined the channel
#
aaronpk
[eddie] i tried writing some notes based on our conversations the other day, can you check if i've missed anything? https://github.com/aaronpk/Compass#setup
#
Loqi
[aaronpk] Compass: Compass is a GPS tracking server that stores data in flat files.
[kevinmarks], snarfed, John__ and [eddie] joined the channel
#
[eddie]
aaronpk: Hey! Thanks, I haven't written them up outside of my scribbles. I'll take a look at what you have and add what's missing
EmreSoku_ joined the channel
#
aaronparecki.com
edited /User:Aaronparecki.com (+247) "update my user page"
(view diff)
#
[eddie]
aaronpk: You got almost all of my notes. Added the only missing stuff into a PR
#
[eddie]
Also, definitely not a near term thing, but I've been trying to figure out how to get my Apple Health data into my possession. I'm thinking forking Compass into a health-focused app might be pretty good. The storage seems good for tracking step counts, heart rate, etc. Plus it allows me to keep all of my data, and then I could create custom rules to send Micropub posts (for example, sending my sleep data to my website, or at midnight, sending a
#
[eddie]
steps for the day. Things like that. Compass (or at the least Quartz) seems like a good starting place for something like that.
#
aaronpk
I was thinking a slightly different approach for the app, basically making it continuously export data from HealthKit to Micropub
#
tantek
what is Apple Health
#
Loqi
It looks like we don't have a page for "Apple Health" yet. Would you like to create it?_
#
aaronpk
the Quantified Self org has an app that exports all your apple health data but it has to be run manually and only exports a csv file
#
tantek
aaronpk is that uppercase QS and not lowercase qs? ;)
#
[eddie]
would you be storing that in your website or a Quartz like database? One of the things I've thought about is step counts. Throughout the day that goes up
#
aaronpk
i haven’t figured out how I want to represent steps on my site yet...
#
aaronpk
i think it doesnt fit well into the “post” format, although most of the apps end up with a post per day kind of display
#
aaronpk
could just update that post throughout the day
#
aaronpk
Not sure where I’d want to sort it tho, probably at the end of the day
#
[eddie]
Ahh gotcha. As I've thought about it from my side it seems helpful to have a fully private database (like Compass) that can store everything. Then the things I was to "post" can happen. For example, at midnight, it could grab my last step count total, grab the time I took my last step and use that as the created time for the post
#
tantek
FYI: for anyone following the "Share API" on Firefox: https://addons.mozilla.org/en-US/firefox/addon/share-backported/
#
aaronpk
yeah true, like the way it handles trips
#
tantek
big question is, how to get Micropub support built into it!
#
[eddie]
Exactly, that was the inspiration.
#
aaronpk
Guess I should add that to my itches
#
tantek
what is Social API
#
Loqi
Firefox Social API is a Firefox browser feature from Mozilla for interfacing with social APIs, on silos, servers running open source installations like Known & WordPress, and servers supporting open protocols like micropub https://indieweb.org/Social_API
#
tantek
and need to update that as being dropped as of FIrefox 57
#
tantek
aaronpk, found the github for it: https://github.com/Mte90/Share-Backported
#
Loqi
[Mte90] Share-Backported: Extension to get back the Firefox Share modal
EmreSoku_ joined the channel
#
eddiehinkle.com
edited /User:Eddiehinkle.com (+525) "/* Working On */"
(view diff)
#
Loqi
[tantek] #24 Support W3C Micropub standard for publishing to sites and OSS
#
sknebel
sebsel: I rather filed that as a bug against Telegraph ;)
#
Loqi
sknebel: sebsel left you a message 3 hours, 2 minutes ago: I did send a webmention via Telegraph, but it gave a 302 redirect, which it didn't follow. That's because I mentioned the http-version, not the https. I think you can solve it by using an absolute URL as endpoint, with https.
#
sebsel
but... you liked to an endpoint that did not exist?
#
sebsel
too tired for specs now
#
sebsel
if you think you should, you should :)
#
sknebel
sebsel: you only get a relative link to that endpoint from an HTTPS page. it's wrong to ever even have it with HTTP
#
sknebel
and fixing it on my homepage is the age-old "work around bugs vs have a chance to get them fixed everywhere" question
#
tantek
unless there's already a test somewhere else to get them fixed, e.g. on webmention.rocks
#
sknebel
it's a webmention.rocks test, still took until it happened "in the wild" to be noticed
#
Loqi
sknebel has 21 karma in this channel (61 overall)
[kevinmarks] and calumryan joined the channel
#
sknebel
reminds me that I need to look into better tracking of updated dependencies for my projects as well
#
sknebel
and look into automating webmention testing (https://github.com/aaronpk/webmention.rocks/issues/24 or some other API and/or easy way to deploy a test thing locally)
#
Loqi
[cweiske] #24 Computer-readable list of discovery test URLs and expected endpoints
#
sknebel
checks itch list
#
tantek.com
edited /Facebook (+195) "/* Downtime */ 2017-10-11 Outage"
(view diff)
#
www.svenknebel.de
edited /User:Www.svenknebel.de (+57) "/* long-term Itches/random ideas */ add wm.rocks explcitly to testing ideas"
(view diff)
#
aaronpk
only 2 hours in and i've already saved a ton of bandwidth by using cloudflare caching for the avatar images https://media.aaronpk.com/Screen-Shot-2017-10-11-15-09-23-mR80ZZy13T.jpg
calumryan joined the channel
#
tantek
wow nice
#
aaronpk
should help cut down my AWS bill next month
#
tantek
from pennies to pennies?
#
aaronpk
no it was like $8 of bandwidth usage!
#
tantek
whoa that's like two coffees!
[cleverdevil] joined the channel
#
[cleverdevil]
Have you had Portland coffee?
#
[cleverdevil]
Its more like 1.5 coffees ?
snarfed and [eddie] joined the channel
#
[eddie]
cleverdevil / grantcodes I was checking out together. I like the different views (photos, checkins, etc). I'm curious, are those supposed to be different "channels" in the microsub sense? Or are those filters on a single channel?
#
[cleverdevil]
We've discussed having "channels" as well.
#
[cleverdevil]
But, there isn't anything like that just yet.
#
[eddie]
Gotcha. So those are filters. aaronpk have you thought through filtering? I'm wondering if we do something like list a "required" attribute when making a timeline call. For example: /microsub?action=timeline&filter=photo would only return posts that contain a photo property?
#
[eddie]
Because as it is now a microsub server would respond to a timeline request with say the last 20 posts in the timeline. If you filtered those down to photos on the client side you might end up with 5 posts in your timeline before requiring another call to action=timeline
#
[cleverdevil]
All good questions ?
#
[eddie]
As you can tell I've been reading through the spec and thinking ?
[kevinmarks] joined the channel
#
[kevinmarks]
the way woodwind does tagged feed filters is nice
#
[eddie]
you mean the "show all posts by X"
#
[eddie]
oh it's called "More from this feed" ?
EmreSokullu joined the channel