Zash, works for me:
>>> etree.fromstring("""<foo a=' '/>""").get("a")
'\n'
Zash
Didn't we go over whitespace rules recently?
jonasw
I don’t recall
marchas joined
Zash
https://www.w3.org/TR/REC-xml/#AVNormalize
nycohas left
jonasw
circumvents that I think
Zash
> =xml.parse[[<x y=' '/>]]
<x y='
'/>
Zash
Indeed
jonasw
> Note that if the unnormalized attribute value contains a character reference to a white space character other than space (#x20), the normalized value contains the referenced character itself (#xD, #xA or #x9). This contrasts with the case where the unnormalized value contains a white space character (not a reference), which is replaced with a space character (#x20) in the normalized value and also contrasts with the case where the unnormalized value contains an entity reference whose replacement text contains a white space character; being recursively processed, the white space character is replaced with a space character (#x20) in the normalized value.
Ge0rG
Zash: but in values you can have them.
jonasw
replacing the character reference wins over normalizsation to space
Things broke when we escaped non-space whitespace.
Tobiashas left
lskdjfhas joined
Holgerhas left
tuxhas joined
blablahas joined
blablahas left
blablahas joined
pep.has joined
intosihas joined
blablahas left
la|r|mahas left
la|r|mahas joined
ralphmhas left
Guushas left
jonasw
which things?
danielhas left
danielhas joined
goffihas joined
waqashas left
Alexhas joined
ralphmhas joined
Martinhas joined
ralphmhas left
Zash
Things!
jonaswhas left
Zash
Broke interop with M-Link IIRC
jonasw
even if only applied to attributes?
Zash
I don't recall the details
nycohas left
jonasw
aioxmpp escapes newlines etc. in attributes and haven’t had issues with that yet
lovetoxhas joined
Flow
jonasw, which xml API does aioxmpp use (if any)?
jonasw
Flow, for generation, we actually write XML ourselves. for parsing, it’s xml.sax, which is backed by expat in CPython.
danielhas left
jonasw
(the custom writer implements a SAX interface, but with some goodies which were hard to achieve with xml.sax, see <https://docs.zombofant.net/aioxmpp/devel/api/internal/xml.html#aioxmpp.xml.XMPPXMLGenerator>)
jonasw
mostly about encoding, namespaces (and prefixes) and strictness.
SouLhas left
Tobiashas joined
nycohas joined
Steve Killehas left
Flow
jonasw, so does aioxmpp do the escaping or does it happen under the hood of the XML API?
jonasw
let me check, IIRC we invoke some xml.foo method
jonasw
yeah, xml.sax.saxutils.quoteattr -> libexpat on CPython
Steve Killehas joined
Flowfetches the lastest aioxmpp git
Flow
wauza, 75% of aioxmpp's SLOCs are tests. repspect jonasw
jonasw
thank you :)
mathieui
yeah
stefandxmhas left
Steve Killehas left
Syndacehas left
Syndacehas joined
archas left
archas joined
intosihas left
danielhas left
intosihas joined
archas left
archas joined
ralphmhas left
stefandxmhas joined
archas left
archas joined
danielhas left
jcbrandhas joined
intosihas left
intosihas joined
vanitasvitaehas left
jubalhhas joined
ralphmhas joined
uchas joined
danielhas left
uchas joined
marchas left
Alexhas left
edhelashas left
edhelashas joined
jubalhhas left
Zashhas left
lskdjfhas joined
danielhas left
Alexhas joined
vanitasvitaehas left
vanitasvitaehas joined
ralphmhas left
intosihas left
jonasw
edhelas, around?
danielhas left
intosihas joined
danielhas left
jonasw
Guus, is there a way you could give powers to (only) cancel (only) the xeps docker builds?
jonasw
(you, or any iteam member really)
Guus
jonasw: unlikely
jonasw
pity
jonasw
too late now anyways
Guus
the access control is not very fine-grained
Guus
read/write/admin on a repo level, that's all I can find.
jonasw
okay, nevermind then. I’ll just try to make sure that I only need one push then :)
Guus
jonasw: perhaps you can shorten the build duration somehow?
Guus
that'd reduce the impact
jonasw
the PDF build takes ages, I don’t think we can do anything about that
jonasw
if we had incremental builds, that’d be amazing too, but I think that’s not possible with dockerhub
jonasw
or maybe even docker in general
Guus
isn't the entire concept of docker hub that you base images on eachother?
jonasw
I don’t think that we can reasonably base on the previous build, can we?
Guus
I don't know
valohas left
valohas joined
Kev
Not reasonably, no.
Kev
And the idea is that you build up layers, yes, but not generally diffs between multiple versions of the same image.
archas left
archas joined
jonasw
hm, would write access allow me to break things which I can’t break anyways by pushing to the xeps repository?
Guus
as you're an editor, I'm unsure if you shouldn't be allowed to do more damage anyways
nycohas left
Guus
there's actually an 'editors' team there
Guus
Kev, any good reason why editors shouldn't be part of that editor team on docker hub?
nycohas joined
Guus
it now has Kev and Sam
Kev
Don't think so.
Guus
jonasw - can you share your dockerhub accountname?
jonasw
xsfjonas
jonasw
sweet
Guus
hocus, pokus, pilatus, pas...
jonasw
thanks :)
Guus
no problem
moparisthebesthas joined
jerehas joined
ralphmhas joined
lumihas joined
lumihas left
Martinhas left
Tobiashas joined
Valerianhas joined
Zashhas joined
Zashhas left
Martinhas joined
nycohas left
@Alacerhas joined
jubalhhas joined
danielhas left
nycohas joined
Zashhas joined
danielhas left
danielhas joined
Guushas left
@Alacerhas left
@Alacerhas joined
jubalhhas left
ralphmhas left
vanitasvitaehas left
jubalhhas joined
jubalhhas left
edhelas
jonasw pong
jubalhhas joined
jonasw
edhelas, I used "jt" as initials for your change, I hope that’s okay.
edhelas
ah yeah, that was that :D
edhelas
is there a place where this jt alias is defined ?
jonasw
no
jonasw
unfortunately not
jonasw
I feel we should maybe move from "initials" to "handles"
jonasw
initials have low entropy, are prone to collisions, and aren’t used anywhere else in the community, making them hard to resolve
edhelas
I thought that people that participate will appears in Acknowledgements
jonasw
not unless you add yourself, I don’t think that’s the editors task. maybe.
jonasw
(if it is, my apologies)
edhelas
eheh, we should clarify that :p
jonasw
I think the Ack seciton is pretty much at the authors discretion
@Alacerhas left
edhelas
okay
edhelas
maybe point all those initials to https://xmpp.org/about/xsf/members.html with an anchor ?
edhelas
ah, this list can be cleaned up as well, which can break links… mhhh
jonasw
also, you don’t need to be a member to contribute to a XEP
edhelas
true
Ge0rG
edhelas: the members list is much more dynamic than the XEP history
jonasw
I’m looking forward to the fun of a name change.
edhelas
eheh
jubalhhas left
edhelas
whatever, having pubsub#max_items will now allow us to move forward regarding the PEP support on the servers
jerehas joined
jonasw
:)
jonasw
sorry for the delay, I forgot this existed and council voted on it :(
moparisthebesthas left
moparisthebesthas joined
Alexhas left
Kevhas left
lumihas joined
jjrhhas left
moparisthebesthas left
danielhas left
vanitasvitaehas joined
vanitasvitaehas joined
nycohas left
ralphmhas left
nycohas joined
danielhas left
Kevhas joined
Alexhas joined
jjrhhas left
jubalhhas joined
jjrhhas left
jjrhhas left
waqashas joined
ralphmhas joined
danielhas left
jubalhhas left
sonnyhas left
sonnyhas joined
Valerianhas left
sonnyhas joined
sonnyhas joined
peterhas joined
jubalhhas joined
Valerianhas joined
ralphmhas left
dwdhas joined
danielhas left
Steve Killehas left
tuxhas left
Steve Killehas joined
jubalhhas left
peterhas left
peterhas joined
lskdjfhas left
lskdjfhas left
jcbrandhas left
ralphmhas joined
jubalhhas joined
danielhas left
lskdjfhas left
jubalhhas left
ralphmhas joined
lskdjfhas left
lskdjfhas left
jonasw
I note that the log timestamps on http://logs.xmpp.org/council/2017-11-29#15:55:08 are off by a few minutes
jonasw
I think five
jonasw
cc @ iteam
jonasw
intosi, MattJ maybe?
MattJ
We'll need to figure out if there is a docker image for ntp, or make one
MattJ
(only joking)
MattJ
(I think)
jonasw
please be.
Ge0rG
jonasw: re 0392, "Treat the output as little endian and extract the last-significant 16 bits." - "least-significant" and I'm currently questioning whether it's a signed or an unsigned 16 bit number.
intosi
MattJ: right
intosi
Or we might've forgotten we actually care about time, and didn't bother installing ntpd ;)
intosi
Fixed
dwd
intosi, I'm glad you found the time.
intosi
dwd: fixed with minutes to spare.
jonasw
Ge0rG, unsigned
Ge0rG
jonasw: or maybe it doesn't matter at all?
Ge0rG
unsigned shorts are a real pita in Java :>
jonasw
Ge0rG, it matters, I think
Ge0rG
jonasw: "Divide the value by 65536" - shouldn't that be 65535?
jonasw
no
jonasw
we don’t want to reach 1.0
jonasw
because that’s equal to 0.0
jonasw
(in the circle)
moparisthebest
openntpd seems to be a better choice for just keeping time correct, imho
Ge0rG
jonasw: great!
jonasw
(I got that wrong at first, Marcus pointed it out on standards@)
jonasw
*Marcel
jonasw
damn, I got that wrong in the acks
lskdjfhas left
lskdjfhas left
jonasw
Ge0rG, is yaxim about to get XEP-0392 support? :)
jonasw
if so, make it so that conversations can steal it :)
lskdjfhas left
marchas left
lskdjfhas left
MattJ
Conversations stealing code from Yaxim, that'll be the day
lskdjfhas left
marchas left
Zash
-xep 392
Bunneh
Zash: Consistent Color Generation (Standards Track, Experimental, 2017-11-29)
See: https://xmpp.org/extensions/xep-0392.html
Ge0rG
jonasw: I'm working on 0392, yes.
edhelas
wow this XEP
mathieui
edhelas, you haven’t implemented it yet?? even poezio has it
jonasw
*cough*
MattJ
I think it's a well-produced XEP, but really seems like a lot of fuss over something so trivial
edhelas
mathieui wan't to compare sizes of our implemented XEP list ?
jonasw
MattJ, I’m sorry :-)
mathieui
edhelas, no thanks :D
MattJ
I really don't care that much what colours people show up as
MattJ
Seems many people do...
edhelas
mathieui SIMS implemented ? :-°
Ge0rG
MattJ: the important thing is not that all clients show the same color but rather that the palette has good readability
(with "palette stuff" I mean mapping to discrete color palettes, like terminal clients do)
Zash
Seems weird to me to specify as a protocol tho.
jonasw
I wonder if it would’ve been more suited for Informational track, but i don’t care :)
Alacerhas joined
jonasw
(given that we’d want to have this under rather strict change control once it becomes widespread, Standards Track is probably sane)
Alacerhas left
edhelas
meanwhile in Movim https://github.com/movim/movim/blob/master/app/helpers/StringHelper.php#L312 :D
edhelas
the thing is that I'm following the default colors of Material design
edhelas
so I'm wondering how this will fit with this XEP
jerehas joined
jonasw
edhelas, the XEP allows you to use a palette
jonasw
there’s a large section on that
Ge0rG
the Android avatar palette has eight predefined colors or something
jonasw
but I would suggest to not do that and instead use the colors generated by the XEP.
daniel
jonasw, using a palette won't distribute the colors equaly on that palette though, or will it?
SamWhited
I think this XEP was very well thought out and written, but I can't see it being widely used. It's just too much complexity, and too large to implement easily when instead I could just do what edhelas has
jonasw
daniel, it will do that only if the palette is itself equally distributed
daniel
yes... i'm afraid it won't work for me then. i mean i'll happily give it a try if Ge0rG writes the code
marchas joined
daniel
but i really want to keep my color palette
jonasw
SamWhited, the gist of it is pretty much angle = sha1(text)[:2] / 65536 * 2π; cr = sin(angle); cb = cos(angle); and three formulas to convert cr and cb to rgb. maybe it’d help if there was a single block at the beginning which lists that and save the details for later below?
jonasw
daniel, why though?
daniel
jonasw, why i want to keep my palette?
jonasw
yes
daniel
because i want them to fit into the platform
intosi
daniel: +1 :)
edhelas
daniel maybe we can have the same palette, we are both using Material Design colors :)
jonasw
daniel, I *assume* that most such palettes are rather equally distributed
jonasw
if you have the rgb values for them, I’d be happy to check that
edhelaswill introduce XEP-XXXX Material Design color palette
SamWhited
jonasw: that might help, but it will still be a very long complicated XEP, and if I can implement it from just that section why is the rest needed?
SamWhited, special cases (like if you’re restricted to a palette), precision of the description to avoid ambiguities, and color vision deficiency correction
jonasw
daniel, thanks
jonasw
daniel, is that ARGB or ABGR?
daniel
argb
jonasw
I could’ve guessed.
dwd
Argh, maybe.
Guus
Nyco, Ralphm, MattJ, Martin - does board meet now?
MattJ
I was guessing not, because you said you couldn't make it
Martin
I'm here, but wasn't sure if the mailing list thread flattened it
Guus
Wednesdays are very inconvenient. Parking lots, laptops in cars, no heating, and roaming is typically invovled
Guus
as we didn't agree on a new time, I thought I'd check in now.
Guus
fwiw, 2:30pm-3:00pm GMT every Thursday works for me - as suggested on the mailing list - but there's no point in agreeing between the three of us, without Ralphm and Nyco.
MattJ
Indeed
ralphm
I am good with that
MattJ
nyco, around?
Guus
well, we have quorum now - shall we start a meeting now? We can finalize the scheduling once nyco pitches in.
MattJ
wfm
Guus
ralph, do you want to take the lead? You make for a comfortable chair :)
marchas left
Guus
ralphm ^ ?
Guusbangs a gavel
ralphm
Well, I thought it would be very weird to have a meeting without an agreed time
Guusunbangs a gavel
ralphm
First order of business is that we choose a chair and I think we should all be there
Guus
I'm perfectly happy to continue with an acting chair for this meeting.
Guus
I do agree that choosing a chair should involve all of us
lskdjfhas joined
ralphm
No need for an acting chair, I am still a proper one
ralphm
So, hoping that nyco will also agree upon the time, let's go for tomorrow 14:30 UTC
Guusshrugs.
Martin
Sounds good to me
Guus
works for me
Guus
I think all of us are on the same DST switchover date, correct? if so, it'd make sense to anchor it to London time - to prevent a sudden shift twice a year?
Guus
as UTC is London time now, there's no immediate difference.
MattJ
Yes, sensible
ralphm
I'd be very happy to anchor to London
SamWhitedhas left
Ge0rGhas left
Tobiashas joined
jonaswhas left
ralphmhas left
Martinhas left
lumihas left
SouLhas left
Steve Killehas left
Steve Killehas joined
SouLhas joined
Valerianhas left
Valerianhas joined
Ge0rGhas joined
jerehas left
jerehas joined
ralphmhas joined
jerehas left
jerehas joined
danielhas left
uchas left
lskdjfhas joined
Valerianhas left
jubalhhas joined
goffihas left
lskdjfhas joined
jubalhhas left
danielhas left
ralphmhas left
uchas joined
Tobiashas joined
danielhas left
peter
hey, today is my jabiversary: https://mail.jabber.org/pipermail/jdev/1999-November/060711.html :-)
Ge0rG
peter: congratulations! :)
peter
heh
jonasw
peter, nice, in two years we can celebrate your 20th :-)
peter
this is why they call me "Old Man Jabber" ;-)
SamWhited
Oh nice! Congrats indeed!
efrithas joined
efrithas left
efrithas joined
lumihas joined
Tobiashas joined
lskdjfhas left
lskdjfhas joined
SouL
Wow, suuuper nice, happy jabiversary :D
danielhas left
lskdjfhas joined
peanutbutter144has joined
lskdjfhas joined
danielhas left
peanutbutter144has left
lskdjfhas left
lskdjfhas left
Tobiashas joined
Tobiashas joined
SouLhas left
SouLhas left
lskdjfhas left
blablahas joined
efrithas left
nycohas left
nycohas joined
lskdjfhas joined
Kevhas left
archas left
archas joined
danielhas left
lskdjfhas left
Guushas left
jubalhhas joined
la|r|mahas joined
SouLhas left
sezuanhas joined
la|r|mahas left
la|r|mahas joined
la|r|mahas left
dwd
In case anyone still thought the XSF was the weirdest standards org, the IETF has pressed its claim by publishing 18 versions of the DTLS spec within half an hour.
la|r|mahas joined
lskdjfhas left
fippo
dwd: how does that compare to BUNDLE with its 42 revisions?
fippo
granted, over the last five or six years
intosi
peter: congrats, you're now allowed to vote ;)
Guushas left
lskdjfhas left
moparisthebest
what, why (@18 DTLS versions)
sezuanhas left
sezuanhas joined
goffihas joined
zinid
Who cares what IETF is doing, everyone is doing what Google does, what's good for Google bussiness
zinid
</rant>
lskdjfhas left
intosihas left
sezuanhas left
lskdjfhas left
sezuanhas joined
lskdjfhas left
lskdjfhas left
lskdjfhas left
Guushas left
lskdjfhas left
la|r|mahas joined
Kevhas joined
ralphmhas left
lskdjfhas joined
jjrh
Google employees participate in IETF standards. :P
fippo
google employees seem to ignore MUSTs in RFCs written by other google employees. Seems to be a big company.
zash: ietf-discuss is like hackernews for... old ppl?
lskdjfhas left
marchas joined
Guushas left
jjrh
I miss the days when slashdot actually had good news and comments that were insightful
danielhas left
lskdjfhas left
lskdjfhas left
Lancehas joined
jubalhhas joined
lskdjfhas joined
jubalhhas left
pep.has joined
pep.has joined
Alexhas left
Kevhas left
peter
If Brian Carpenter were paying attention to the TLS WG list, he would have known. (Although I still don't understand why ekr felt the need to do that.)