-
junaid
just me or very few projects have implemented XEP-0009
-
MattJ
It's not very common these days. RPC in general has fallen out of favour as an API model.
-
Zash
Generic RPC like that at least. Kinda redundant when <iq> is RPC-ish enough by itself, and then we have XEP-0050+XEP-0004
-
adx
Can someone point me to the spec where it says what kind of characters can't be in a MUC nick/JID resourcepart? I can't seem to find any specifics besides "probably everything UTF-8"
-
Zash
adx, it can be found via https://xmpp.org/extensions/
-
Zash
> RFC 7622 XMPP Address Format
-
Zash
Except that's not the one in use, but the previous one
-
Zash
So, good luck on your RFC adventure ;)
-
Zash
s/the previous/a previous/
-
Zash
It might vary by implementation.
-
Zash
I would recommend preparing a place under your desk to cry if you're delving into these issues.
-
adx
yeah, that's what i've been browsing, but more of a deep dive needed apparently
-
adx
> I would recommend preparing a place under your desk to cry if you're delving into these issues. oh boy, love me some lonely nights
-
Zash
So https://www.rfc-editor.org/rfc/rfc6122 is probably the safe thing to look at until PRECIS gets more widely implemented. Then there's https://www.rfc-editor.org/rfc/rfc7700 that's specifically for nicknames.
-
lovetox
does anyone in code use something different then "jid" for jids?
-
lovetox
like it means jabberid, but i guess we want to get rid of the jabber name? and i wondered even when i got rid of it in the UI
-
lovetox
the whole code is still litered with jabber here and jabber there
-
lovetox
but jid is also so nice and short as var name and ver descriptive, like every dev ever who reads that will exactly know what this is
-
lovetox
xmpp_address is quite long, addr could mean a lot of other things
-
pep.
`sed -i -e 's/jid/xid/g'`? :p
-
Zash
xid.. hah, pep. was faster
-
lovetox
xid :D
-
lovetox
i didnt think of that
-
lovetox
was going for xaddr
-
lovetox
but ok beside the fun, does actually anyone use this in code?
-
lovetox
or will i be the only lost soul :D
-
pep.
Nah we use Jid here (slix, poezio, xmpp-rs)
-
Zash
In prosody there's a few cases like `uploader` that holds a JID
-
Zash
or `user_bare` which holds ... a bare JID
-
Link Mauve
lovetox, Jappix and Movim both went for xid in their code IIRC, but I find it a bit weird since so much documentation is about JID.
-
Link Mauve
By now it’s became a proper noun, and not about Jabber any longer.
-
debacle
pep. Global changes with sed are so dangerous!
-
debacle
lovetox Rename gajim to gaxim when?
-
pep.
debacle, in a repository it's fine, you can see your changes as unstaged :)
-
debacle
but it is so easy to miss an unintended change, if there are too many
-
pep.
CI and tests will catch it right? :P
-
pep.
A bit of optimism
-
pep.
And most of all, your compiler!
-
pep.
#InTheCompilerWeTrust
-
moparisthebest
> but it is so easy to miss an unintended change, if there are too many Not in a good language, thanks Rust