2016-12-21 UTC
KevinMarks joined the channel
# 00:27 KartikPrabhu fixed non-break space problem in fragmentioner.js by hacking all browser selections to work like FF's bad behaviour!
# 00:31 tantek KartikPrabhu: what happens when FF fixes that bug?
# 00:32 KartikPrabhu the new hack simply replaces all whitespace characters by a normal space in the selection text before generating the fragmention
# 00:33 KartikPrabhu this is also what fragmention.js does while comparing to find the element in the HTML
# 00:35 KartikPrabhu also FF selection does this only on whitespace characters. For emdash or endash FF does no funny thing
# 00:40 KartikPrabhu realises that he can't write marginalia on his notes since notes are plaintext represented!
# 00:40 tantek sounds like a good 2017-01-01-commitment goal!
# 00:41 Loqi [Kartik Prabhu] 2017 indieweb commitments
* fix responsive images height issue: currently my responsive images don’t know their heights and so cause flow when they load. This interferes with fragmention for instance.
* fix hfeed2atom to display response-context ...
gRegorLove, gRegorLove_ and tantek joined the channel
KevinMarks joined the channel
# 06:18 KartikPrabhu aaronpk: on indieauth log in interface it would be good to know the year of last scan too
KevinMarks_, tantek and cweiske joined the channel
# 07:27 Zegnat aaronpk: "twitter doesn't return an http 301 redirect always on t.co" - somewhere in the logs there is evidence of me banging my head for this on my rel-me validation
# 07:30 Loqi [aaronpk] oh it was because twitter is doing user agent sniffing on the t.co redirect
tantek, dkm_ and Zegnat joined the channel
# 09:31 Zegnat KartikPrabhu: I don't think browsers expose element categories in DOM. But, you know what, I never checked!
# 09:32 KartikPrabhu yeah, so that could be an obstruction to implementing any element categories in javascript
# 09:33 Zegnat Well, the spec defines them simply by tag names, so it is nothing more than a list of tag names
# 09:34 Zegnat It would be Node.categories ... I am not sure how useful that will be in practice. I bet smarter people have decided that it wouldn't be useful, haha
# 09:35 KartikPrabhu yeah it is a weird thing so documenting and getting more eyes on it would be helpful. Hopefully you can document this stuff when you have the time
# 09:41 Zegnat IndieWeb wiki is probably not the place to document often unused HTML spec categories ;)
# 09:41 KartikPrabhu no but you could phrase the problem with suggestions about element categories
# 10:11 cweiske HTML also has a dedicated attribute for single paragaphs
# 10:11 petermolnar and in case of h-feeds, they can contain varying language h-entries
# 10:13 petermolnar I was asked why I'm not adding the lang tag to html; this is why, so I'm not certain about the other end
# 10:13 Zegnat I protest to your choice of language there, cweiske ;)
# 10:14 KartikPrabhu petermolnar: yes, I think usually mf2 properties are for consumers interpreting them
# 10:14 Loqi [Pelle Wessman] Den oberoende sociala webben 2015
# 10:15 petermolnar now that's one of the weird but relevant examples, where html is en, h-entry is not
# 10:17 petermolnar I'm guessing that if html has this already, there's no need for and additional mf2 thing; I wasn't aware you can add lang to <whatever>
# 10:18 Zegnat It can go on anything, that's what cweiske ment when he said it is a global attribute (spec term)
# 10:20 Sebsel (hm, Loqi cuts the dfn at the . after 'aka.')
# 10:20 Zegnat Yes, i18n has been on a low buffer. Probably because too few implementations are actually out there. voxpelli has one of the few
# 10:21 cweiske my posts all have a lang attribute, but my feeds miss them
# 10:21 Sebsel yeah, I don't think the parsers do anything with them.
# 10:22 Zegnat voxpelli does have lang="sv" in his feed, but not on the h-entry. On the u-url. (His feed is a list of URLs to the permalink pages.)
# 10:23 Zegnat No, it hangs on parsing brainstorming on the mf2 wiki
# 10:23 Zegnat Doesn't mean we can't start filing bugs or pullrequests to get it into the parsers
# 10:26 Zegnat Google might also use them, though they probably run their own language detection as well
# 10:27 Zegnat Actually, I think I discussed hreflang with voxpelli ...
# 10:30 KartikPrabhu oh ok that is a good use-case for mf2 to have a lang attribute detection
# 10:30 Zegnat For a while I made sure to have lang="nl" around my name on my h-card. So theoretically you would get a proper pronunciation from screenreaders.
# 10:31 Zegnat Not sure if I brought that over to my new design.
# 10:31 Zegnat If no language is defined, you can't default to anything. It is simply language-unknown. Unless your parser implements language detection, I guess.
# 10:32 Sebsel yeah I think just don't have a lang/language-field in the Mf2 then? there is no 'name' if there is no 'p-name' either.
# 10:34 Sebsel should get used to reading specs and thus learn to be precise
# 10:34 Zegnat I read specs and often still forget about things that later get specified more precisely in different sections. Specs are not always intuitive ;)
# 10:35 Zegnat sebsel: i18n / lang attributes for next HWC? ;)
# 10:36 Sebsel (because I still need to add lang="??" things to my h-entrys)
# 10:37 Zegnat It was pretty fun to get checkins done (to some extend) during HWC
loicm joined the channel
# 11:40 Sebsel !tell aaronpk I have my own XRay running at http://xray.5eb.nl , and it does not return 500 on seblog.nl (it works!), so I can't debug any further for xray.p3k.io :( should I file an issue?
# 11:40 Loqi Ok, I'll tell them that when I see them next
# 11:53 Sebsel ah, so I just viewed seblog.nl via aaronpk's laptop... wow. but looking up seblog via your tunnlr-thing works too. So it's only the .p3k.io version that has a 500 on seblog and a timeout on licit.li.
j4y_funabashi joined the channel
# 14:18 sknebel sounds like some google app engine trouble then, afaik they had problems with fetching sites before if I remember right (I think that was only sites running on app engine though)
# 14:25 aaronpk !tell KartikPrabhu lol! I guess I never imagined someone would go >1 year without re-scanning the links!
# 14:25 Loqi Ok, I'll tell them that when I see them next
# 14:25 Loqi aaronpk: Sebsel left you a message 2 hours, 45 minutes ago: I have my own XRay running at http://xray.5eb.nl , and it does not return 500 on seblog.nl (it works!), so I can't debug any further for xray.p3k.io :( should I file an issue?
# 14:31 aaronpk found the XRay logs in appengine, it's timing out
# 14:31 aaronpk which is odd because i thought i had set timeouts in curl which would prevent the whole php script from timing out
# 14:34 aaronpk it's also very hard to debug things in appengine because i have to push a whole new version up, i can't just edit files in place
# 14:39 aaronpk attempts to set CURLOPT_CONNECTTIMEOUT in addition to CURLOPT_TIMEOUT_MS
Sebsel joined the channel
# 14:49 aaronpk sebsel: is your server configured to serve the website on your ipv6 address?
# 14:57 Sebsel ah, that's something I wouldn't know a thing about
# 14:58 aaronpk I have a sneaking suspicion that's what's going on
# 14:58 aaronpk I see an IPv6 address for your domain name, which appengine is probably using to connect
# 15:03 Sebsel I have found an IPv6 in my DNS yeah, but not at my server.
# 15:03 Sebsel I have a shared host, hard to find out what's going on
# 15:06 aaronpk okay great. it looks like it has a long TTL, so i'll test again this evening.
# 15:09 aaronpk great. in any case, xray shouldn't be 500'ing on that error, so i'm trying to fix that
# 15:16 Sebsel yeah, if it's a problem on my site, it should point to me :)
# 15:18 aaronpk i'm not sure what i can do to test that specific case
# 15:18 aaronpk it seems like it might be a thing that happens again, so would be nice to tell people
# 15:21 Sebsel I don't know much about this but: get a subdomain that points to a non-valid IPv6?
# 15:22 aaronpk especially because this timeout is proving difficult to capture
# 15:39 Sebsel host-guy confirms: 'Dat is een vreemde situatie.' It's strange. Server has no IPv6, but DirectAdmin thought it had. Fixed now, wait for 4 hours.
# 15:39 Sebsel But yeah, how to get an error-message out of it... no idea.
# 15:50 sknebel aaronpk: what is the issue? it tries to load via ipv6 and somehow doesn't time out properly when there is no response?
# 15:50 aaronpk yeah, for some reason the curl timeout setting isn't effective, so it ends up hitting google's max execution time setting for the whole script
# 15:50 aaronpk and at that point it's too late for me to run any code, even to catch that error
tantek and cweiske joined the channel
# 17:21 aaronpk oh man, the mf1 markup on readwrite.com is wonky and causing problems
# 17:21 aaronpk somehow the post permalink is ending up as the author's URL
tantek joined the channel
# 17:34 aaronpk Bad mf1 markup really messes with the mf2 conversion
# 17:45 bear curl (and the library it uses) will perform a DNS lookup for both A and AAAA and will prefer the ipv6 result
KevinMarks joined the channel
# 19:53 petermolnar a complete, clean build, with all images downsized, all content build with the static generator I'm working on: 11 minutes.
# 19:53 petermolnar It sounds horrible, but that's generating 6 sizes out of 773 jpg images and getting their exif, parsing 987 frontmattered markdown docs and 271 image meta with pandoc to html
# 19:54 petermolnar apart from the image downsizing, the pandoc conversion and the exif reading with exiftool is surprisingly slow
# 19:59 bear you'll need flask for the bits of indieweb that require interaction - micropub and the like
# 20:03 bear ooh - sorry - thought you were trying to get rid of flask completely
# 20:04 petermolnar wrong wording from my side: getting it out as results for a search query
# 20:05 petermolnar btw, I still haven't figured out how to do the following: either asyncio to receive incoming, if it's a webmentions, send it to a greentlet (or similar), respond to client immediately and let the greentlet do the pulling and parsing
# 20:05 petermolnar but this is a problem for another day, I just get this thing up and running first
# 20:08 bear as I was already using it as a ephemeral store for tokens and the like
# 20:10 sknebel I use a folder on the filesystem as a queue, that maybe was *too* old-fashioned a way. but I think I prefer having the webmention verifier in it's own process I can lock down even more. it *shouldn't* be necessary, but...
# 20:11 bear I thought about using the file system but I already had redis and it has pubsub and I have that code ...
# 20:12 sknebel I'm really not sure how one would go about doing normal web handling (wsgi) and asyncio-stuff in one
# 20:12 sknebel bear: sure, redis is a good solution for that, and saves you a lot of headaches about atomicity
# 20:28 petermolnar sknebel that is indeed the issue; unless it's not wsgi, but tornado, in standalone mode, proxied
KartikPrabhu joined the channel
# 21:16 Loqi KartikPrabhu: aaronpk left you a message 6 hours, 51 minutes ago: lol! I guess I never imagined someone would go >1 year without re-scanning the links!
pfefferle and tantek joined the channel
# 22:34 GWG Hi, pfefferle...long time no chat
# 22:35 GWG I owe you a PR or two to try and get Webmentions out the door
# 22:36 GWG pfefferle, still, nice to overlap
# 22:37 GWG pfefferle, it just feels like a good 2017 commitment to release
# 22:38 GWG I may pause my location work for the few pieces I want to send.
# 22:39 pfefferle GWG shouldn't be that much work, at least for the WM plugin
# 22:40 GWG I would like both too, but as an end of year thing...
# 22:44 GWG I saw, I am going to be looking in a few. I had to stop at the store