#dev 2017-08-11

2017-08-11 UTC
snarfed, KartikPrabhu, [kevinmarks], eli_oat, eli_oat1, leg, j12t_, Ruxton_, GWG, [miklb], petermolnar and gRegorLove joined the channel
#
gregorlove.com
edited /Huffduffer (+310) "How to: Saving to Huffduffer on Android"
(view diff)
#
gregorlove.com
edited /Huffduffer (+329) "/* How To */ huffduff-video citation"
(view diff)
j12t, loicm, jeremycherfas and KartikPrabhu joined the channel
#
jeremycherfas
MAMP has consistently hung for the past couple of days. I don’t know why. I suppose I had better reinstall.
#
Zegnat
jeremycherfas you could run that stack without MAMP in between, with updates through Homebrew, relatively easily
j12t joined the channel
#
Zegnat
The second part will also help you set-up vhost, which means you can have development domains (e.g. jeremycherfas.dev) instead of subfolders in localhost.
jeremycherfas joined the channel
#
jonnybarnes
I’m having trouble with person-tags, anyone had similar issues? https://github.com/snarfed/bridgy/issues/765
#
Loqi
[jonnybarnes] #765 How do we syndicate person-tags to multiple targets?
j12t, loicm, jeremycherfas and [jeremycherfas] joined the channel
#
[jeremycherfas]
Zegnat: I will take a look, but after an update everything is smooth, so no great pressure to change.
j12t, tommorris, AlanPearce[m], myfreeweb, mblaney, jjuran and jeremycherfas joined the channel
jjuran, KartikPrabhu, snarfed and [cleverdevil] joined the channel
#
[cleverdevil]
Hmm... that post is making me want to submit a change to Known to enable facepiles for non-comment webmentions....
#
Zegnat
sknebel sebsel teaser: http://imgur.com/a/FdcIr
[miklb] joined the channel
#
sknebel
Zegnat: nice
[chrisaldrich] joined the channel
#
sknebel
(Zegnat: I got lost in some permission problem yesterday, but I'll review your other PR tomorrow at latest)
#
Zegnat
No problem, those are just setup fixes, so as long as everyone has already configured their endpoint everything is fine ;)
tbbrown, snarfed, gRegorLove, j12t, [miklb], j12t_, j12t__ and [kevinmarks] joined the channel
#
[kevinmarks]
Facepiles in known would be nice
[cleverdevil] joined the channel
#
[cleverdevil]
I'm adding it to my (long) list of things to explore in Known.
#
[cleverdevil]
I'm still a novice with Known and PHP, but that hasn't stopped me from getting a few things done ?
j12t and j12t_ joined the channel
#
snarfed
hey aaronpk i'm thinking more about u-photo in atom. remember the URL param we added to optionally omit location from content? https://github.com/snarfed/granary/issues/104
#
Loqi
[aaronpk] #104 add an option to not include the location in the Atom content
#
snarfed
i still don't fully grok the non-feed-reader use cases and context...but would this fit that too? ie only render u-photo in atom content if reader=true?
#
snarfed
oh location is also rendered outside content in atom, as georss:...
#
snarfed
so maybe reader=true would toggle btw rendering in content vs an enclosure
#
aaronpk
i had to set reader=false to have it not include the location in the content, which sounds like the opposite of what i want for photo?
#
snarfed
right. you'd only give reader=false to micro.blog etc
#
aaronpk
i guess my real question is what use case is there for *not* including photo in the content
#
snarfed
maybe i'm overthinking it. kinda feel like i'm in a vacuum since i don't have a good feel for the use cases
#
snarfed
i had the same question though, what use case is there for not including location
#
snarfed
evidently micro.blog, but i don't really understand how it consumes
#
aaronpk
location seems different to me
#
snarfed
ok...?
#
aaronpk
i don't consider the location part of my post
#
aaronpk
it's metadata like published date
#
aaronpk
on my site I render it the same as published date even
#
snarfed
granary has similar internal options for whether to render (synthesize) in-reply-to, like-of, etc in content
#
snarfed
i wonder how much consensus we have for which mf2 properties are metadata vs data
#
aaronpk
micro.blog pulls in my content from my atom feed, and I want my posts on there to look as close to my site version as possible
#
snarfed
which implicitly means just your explicit content...but also photos
j12t joined the channel
#
aaronpk
right, because photos are part of the content of a post
#
snarfed
to humans, yes, but not to mf2 parsers
#
snarfed
guess i'm struggling with how to map the obvious human judgments to an algorithm :P
#
aaronpk
you can drop the location property and the post still means more or less the same thing to poeple reading it. but if you drop the photo, the post loses most of its context
#
snarfed
i definitely get that human judgment. i just don't yet see a corollary for it in any mf2 property, parsing rule, or other algorithm that we currently have
#
aaronpk
i think there is probably a short list of mf2 properties that are considered content of a post
#
snarfed
yeah? that would definitely help
#
aaronpk
checks post type discovery
#
snarfed
this may be the root cause of my earlier hesitation, that i couldn't describe well
#
aaronpk
hm i think this is also a case of how to deal with fallback to formats that don't support the full range of post types in post type discovery
#
aaronpk
Atom essentially has only one type of post, an "article"
#
aaronpk
so it's really a question of how do you fall back from a specific post type to an article
#
snarfed
well, and also, how do you do it in semi-html contexts like atom, where everything goes in a single content HTML block
[chrisaldrich] joined the channel
#
gRegorLove
aaronpk: Forgot to leave you a tell about this: https://chat.indieweb.org/dev/2017-08-10#t1502409338413000
#
Loqi
[gRegorLove] aaronpk: Atlas gives me a 500 when I try to get a map of an address. I used the example on the Static Maps API github. Did the syntax change? http://atlas.p3k.io/map/img?marker[]=location:920%20SW%203rd%20Ave,%20Portland,%20OR;icon:small-blue-cutout&...
#
aaronpk
oh yeah i saw
#
gRegorLove
A follow-up question was whether the licensing allows me to save the map images on my site
#
aaronpk
depends on which map tiles you use
myfreeweb and KartikPrabhu joined the channel
#
snarfed
ok aaronpk first rough pass of u-photo in atom content is up, feel free to try. e.g. https://granary-demo.appspot.com/url?input=html&output=atom&url=https%3A%2F%2Faaronparecki.com%2F
#
gRegorLove
Oh, I didn't realize Atlas had different options for tiles
#
gRegorLove
Ah, the basemap=gray
#
aaronpk
and you can set custom tiles and provide a tile URL like with a mapbox API key
#
aaronpk
snarfed++ cool let's see how micro.blog handles it now1
#
Loqi
snarfed has 9 karma in this channel (295 overall)
eli_oat[m], schmarty, zoglesby, plindner, mindB, TheGillies and AlanPearce[m] joined the channel
#
aaronpk
gRegorLove: fixed it!
[kevinmarks] joined the channel
#
[kevinmarks]
So do you consider tags part of the post?
#
aaronpk
[kevinmarks]: not unless they're hashtags in the text like a tweet
#
Zegnat
sknebel, if you are short on time, you might want to prioritise this PR over the other one: https://github.com/Inklings-io/selfauth/pull/28
#
Loqi
[Zegnat] #28 Allow user to cherry pick scopes.
#
Zegnat
Only 2 days late on this PR ?
#
snarfed
aaronpk [kevinmarks]: i wrote up the need for distinguishing data vs medata mf2 properties, feedback welcome: https://github.com/snarfed/granary/issues/113#issuecomment-321897380
#
Loqi
[snarfed] narrowed down the thinking here a bit [in an IRC discussion w/@aaronpk today](https://chat.indieweb.org/dev/2017-08-11#t1502474343806000). some mf2 properties are primarily _data_. `content` and `name` obviously, but also `photo`, as discussed her...
KartikPrabhu joined the channel
#
aaronpk
i'm curious if this is something that could be part of post type discovery, or if it's something else entirely
#
snarfed
seems mostly orthogonal...? not sure
#
Zegnat
Not long ago sknebel and I were looking at mf photo property and post type discovery, wether it could make mistakes or not, with photo being an implied property. Though I don’t think that comes in here either?
#
sknebel
don't think so
#
sknebel
although I don't quite remember the conclusions from that discussion
#
sknebel
I think we didn't find an actual example of a mistake, since everyone has to complicated markup for layouting etc to trigger it?
j12t and j12t_ joined the channel
#
gRegorLove
That's my recollection
[miklb] joined the channel
#
Zegnat
Ah, yeah, I think that was it. If photo was implied it could have consequences (adding u-photo to u-feature etc) but in reality the implied rules are never applied.
#
sknebel
still leaves the question if they are useful then, and if everyone uses complicated enough layout. really need a serverfarm to run random experiments over indiemap data ;)
#
sknebel
(been trying today to download all Let's encrypt certificates ever. need to free disk space for that as well...)
#
sknebel
(correction: not all ever, all in CT logs)
#
snarfed
sknebel: try indiemap? bigquery + regexps and jsonpath let you do some pretty sophisticated queries over the parsed mf2 and raw json, respectively
#
snarfed
free up to 1T queried, then cheap after that
#
sknebel
been playing with it, haven't quite grokked how to use bigquery effectively though
#
snarfed
ok. i don't know much jsonpath myself, but otherwise i'm happy to help
#
Zegnat
snarfed but access to the original HTML? That’s the only way to see if implied u-photo rules were applied (test: is there photo on parsed mf2 but missing as class in html?)
#
Zegnat
should look into indiemap
#
Zegnat
should invent a question that can be solved with indiemap data and propose it as his bachelor thesis
#
snarfed
also WARC files if you need HTTP headers etc
#
sknebel
... didn't bigquery show how much data it touches *before* running a query last time I used it?
#
Zegnat
Just visiting the indiemap rendering page is a chore on 3G for me. I might have to skip bigquery until I am actually at uni again
myfreeweb joined the channel
#
sknebel
seems like I imagined that, can't find it
#
snarfed
Zegnat: oh yeah definitely don't try kumu on 3G. it's just a pretty vis anyway, not a critical part of the dataset
#
snarfed
bigquery UI is light and should be usable on 3G
#
Zegnat
But I had to take a look after IWC, snarfed
#
snarfed
sknebel: yes it did
#
snarfed
sknebel: click on the green check mark
#
sknebel
snarfed: aaahhh, thx
#
sknebel
ok, processing html is $1 per query unless I get it right in 4 tries ;)
#
snarfed
fortunately it doesn't charge you for queries that fail (for any reason)
#
snarfed
also, generate a small view of the pages table, e.g. limit 10000, and save to a new table test on that, will be way less data queried. then only run on the full table once it's working.
#
sknebel
also a good tip
#
sknebel
(for offline I could relatively easily download the full WARCs, but redoing all your processing probably will take ages)
mindB, eli_oat[m], TheGillies, plindner, zoglesby, schmarty, AlanPearce[m] and myfreeweb joined the channel
#
martymcgui.re
edited /delete_your_account (-14) "/* See Also */ de-dupe links"
(view diff)
#
martymcgui.re
edited /Books_about_the_IndieWeb (-1) "/* Kill Process */ remove space from link"
(view diff)
KartikPrabhu joined the channel
#
gRegorLove
deleted deleted
KartikPrabhu joined the channel
#
schmarty
wiki sweeps for audio edition :}
snarfed and mblaney joined the channel