2017-04-05 UTC
[cleverdevil] and [mko] joined the channel
[eddie] joined the channel
tantek joined the channel
gRegorLove, tantek, cweiske and barpthewire joined the channel
# 08:13 petermolnar note to photo people: Amazon Rekognition is not too mature for photo tagging.
# 08:50 petermolnar and I have an interesting observation: none of the big image recognition service (Google Vision API, Amazon Rekognition, Flick; I have not yet tried Watson) takes the in-image GPS in account when trying to guess the contents. I partly understand this, because it's not what you exactly see on the picture, and, of course, it can be wrong or altered, but sometimes it would come extremely handy.
miklb, [kevinmarks], bonfire1 and singpolyma joined the channel
[jeremycherfas] and KartikPrabhu joined the channel
leg joined the channel
# 14:58 aaronpk if it's just rails it shouldn't be too hard to install natively without docker
miklb joined the channel
[kevinmarks] joined the channel
tantek joined the channel
# 15:47 martymcguire[m] looks good from here! the images on the live example have src="undefined", not sure if that's in scope for what you're working on.
# 15:53 aaronpk in particular: the "attendee" property is list of h-cards, this seems to match what's documented on h-event
# 15:53 tantek seems like we are gaining critical mass for attendee
# 15:54 aaronpk I translated "recommend" to "like", since it seems to have a similar function, and also uses a star icon. however, there is very little information on the page, so i made the "like" property just h-cards!
# 15:54 aaronpk comments were straightforward, although they are not from elsewhere so i made them h-entry instead of h-cite, and their URLs have fragment IDs
# 15:54 tantek I wonder if the like should be an h-cite with an h-card or is that too much
# 15:55 tantek no, h-cite is for something that's posted somewhere else and it's not
loicm_, deathrow1 and gRegorLove joined the channel
# 16:31 KartikPrabhu ben_thatmustbeme: you want the u-url and p-nickname inside the h-card
# 16:31 KartikPrabhu otherwise they become the u-url and p-nickname of the parent with h-card inside
# 17:34 ben_thatmustbeme ick, i can't quite figure out how to get the reply context to be a chain, right now i have it just replying to all of the previous feed
# 17:35 Loqi [Ben Roberts] @bob weird that i can't reply from other websites
# 18:22 tantek ben_thatmustbeme: the other way to look at this is as a markup example that may need another way of indicating replying etc.
# 18:22 tantek one of the vague principles in microformats is to be flexible to fit the markup of the page
[kevinmarks] and [manton] joined the channel
# 19:01 tantek ben_thatmustbeme: exactly, not change order of markup
# 19:01 tantek ideally microformats should just add class names to existing markup and "just work"
# 19:01 tantek so when there's a use case that's not quite satisfied with that, we have to figure out alternatives
# 19:02 aaronpk i've had to add a few elements to upcoming to make it work
# 19:02 aaronpk and a common pattern i'm finding that i struggle with is how author avatars are marked up
# 19:02 aaronpk yeah mostly just wrapper classes. i'm trying to not change anything fundamental
# 19:02 tantek aaronpk: interesting, those are likely worth documenting
# 19:03 aaronpk yeah the pattern is basically you want the photo hanging to the left of the comment, and sometimes the markup doesn't allow that
# 19:03 aaronpk like, there's no way to wrap both the photo and the name in an h-card without also encompassing some of the comment text
# 19:03 tantek like there is no div that contains both the photo and the comment?
# 19:03 aaronpk well there is, but it also contains the whole comment
# 19:03 tantek if the alt has the name, you can get it from there
# 19:05 aaronpk either way you're still losing the ability to express something
# 19:05 tantek um, nearly every social network links people's photos to their profile
# 19:07 aaronpk so there's no way with this markup to enclose the image URL, author URL, name and nickname in an element
# 19:07 aaronpk moving the author name and URL to the image solves everything except the nickname
# 19:07 tantek interesting. I feel like I may have run into this exact problem with my own notes markup
# 19:07 Loqi [Ben Roberts] @bob weird that i can't reply from other websites
# 19:07 tantek it's probably ok to not bother with "nickname" because it really is account name
# 19:08 tantek rather than actual nickname that people would call you in person
# 19:09 tantek yeah I wouldn't bother, unless it's an actual nickname
# 19:10 tantek as part of the URL it's already an implicit account name / username
[chrisaldrich] joined the channel
# 19:16 aaronpk there's a lot of children objects on the main object, what are they?
# 19:16 aaronpk also what's the link to this on mastodon so i can see how it looks with css?
[cleverdevil] joined the channel
[keithjgrant] joined the channel
# 19:39 [keithjgrant] CSS Grid is going to make it tricky to wrap microformats around the right content in some instances
# 19:43 [keithjgrant] (at least until Subgrids get added to the spec, but that will be a while)
# 19:44 [keithjgrant] similar issue w/ flexbox too, in theory, but I think practical examples would be much more rare
[jeremycherfas] joined the channel
# 19:45 KartikPrabhu [keithjgrant]: until sub-grids show up one could use grid-items as div-containers with content in them
# 19:46 [keithjgrant] yeah, there are workarounds. But if you want to guarantee alignment of, say, avatars in a series of comments, there won't be a way to wrap an MF class around both the avatar and the comment that appear in each row of the grid
# 19:48 [keithjgrant] avatars not the best example, since you can probably hard-code a set width on those. but some other piece of text that might be variant in length: domain, timestamp, etc
# 20:05 ben_thatmustbeme so it has its context as the p-in-reply-to but also has just a cite of what that replies to
# 20:06 ben_thatmustbeme similarly comments on comments are not cites instead of it thinking that everyone directly replied to this
arush joined the channel
# 20:11 aaronpk alright, i'm happy withthe mf2 on upcoming event pages. now to move to venue pages.
# 20:12 tantek oh! have they restored venue pages? or are these just new venue pages?
# 20:13 aaronpk the venue page links to the foursquare URL for the venue, but doesn't have a link to itself
# 20:14 aaronpk so adding u-url to the foursquare link makes it look like the canonical venue URL is foursquare
# 20:15 aaronpk it's kind of like i'm creating a data structure that gets turned into html that gets turned back into a data structure
# 20:15 tantek wish there was a way to build a relative URL that stripped any ? or #
# 20:25 aaronpk ben_thatmustbeme: it's just hard to see what that page is supposed to look like without CSS
# 20:31 aaronpk ben_thatmustbeme: like, which post on that page is the primary post? it's hard to tell with no css
[eddie] and KartikPrabhu joined the channel
# 20:31 aaronpk "weird that i can't reply from other websites" seems to be the primary post? and the things above that are reply context, and below are comments?
arush joined the channel
# 20:37 aaronpk ben_thatmustbeme: I don't understand why the post with "hi there @broberts" is a child of the h-entry when it's the top post on the page
# 20:42 Loqi [sarah jeong] @chr are likes really florps
arush and [kevinmarks] joined the channel
# 20:54 aaronpk there is no good solution here because the date range is generated by a library, so adding mf2 markup requires support by that library
# 20:54 aaronpk i added support specifically for this to my php library
# 20:54 aaronpk so i'm adding hidden <time> elements with start/end instead
# 21:20 aaronpk ben_thatmustbeme: you got mastodon running locally right? can you try subscribing to @aaronpk@aaron.pk and tell me where it crashes?
# 21:21 aaronpk it uses webfinger to look up the atom feed for a user
# 21:21 aaronpk so it first looks at aaron.pk/.well-known/host-meta with the account provided
# 21:21 aaronpk then there is some other stuff about salmon and signatures i can't figure out
# 21:21 tantek i.e. it would do hub+feed discovery on the URL and if it liked it it just subscribed
# 21:22 tantek waits for someone to deploy a Known instance called WellKnown
# 21:22 tantek and then offer free accounts to all former "The Well" users
[kevinmarks] joined the channel
# 21:57 [kevinmarks] Does the pubsubhubbub hub have a way of telling the subscribers that the origin url has changed?
# 22:01 Loqi ok, I added "https://css-tricks.com/little-stuff-markdown-always-forget-google/" to the "See Also" section of /markdown
# 22:01 Loqi [Chris Coyier] Little Stuff about Markdown I Always Forget and have to Google
[chrisaldrich] joined the channel
# 22:54 tantek GWG: I just heard from Jeremy Zilar, he is looking at getting event space in NYC for indiewebcamp
Alexandar joined the channel
# 23:18 aaronpk oh i didn't set the right content-type header on mine
# 23:20 aaronpk great example of why host-meta is not a good solution
# 23:25 tantek maybe feed it to kevinmarks unmung to see what it does
# 23:37 aaronpk so the one thing I've learned from mastodon which may be useful to us is how the "remote follow" works
# 23:37 tantek though I detest that the UI is bleeding "remote" into the text
# 23:38 tantek why isn't it just "follow"? that is, as a user I should never see a "Remote Follow" button (which is what you see when you view someone's profile)
# 23:42 aaronpk you're on someone's blog, and you see a "follow" button
# 23:42 aaronpk click, takes you to a new page on their site, which has a form input to "enter your URL"
# 23:43 aaronpk once you enter your URL, their server does a GET request to your site to find your "following" endpoint. either as an HTTP Link header or an html link rel.
# 23:44 aaronpk now you're on your own interface, with your own authentication context, so you can log in however, or are probably cookied, and you can confirm the follow action, all which is under the control of your own software
# 23:49 tantek aaronpk, yes that flow makes sense. just s/remote follow/follow
# 23:50 tantek so does that require a new protocol and new discovery?
# 23:51 tantek hmm, sounds like a web action with specific rel discovery underneath
# 23:51 tantek that is, you can replace all the above about "following" someone with "liking" something and it could work the same
# 23:55 aaronpk and for some reason people don't like to have web pages up at the URLs they use for these link rels
# 23:58 gRegorLove aaronpk: Now that venue's confirmed, can we get 2017.indieweb.org/Bellingham set up, including indieweb RSVP and tito links? Let me know if we can push updates to that through github or something.
# 23:58 aaronpk from mastodon: <Link rel="http://schemas.google.com/g/2010#updates-from" type="application/atom+xml" href="https://mastodon.social/users/aaronpk.atom"/>
# 23:58 tantek and this is why using URLs for rel values is basically no better than a string, so you might as well just use a string and stick it in a registry :P
# 23:58 aaronpk <Link rel="http://ostatus.org/schema/1.0/subscribe" template="https://mastodon.social/authorize_follow?acct={uri}
"/>
# 23:59 tantek I think this might be fundamental reason why RDF (which assumes URLs for all names of properties etc.) is a lot more fragile than advocates want to admit
# 23:59 tantek oh wait gRegorLove is actually having a productive conversation, my bad :)