right, and that first stanza could be whatever action the user triggered
jonas’
also, I’m not sure that blocking most of the UI on intermittend network failures is a good thing
lovetox
Gajim blocks all UI, you cant even write messages ^^
jonas’
meh
lovetox
i agree its not good
lovetox
but it needs a lot of work to cache all message, make good ui for it, so the user sees whats sent and what not etc
lovetox
and then you still have to think alot about the things you just thinign now
jonas’
indeed
lovetox
have to go, see you later
jonas’
gl
moparisthebesthas joined
Tobiashas joined
Valerianhas joined
lnjhas joined
sonnyhas left
sonnyhas joined
dedekinhas joined
Valerianhas left
vaulorhas joined
dedekinhas left
lorddavidiiihas left
lorddavidiiihas joined
Tobiashas joined
Tobiashas joined
thorstenhas left
genofirehas left
Guushas joined
dedekinhas joined
thorstenhas left
thorstenhas left
lorddavidiiihas left
dedekinhas left
alacerhas left
alacerhas joined
alacerhas left
alacerhas joined
lovetoxhas left
lskdjfhas joined
j.rhas joined
lovetoxhas joined
j.rhas joined
pep.has joined
dedekinhas joined
APachhas left
lorddavidiiihas joined
rionhas left
rionhas joined
cookiehas left
j.rhas joined
cookiehas joined
APachhas joined
Guushas left
jshas joined
guusdkhas left
guusdkhas joined
jshas left
Guushas joined
guusdkhas left
valohas left
valohas joined
guusdkhas joined
Guushas left
Guushas joined
blablahas left
j.rhas joined
!xsf_martinhas left
!xsf_martinhas joined
Guushas left
alacerhas left
alacerhas joined
flow
jonas’, smack das also resend unacked stanzas on resumption FWIW
jonas’
flow, on failed resumption?
jonas’
note that this is all about failed resumption.
flow
yes, alswas
flow
IIRC
jonas’
huhm.
flow
I see the issues you mentioned, but one has to weight it against the advantages
jonas’
I think this conflicts with the state resync which aioxmpp (i think correctly) does after a failed resumption too much to do this by default
jonas’
although it could be interesting to auto-resend stanzas after everything else has reported that state has been synced (e.g. MUCs rejoined)
jonas’
but that would give things even more time to diverge unknowingly…
flow
hmm, also sounds like to much complexity for a minor/very rare/(non existent?) issue
jonas’
yeah, I also don’t think this is a good idea
jonas’
I think I’ll go the route of: resumption failed? -> mark acked stanzas as acked, mark unacked stanzas as failed and let the application/services deal with it
jonas’
because that’s the only way I can provide clear guarantees to the using code
jonas’
and aioxmpp is all about clear guarantees
flow
now I wonder what the code really does on failed resumption, let me check
flow
yeah, smack does simply resend in every case
jonas’
ok
genofirehas joined
jonas’
I’ll go with "make unacked stanzas fail"
Marandahas joined
jonas’
this makes "failed resumption without @h" just a special case of "failed resumption with @h", which is conceptually very nice.
lorddavidiiihas left
jonas’
and provides consistency.
Alexhas joined
lorddavidiiihas joined
thorstenhas left
thorstenhas joined
Guushas joined
moparisthebesthas joined
moparisthebesthas joined
!xsf_martinhas left
sonnyhas joined
sonnyhas joined
sonnyhas joined
sonnyhas joined
sonnyhas joined
Zashhas joined
Guushas left
Guushas joined
intosihas left
Guushas left
danielhas left
Ge0rG
jonas’ [12:10]:
> I’ll go with "make unacked stanzas fail"
That's a good approach. In yaxim, I'm re-sending all messages that are pending, after a reconnect. But obviously only proper messages
flow
Ge0rG, so no presences? how do you prevent lost presence updates?
flow
by remembering the last presence and resend it on reconnection/failed resumption?
Ge0rG
flow: when resumption fails, you need to redo all presence anyway
vinx55has joined
Ge0rG
flow: I'm sending presence from the client preferences on connect
!xsf_martinhas joined
flow
ok, nice idea, so on failed resumption you filter messages stanzas out of the list of pending stanzas and only send those
flow
that could work
flow
and on successfull resumption one could remove all but the last self-presence stanza, although that optimization probably won't give you much in most cases
jonas’
on successful resumption, you don’t need to do anything
flow
you don't need do, right
jonas’
ahh, I see, you want to CSI-style collapse multiple queued outbound stanzas
flow
yeah, just some premature micro optimization that nobody should do client side :D
jonas’
heh
flow
bbl
jonas’
gl
Guushas joined
guusdkhas left
guusdkhas left
guusdkhas joined
dedekinhas left
tahas joined
tahas joined
tahas left
tahas joined
vinx55has left
dedekinhas joined
blablahas left
tuxhas joined
alacerhas left
tuxhas joined
Ge0rG
The issue with that is that you need to fix the counters. There is a big chance to f* it up.
jonas’
you don’t need to fix counters for stanzas which haven’t been sent to the server yet (only queued)✎
vinx55has joined
jonas’
you don’t need to fix counters for stanzas which haven’t been acked by the server yet (only queued / sent without ack)✎✏
jonas’
you don’t need to fix counters for stanzas of which the server said it didn’t receive them upon resumption ✏
Seve
So I sent my application for Board. Please wish me lucky stanzas!
jonas’
\o/
alacerhas joined
jonas’
so we’ll at least have a competition for board this year...
jonas’
Link Mauve, https://wiki.xmpp.org/web/index.php?title=Emmanuel_Gil_Peyrot_for_Council_2018&action=edit&redlink=1
Seve
Very healthy indeed!
jonas’
well, maybe. ralphm and arc still need to do their applications.
jonas’
Seve, sounds great :)
Seve
By the way, last time I think I also had the same problem. Not sure if it was me or some kind of cache. My application link still appears in red colour. Do you remember what was it, jonas’? I feel you were also in the discussion last time I mentioned that.
jonas’
yes, that’s some caching
jonas’
I think there’s a magic thing you can say to mediawiki to purge the caches, or you just wait
jonas’
there we go
jonas’
append ?action=purge to the URL
Seve
Woah, lovely! Saving that for next time, thanks, jonas’!
jonas’
Even though I’m sure that Alex will click the links to be sure that there really is no application before removing candidates when the application period closes :)
jonas’
(when clicking the link, you get shown the actual existing page, not the "no page here" page)
tuxhas joined
matlaghas left
Guushas left
Guushas joined
tahas left
tahas joined
Guushas left
j.rhas joined
lskdjfhas joined
alacerhas left
j.rhas joined
alacerhas joined
lskdjfhas left
marchas joined
Guushas joined
guusdkhas joined
lskdjfhas left
alacerhas left
alacerhas joined
Guushas left
Guushas joined
guusdkhas left
guusdkhas joined
jmpmanhas joined
alacerhas left
j.rhas joined
danielhas left
danielhas joined
Guushas left
jmpmanhas joined
j.rhas joined
lskdjfhas joined
Alexhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
j.rhas left
lskdjfhas left
lskdjfhas left
lskdjfhas left
alacerhas joined
Yagizahas left
Yagizahas joined
rionhas left
rionhas joined
lskdjfhas joined
j.rhas joined
pep.has left
jonas’
hm
SamWhitedhas joined
ralphm
Yes , I do. Haven't copy/pasted yet
Andrew Nenakhovhas joined
dedekinhas left
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
waqashas joined
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
Andrew Nenakhovhas left
thorstenhas joined
Andrew Nenakhovhas joined
jonas’
https://github.com/horazont/aioxmpp/pull/254/commits/f014831357cb7804c0ba6a5b45ebc65f62064bcf#diff-46a421af09863be52f28a8bb03d339d1R34
this is what I went for
jonas’
(regarding the stream management discussion from earlier)
Andrew Nenakhovhas left
Andrew Nenakhovhas joined
dedekinhas joined
ThibGhas joined
ThibGhas joined
moparisthebesthas joined
moparisthebesthas joined
vinx55has left
dedekinhas left
vanitasvitae
ralphm, can you replace my old blog (https://blogs.fsfe.org/vanitasvitae/category/xmpp/feed/)
on the planet with my new blog
(https://blog.jabberhead.tk/category/xmpp/feed) ?