XSF Discussion - 2019-07-10


  1. rion

    > Jingle-FT::File: OPTIONAL, but SHOULD be present when offering a file. Can we change SHOULD to MUST here?

  2. rion

    it's for "size" attribute

  3. rion

    s/attribute/element/

  4. rion

    sending files being changed is not a good idea anyway

  5. waqas

    File systems exist where file size isn't known in advance

  6. rion

    in use nowadays?

  7. waqas

    Certainly, e.g., /proc on Linux

  8. rion

    well ok I guess there are people who ever send files from /proc. certainly not me though.

  9. 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.

  10. rion

    in any case if I ever sinde files from proc I'd made a cache first

  11. waqas

    You are thinking of "rion's specific use-case", and not of "general protocol building block usable in a variety of situations"

  12. waqas

    I sympathize FWIW :)

  13. rion

    ok ok =)

  14. waqas

    And you can always cache on the receiver side :)

  15. waqas

    Same is true for HTTP/webdav/etc, FTP, SFTP, email protocols, etc

  16. flow

    rion, what would be the benefit of s/SHOULD/MUST/ here?

  17. rion

    Knowing full size in advance it's somewhat easier to operate with ranged transfers

  18. moparisthebest

    rion: what if I'm sending you a flac as an mp3 and just converting it on the fly or something

  19. flow

    rion, sure it is, but what has this to do with s/SHOULD/MUST/?

  20. 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

  21. flow

    and if we s/SHOULD/MUST/ then those cases would no longer be compliant

  22. flow

    which probably would not prevent those implementations to perform file transfers without size announcing the size

  23. 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 :)

  24. rion

    over s5b =)

  25. Zash

    What would be a good way to represent a datetime delta in a dataform?

  26. jonas’

    seconds as floating point?

  27. Zash

    For eg MAM retention periods and such

  28. jonas’

    it’ll be a PITA

  29. Zash

    XEP-0122 has datetime but that's not quite right

  30. Zash

    https://www.w3.org/TR/xmlschema11-2/#duration Hmmm

  31. jonas’

    not complex at all

  32. Zash

    My head hurts