jdev - 2019-11-26


  1. Guus

    Not an XMPP question, but since we're all a bunch of nerds here: does anyone have any experience with developing a software project based on a union mount of a project, and a directory that holds the changes to be applied? Basically a weird way to develop a 'fork'?

  2. jonas’

    why would you want to do this?

  3. jonas’

    also, there is xmpp:programming@chat.cluxia.eu?join :)

  4. Guus

    to keep the modifications to a project separate from the original project

  5. Guus

    Openfire had a concept of 'overlays', which was initially developed as a way to apply custom theming to the UI - but quickly grew useful, as you could "overlay" basically all code. With a migration away from Apache Ant a few years ago, that solution became unusable. People are asking for a replacement.

  6. Guus

    I've got a basic setup working, but I was wondering (hoping) that someone would have some practical experience. Things are bound to be funny with metadata like git's, etc.

  7. jonas’

    Guus, isn’t that that what version control is typically for?

  8. nykb

    so ive added the TigaseSwift.xcodeproj to my project

  9. nykb

    And after importing TigaseSwift in a ViewController and build my app

  10. nykb

    i get the error

  11. nykb

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/usr/include/libxml2/libxml/HTMLparser.h:15:10: 'libxml/xmlversion.h' file not found

  12. Guus

    jonas’ version control doesn't really separate a baseline from its changes, in the way that you can easily separate them again / replace the original - unless you start to do rebasing of changes or somesuch.

  13. Guus

    (sorry nykb - I have on clue how to address that)

  14. nykb

    Guus Thank may be someone else may have a clue

  15. nykb

    Got it

  16. nykb

    just need to add $(SDK_DIR)/usr/include/libxml2 to your Header in search paths

  17. jonas’

    Guus, yes. make a branch, put your changes on it, rebase it onto upstream master as needed

  18. jonas’

    that’s much saner than dealing with the weirdness an overlay or unionfs would do to your version control

  19. jonas’

    for instance, the version control knows what you’re doing so you can tell it to pull in upstream changes instead of staring blankly at you

  20. Guus

    Given the enormously of development done on that branch (with many branches of its own), I don't think that this approach will be workable

  21. jonas’

    okay. report back how much pain the unionfs gives.

  22. jonas’

    I’ve found that approach to work even for substantial changes

  23. MattJ

    Sounds like even quilt would be better

  24. Guus

    quilt?

  25. MattJ

    https://linux.die.net/man/1/quilt

  26. MattJ

    Did I just leave the channel briefly?

  27. MattJ

    (I expect the answer is no)

  28. Ge0rG

    MattJ: do you MSN?

  29. MattJ

    True, I do

  30. MattJ

    You can guess what bug I just encountered ;)

  31. jonas’

    quilt is essentially what you’d have when you did the branch thing I suggested, except in bare files and probably less usable during rebase situations

  32. Ge0rG

    MattJ: you can guess who can fix it ;)

  33. MattJ

    My first guess is.... you

  34. Ge0rG

    Then we aren't speaking of the same bug, are we?

  35. MattJ

    Possibly not. I just had the one where yaxim sends type=chat to the room

  36. MattJ

    Got an error bounce, had to edit and resend and it worked

  37. Ge0rG

    MattJ: the one I couldn't reproduce where you didn't send me XML yet?

  38. MattJ

    That one

  39. Ge0rG

    That doesn't count, as I haven't seen XML yet.

  40. Ge0rG

    My speculation back then was that it might be related to weird uppercase in your room JID

  41. MattJ

    I don't think that's the case. If it helps, it happened when sharing from another app... I feel like that may be related, but I could be wrong, and yes I owe you XML

  42. MattJ

    It has happened to me a lot when sending uploads

  43. Ge0rG

    MattJ: that's an interesting new data point

  44. Ge0rG

    MattJ: do you have errored rooms in your "roster"?

  45. MattJ

    Ge0rG: I do, many. Some reporting timeouts despite being on the same server as me

  46. Ge0rG

    MattJ: are those timeouts also issues of yaxim?

  47. Ge0rG

    or of mod_csi?

  48. MattJ

    Hmm, most of the rooms say no response since 7:42am, which is likely the time I disabled flight mode on my phone this morning

  49. Ge0rG

    having multiple errored MUCs is probably a multiplier of race conditions when accessing the mucJIDs map

  50. MattJ

    Fun

  51. Ge0rG

    no response is a different thing from errored out

  52. MattJ

    Ok

  53. MattJ

    Then no, I don't think I see any with errors right now

  54. nykb

    Hello

  55. nykb

    Using the IOS client

  56. nykb

    Message : <message xml:lang='en' to='yaw@yetsix.com/9162781585763495583110' from='edward@yetsix.comm' type='error'> <error type='cancel' code='404'> <remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> <text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>DNS lookup failed: non-existing domain</text> </error>

  57. nykb

    finding it hard to understand why im getting this error

  58. nykb

    im very new to xmpp

  59. pep.

    ".comm" doesn't seem very valid

  60. nykb

    Hmm very true

  61. nykb

    <error type='cancel' code='503'> <service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error>

  62. nykb

    now i get that after fixing comm