-
rion
> Jingle-FT::File: OPTIONAL, but SHOULD be present when offering a file. Can we change SHOULD to MUST here?
-
rion
it's for "size" attribute
-
rion
s/attribute/element/
-
rion
sending files being changed is not a good idea anyway
-
waqas
File systems exist where file size isn't known in advance
-
rion
in use nowadays?
-
waqas
Certainly, e.g., /proc on Linux
-
rion
well ok I guess there are people who ever send files from /proc. certainly not me though.
-
waqas
A generic file transfer building block is useful, e.g., I may choose to offer webdav like services. Note that size tends to be optional in almost all file transfer oriented protocols. Almost nothing mandates it.
-
rion
in any case if I ever sinde files from proc I'd made a cache first
-
waqas
You are thinking of "rion's specific use-case", and not of "general protocol building block usable in a variety of situations"
-
waqas
I sympathize FWIW :)
-
rion
ok ok =)
-
waqas
And you can always cache on the receiver side :)
-
waqas
Same is true for HTTP/webdav/etc, FTP, SFTP, email protocols, etc
-
flow
rion, what would be the benefit of s/SHOULD/MUST/ here?
-
rion
Knowing full size in advance it's somewhat easier to operate with ranged transfers
-
moparisthebest
rion: what if I'm sending you a flac as an mp3 and just converting it on the fly or something
-
flow
rion, sure it is, but what has this to do with s/SHOULD/MUST/?
-
flow
i guess my point is that most implementation will send the size if they know it, while there may be cases where you do not know the size in advance
-
flow
and if we s/SHOULD/MUST/ then those cases would no longer be compliant
-
flow
which probably would not prevent those implementations to perform file transfers without size announcing the size
-
rion
I agree with you guys :) I just thought I can really use it to stream endless media. I already see this SIMS with an online translation :)
-
rion
over s5b =)
-
Zash
What would be a good way to represent a datetime delta in a dataform?
-
jonas’
seconds as floating point?
-
Zash
For eg MAM retention periods and such
-
jonas’
it’ll be a PITA
-
Zash
XEP-0122 has datetime but that's not quite right
-
Zash
https://www.w3.org/TR/xmlschema11-2/#duration Hmmm
-
jonas’
not complex at all
-
Zash
My head hurts