-
Arc
*cheers* I finally got it to work, Prosody now reports whether a connection is bosh or websocket in the admin telnet
-
靳龙
?
-
靳龙
hello
-
flow
> dwd> If references is counting codepoints (or even bytes) should we be normalizing the text first? Yes, I think you have too
-
dwd
flow, Right - if anything *can* normalize, everything *must* normalize - seems the general rule.
-
flow
dwd, what's the scope of your "general rule"? It appears to me that you have to normlalize in order to identity codepoints interoperable, but usually, e.g., if you just want to exchange <body/>, you don't have to (and I believe most implementations do not)
-
Arc
hey Zash, I sent a bundle to the -dev list. Looking for what to work on next now that I'm getting a handle on lua
-
dwd
flow, Well, if you're reliant on counting codepoints or comparing. Normally we don't care for human text.
-
jonas’
flow, I think normalizing will be bad
-
jonas’
normalizing before sending makes sense, but when receiving, you’ll have to work with exactly the codepoints used in the message
-
jonas’
otherwise we’d have to specify which unicode version to use with References so that everyone normalizes in the same way
-
flow
jonas’, I think both send and recipient have to normalize if something xep message markup is used
-
jonas’
why?
-
flow
nothing gurantees that the way the sender emitted the UTF-8 will be preserved
-
jonas’
err..... what?
-
jonas’
you are saying that there is (aside from intentional modification) no guarantee that the sequence of codepoints I put in an XML element in XMPP arrives as exact that sequence at the receiver?
-
Kev
That's certainly true in some cases, yes.
-
Kev
e.g. where the element has attributes that are JIDs, an entity might very reasonably normalise en route.
-
jonas’
Kev, and <body/>?
-
Kev
It wouldn't surprise me, at least.
-
dwd
jonas’, Well, while I don't know of any implementations that do normalize, there's absolutely nothing in the specifications that says implementations MUST NOT normalize.
-
jonas’
in that case, normalisation needs indeed to be specified, both on the sending (before calculating the offsets) and the receiving side (before matching the offsets)
-
flow
jonas’, I thank there is nothing that guarantees that this will *not* happen, so I better be safe than sorry here
-
flow
*think
-
MattJ
I'm inclined to agree
-
jubalh
I suppose ignoring of users in MUCs and of jids that write to you 1:1 is done by clients. one doesnt tell the server to "dont deliver messages from X", right?
-
Ge0rG
jubalh: https://xmpp.org/extensions/xep-0191.html for 1:1
-
jubalh
thank you Ge0rG
-
dwd
Thinking about it, anytime that data is served from a database rather than simply switched through, probably has been normalized.
-
Ge0rG
except when the database is a legacy mysql?
-
jonas’
dwd, right, archives
-
dwd
jonas’, Exactly.
-
Niraj
mimi89999
-
mimi89999
Yes?
-
MattJ
We need to create some kind of inline syntax that allows you to apply arbitrary semantics to certain bits of text
-
pep.
That'd be great, but we need to make sure it's not too verbose
-
edhelas
I need to mark those ideas down
-
MattJ
I was actually thinking of marking them up
-
Ge0rG
I prefer to mark them right.
-
edhelas
better use a marker for that
-
mimi89999
What are you inventing?
-
MattJ
Some generic markup language
-
mimi89999
What will it be used for?
-
MattJ
The stuff listed here: https://xmpp.org/extensions/xep-0372.html#usecases
-
MattJ
and much more!
-
pep.
I think we need something that looks like a language we all know, but not too close either
-
pep.
Javascript seems like a language we would all know. I'm sure that would make a good markup language
-
pdurbin
I sure hope someone approves the message I sent last night to https://mail.jabber.org/mailman/listinfo/juser
-
pep.
Does that need approval?
-
MattJ
juser still exists, wow
-
pdurbin
"Your message to JUser awaits moderator approval"
-
mimi89999
`<body>But, soft! what light through yonder window breaks? It is the east, and <reference type='mention' uri='xmpp:juliet@capulet.lit'>Juliet</reference> is the sun.</body>`
-
mimi89999
Why is this bad?
-
pdurbin
Does anyone here know a moderator for that list?
-
Zash
mimi89999: body is defined as having only text content
-
mimi89999
s***
-
mimi89999
How can we be sue that the offset will always be the same?
-
pep.
That's what's being discussed
-
pdurbin
I guess I'll wait. Maybe a week. Then I'll ask how to get my post approved.
-
pep.
I'm not sure who has access, board members?
-
MattJ
No
-
pep.
iteam?
-
pep.
I think Seve had access to some of it?
-
MattJ
Some subset of iteam
-
pdurbin
Thanks. Is there a URL for iteam? I can't find it.
-
MattJ
I don't think so
-
MattJ
There is a MUC, but I think everyone in it is also in here
-
Zash
https://xmpp.org/about/xsf/infrastructure-team ?
-
Zash
all outdated of course
-
MattJ
Someone should file an issue about that
-
MattJ
(only kidding, please don't)
-
Zash
There's an issue tracker for that?
-
Zash
I'll file an issue about sending you an email about filing an issue about fixing that.
-
Ge0rG
pdurbin: the easiest and fastest way is to subscribe, then re-send
-
pdurbin
Thanks for the URL. I'm not sure why resending would help.
-
MattJ
I think Ge0rG is suggesting that it only requires manual approval if you're not subscribed to the list when you send
-
MattJ
which is the case with most of our lists I think, so probably that one too
-
pdurbin
I was already subscribed when I tried to post my message. I guess I'll keep waiting. :(