#dev 2016-12-20

2016-12-20 UTC
#
KartikPrabhu
select the bolded bits in FF and CHrome to see the diff
#
KartikPrabhu
anyone what to test this on IE/Edge or Opera?
#
KartikPrabhu
or non-Ubuntu installs
tantek joined the channel
#
KevinMarks
Mac safari matches chrome - %c2a0
#
KartikPrabhu
what about mac FF you have that?
#
KartikPrabhu
this might not be an OS issue but good to check
#
KevinMarks
Mac Ff does %20 too
#
KevinMarks
I tried android Ff, but the script doesn't show an alert
#
tantek
I don't understand the extra %C2
#
KevinMarks
That's utf-8
#
KartikPrabhu
is out for a bit, will check discussion
#
KevinMarks
A0 is over 80 so it gets encoded as 2 bytes
#
KevinMarks
Selection.toString doesn't seem to be in a spec
#
tantek
hmm what does MDN say
#
tantek
specifically, stringifier
#
tantek
!tell KartikPrabhu I think this is the place to file a bug on Selection.toString being insufficiently defined https://github.com/w3c/selection-api/issues with your test case and noting inconsistency between Firefox and Chrome
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
!tell KartikPrabhu this bug might already cover it or you can at least add your test case to it https://github.com/w3c/selection-api/issues/7
#
Loqi
Ok, I'll tell them that when I see them next
#
loqi.me
edited /js;dr (+48) "tantek added "https://news.ycombinator.com/item?id=13212465" to "See Also""
(view diff)
#
tantek
what is canonical?
#
Loqi
The canonical copy of a piece of content is the “truest” copy https://indieweb.org/canonical
#
tantek
what is rel-canonical
#
Loqi
rel=canonical is a way to indicate that a hyperlink links to the original and canonical version of the current page https://indieweb.org/rel-canonical
#
Loqi
ok, I added "https://gist.github.com/aaronpk/786c84682056bcbb5ebdd3d4932d9199" to the "See Also" section of /rel-canonical
#
loqi.me
edited /rel-canonical (+67) "tantek added "https://gist.github.com/aaronpk/786c84682056bcbb5ebdd3d4932d9199" to "See Also""
(view diff)
#
aaronpk
i added the rel=canonical link tag based on my experience using the rel=canonical bookmarklet with success
KevinMarks and jgee joined the channel
#
tantek.com
edited /PBWorks (+1247) "/* Criticism */ Auto-reclaim site-deaths"
(view diff)
KevinMarks, KartikPrabhu, tantek, cweiske and KevinMarks_ joined the channel
#
petermolnar
anyone around using python whoosh for self-hosted search? any good how-to-start on it? :)
#
cweiske.de
edited /Loqi (+112) "/* Commands and Queries */"
(view diff)
#
www.svenknebel.de
edited /Loqi (+68) "multiuser !tell"
(view diff)
mbrock and loicm joined the channel
tantek joined the channel
#
tantek
good morning #indieweb-dev
#
tantek
KartikPrabhu: have you compared selection.toString vs innerText on the same element?
loicm and tantek joined the channel
#
KartikPrabhu
messages?
#
Loqi
KartikPrabhu: tantek left you a message 15 hours, 45 minutes ago: I think this is the place to file a bug on Selection.toString being insufficiently defined https://github.com/w3c/selection-api/issues with your test case and noting inconsistency between Firefox and Chrome
#
Loqi
KartikPrabhu: tantek left you a message 15 hours, 40 minutes ago: this bug might already cover it or you can at least add your test case to it https://github.com/w3c/selection-api/issues/7
#
tantek
KartikPrabhu: also try innerText on the same element for comparison (i.e. if its the same as selection.toString of the entire element or not)
#
tantek
if innerText is inconsistent between browsers, then that is something that is more well specified and we can likely find a bug to file (or another spec to fix, might come down to CSS whitespace processing)
#
KartikPrabhu
ok i'll check
#
KartikPrabhu
innerText on both FF and Chrome gives the UTF-8 encoded non-break space
#
KartikPrabhu
so selection.toString is the problem in FF
#
tantek
KartikPrabhu: a-ha! then that's the bug to report, on bugzilla.mozilla.org
#
tantek
and definitely add me to the cc list
#
tantek
feel free to paste the bugzilla URL here when you've got it
#
ben_thatmustbeme
aaronpk, that worked, now able to parse context from hubzilla/friendica sites https://ben.thatmustbe.me/note/2016/12/19/2/
#
Loqi
[Ben Roberts] testing out hubzilla's permalink parsability
#
ben_thatmustbeme
now all they need is to support receiving webmentions on their end
#
aaronpk
what worked?
#
tantek
ben_thatmustbeme: we should document the steps you're advocating / getting working in /friendly
#
tantek
receiving webmentions is a pretty big step
#
tantek
unless someone already has infrastructure for handling federated comments
#
ben_thatmustbeme
aaronpk, looking for the actual URL to match up
gRegorLove and loicm joined the channel
KartikPrabhu and tantek joined the channel
#
KartikPrabhu
tantek: what should I use to cc you on the bug report?
#
tantek
there's an add CC area near the top right
#
tantek
if you start typing my name, it should autocomplete you to tantek@...
#
KartikPrabhu
oh yeah ok. it wasn't obvious that it'll auto complete
#
KartikPrabhu
should I include my javascript in the comment or simply link to my demo
#
tantek
linking should be fine, perhaps add a comment saying if anyone wants to copy the JS inline, they may go ahead
#
KartikPrabhu
feel free to add other OS confirmations
#
aaronpk
jeez. twitter doesn't return an http 301 redirect always on t.co
#
aaronpk
sometimes it's an http 200 with an HTML redirect
KevinMarks, KevinMarks_ and KartikPrabhu joined the channel