What's not to get about the mam thread. Closing gaps is incredibly difficult in current MAM.
daniel
I can totally see why they want to retrieve a list of all ids
rtq3has left
rtq3has joined
jonasw
yeah, I realized that while writing my reply
daniel
Also when you are woken up by the os after a push I can see why you maybe want to just get one message instead of all the back log
Guushas left
jonasw
but assuming that with bad connection, the overlap between the "huge" gap (which spans from "last message ID of the gapless huge block in the past to now) and messages received inbetween should be small enough to not worry about the overhead?
daniel
I might not do that in my application.
daniel
But I can see why someone would want to do that
Kev
How is filling a hole hard? You say "Give me stuff between these ids".
jonasw
yeah, I don’t see the problem with that; the push service should just deliver that ID.
jonasw
Kev, what if you don’t have those IDs?
daniel
Kev: remembering where the gaps are is
jonasw
because you don’t get IDs for messages you sent!!k
lovetoxhas joined
Dave Cridlandhas left
ralphmhas joined
dwdhas left
intosi
jonasw: you have ids of things surrounding the gap. You can use the start and end of a returned set that isn't complete.
jubalhhas joined
intosi
* first / last
jonasw
intosi, *if* you actually have the IDs, yes
jonasw
but it makes things more complex than "query MAM from the last ID you got"
Kev
Other than sent messages, which are an obviously different problem, why would you not have them?
intosi
^ what Kev asked
jonasw
Kev, other than that, you’d have them if your server supports giving you IDs on carbons
intosi
If you know there's a hole, you have a first and a last id.
Dave Cridlandhas left
jonasw
I am just arguing that the suggesiton from that thread that all you’d have to do is to query since the last ID:
> And how it is more simple than "the latest message I have has ID XXXXX, request all messages since XXXXX"?
is not correct.
dwdhas left
Dave Cridlandhas left
rtq3has left
Guushas left
Kev
jonasw: It depends what you're trying to achieve.
Kev
If you want complete sync, then Edwin is right.
Kev
If you only want recent sync, then the holes don't matter so much.
Kev
But in any case, ISTM that filling the holes is possible anyway.
Kev
Assuming you get the ids on messages sent/received, but those are orthogonal issues.
jonasw
Kev, yes, it is possible
Dave Cridlandhas left
ralphmhas joined
lovetoxhas left
jonasw
so I drafted this: https://github.com/jabbercat/jabbercat/issues/26#issuecomment-370333729
jonasw
would that work or do I have a logic fault in that?
jonasw
(regarding backfilling holes)
jonasw
s/event/message/ if you can’t follow
dwdhas left
rtq3has joined
daniel
jonasw: sounds pretty complicated considering the general dump clients approach of xmpp
ralphmhas joined
jonasw
I find it rather okay-ish. It has the advantage (compared to a list of stanza-IDs from the server) that I can dedup properly even if I don’t get stanza-ids on all stanzas, which is sadly currently the state-of-the-xmpp-art
daniel
jonasw: i agree with you that it is _possible_ to close gaps. But at what cost. Do you really want to point every xmpp developer to that algorithm?
jonasw
one could also simply keep track of the last "MAM-confirmed" message and always sync from there.
jonasw
the number of dups should be neglectible anyways if sync failed due to bad network.
daniel
> one could also simply keep track of the last "MAM-confirmed" message and always sync from there.
That's what I do. And I only dedup once because then I put the mam ID in the dedupped message by the way
daniel
But thats a different thing than closing gaps
Kev
Sounds straightforward enough.
jonasw
daniel, in the end, the gap is closed; what do you consider "closing gaps"?
daniel
I love how for every xep there is ab 'algorithm' or an explanation on some random persons blog or github like here is how you use that xep.
Dave Cridlandhas left
dwdhas left
jubalhhas left
dwdhas joined
Guushas left
goffihas joined
dwdhas left
Guushas left
Steve Killehas left
Steve Killehas left
Steve Killehas joined
Guushas left
remkohas joined
jubalhhas joined
jubalhhas left
Tobiashas joined
la|r|mahas joined
Guushas left
Tobiashas joined
la|r|mahas left
la|r|mahas joined
Steve Killehas left
Steve Killehas joined
Martinhas joined
suzyohas joined
andyhas joined
Guushas left
andyhas left
jubalhhas joined
Martinhas left
SaltyBoneshas left
Seve/SouLhas joined
Martinhas joined
SaltyBoneshas left
jubalhhas left
SaltyBoneshas joined
Dave Cridlandhas left
lumihas joined
rionhas joined
Dave Cridlandhas left
andyhas joined
dwdhas joined
Dave Cridlandhas left
Dave Cridlandhas left
SaltyBoneshas left
dwdhas left
goffihas left
goffihas joined
rtq3has joined
andyhas left
dwdhas left
rionhas left
rionhas joined
tim@boese-ban.dehas joined
lskdjfhas left
ralphmhas left
ralphmhas left
Martinhas left
danielhas left
danielhas joined
ralphmhas joined
ralphmhas joined
Fabianhas joined
Martinhas joined
Yagizahas left
andyhas joined
rtq3has joined
rionhas left
rionhas joined
Seve/SouLhas left
Seve/SouLhas joined
vanitasvitaehas left
vanitasvitaehas left
Alexhas joined
Kevhas left
danielhas left
danielhas joined
Yagizahas joined
Syndacehas left
Syndacehas joined
danielhas left
danielhas joined
ralphmhas joined
ralphmhas joined
danielhas left
danielhas joined
ChaosKid42has left
ChaosKid42has joined
danielhas left
danielhas joined
mrdoctorwhohas joined
tuxhas joined
ralphmhas left
jubalhhas joined
jubalhhas left
jubalhhas joined
ralphmhas joined
jubalhhas left
jubalhhas joined
jubalhhas left
andyhas left
jubalhhas joined
moparisthebesthas joined
SaltyBoneshas left
danielhas left
danielhas joined
ChaosKid42has left
ChaosKid42has joined
lskdjfhas left
moparisthebesthas joined
ralphmhas joined
edhelas
https://github.com/signalapp/Signal-Android/issues/7460 Signal down
Ge0rG
Time to blow the xmpp horn!
lskdjfhas joined
ralphmhas joined
Ge0rG
Oh, it's up again, only was down for two hours
Holger
Damn.
SaltyBoneshas left
SaltyBoneshas joined
Martinhas left
Dave Cridlandhas left
Nekithas left
Nekithas joined
valohas joined
valohas joined
SaltyBoneshas left
danielhas left
danielhas joined
danielhas left
danielhas joined
danielhas left
danielhas joined
lskdjfhas left
danielhas left
danielhas joined
danielhas left
danielhas joined
danielhas left
danielhas joined
jerehas joined
valohas left
valohas joined
danielhas left
danielhas joined
jerehas left
jerehas joined
la|r|mahas left
jerehas joined
danielhas left
danielhas joined
Yagizahas left
jerehas joined
jonasw
vanitasvitae, wouldn’t the MAM usage you proposed on standards@ cause a long-connected client to re-download all messages it alread has received live?
ralphmhas joined
dwdhas left
Guushas left
vanitasvitae
jonasw: sorry, I'm not sure which proposal you are talking about :D
jonasw
vanitasvitae, the email which starts with:
> Maybe it helps to write down how most xmpp devs use MAM
jonasw
oh damn
vanitasvitae
:D
jonasw
I think I got you confused
vanitasvitae
Wasnt me probably
jonasw
which also explains why "you" are so proficient with MAM, that was unexpected to me
Suddenly Swift's issue reporting doesn't seem so bad, does it? :)
marmistrzhas left
Martinhas left
Link Mauve
You mean closing any issue and opening it in your internal bugtracker, where you can say exactly the same thing without me knowing it? :p
Kev
I think the 'without you knowing it' bit matters :)
Kev
I mean, no, we'd never do that!
iiro.laihohas joined
iiro.laihohas left
intosi
😼
winfriedhas left
winfriedhas joined
suzyohas joined
Yagizahas joined
ChaosKid42has left
ChaosKid42has joined
Alexhas left
Guushas left
lskdjfhas left
lskdjfhas joined
lskdjfhas left
danielhas left
danielhas joined
Guushas left
suzyohas joined
Kevhas left
jubalhhas joined
moparisthebest
Link Mauve, to be fair that scanner thing had a ton of false positives, even on conversations...
moparisthebest
in fact what I've seen of it was *only* false positives up to now
Link Mauve
moparisthebest, they haven’t been able to scan Conversations because you have to pay for it.
moparisthebest
oh, was it a different scan then?
moparisthebest
I'm having trouble finding it but there was definitly a 'scan report' released recently that accused conversations of having trackers too
lskdjfhas left
lskdjfhas left
lskdjfhas left
jubalhhas joined
jjrhhas left
jjrhhas left
Link Mauve
moparisthebest, there was one for some Conversations “plugin”: https://reports.exodus-privacy.eu.org/reports/search/eu.siacs.conversations.sharelocation
Link Mauve
But that’s not Conversations.
j.rhas joined
danielhas left
danielhas joined
marmistrzhas left
jubalhhas joined
lskdjfhas joined
jjrhhas left
lskdjfhas left
andyhas joined
SaltyBoneshas left
jubalhhas joined
Dave Cridlandhas left
lskdjfhas left
rtq3has joined
andyhas left
SaltyBoneshas left
lskdjfhas joined
lskdjfhas joined
suzyohas joined
lskdjfhas left
lskdjfhas left
lskdjfhas left
intosihas left
lskdjfhas joined
lskdjfhas left
lskdjfhas joined
lskdjfhas left
lskdjfhas left
lskdjfhas left
lskdjfhas left
SaltyBoneshas joined
Guushas left
lskdjfhas joined
andyhas joined
ChaosKid42has left
jubalhhas joined
Alexhas joined
ChaosKid42has joined
danielhas left
danielhas joined
danielhas left
ralphmhas left
danielhas joined
danielhas left
danielhas joined
SaltyBoneshas left
danielhas left
Guushas joined
Guushas joined
danielhas joined
Guushas joined
tim@boese-ban.dehas left
ralphmhas joined
danielhas left
danielhas joined
danielhas joined
ralphmhas joined
danielhas left
danielhas joined
danielhas joined
mimi89999has left
j.rhas left
mimi89999has joined
jubalhhas joined
jubalhhas left
danielhas left
danielhas joined
j.rhas joined
danielhas left
danielhas joined
danielhas left
danielhas joined
SamWhited
I hatethose things, they always say stuff without any context
SamWhited
'ACCESS_COARSE_LOCATION Dangerous' … umm, no, it's a mapping app, that's expected.
danielhas joined
Guushas left
jerehas joined
suzyohas joined
jubalhhas joined
danielhas left
danielhas joined
danielhas left
danielhas joined
lskdjfhas joined
danielhas left
danielhas joined
lskdjfhas left
lskdjfhas left
jubalhhas left
jubalhhas joined
Seve/SouLhas joined
ralphmhas joined
jubalhhas left
Marandahas joined
goffihas left
suzyohas joined
suzyohas joined
jubalhhas joined
rtq3has left
jubalhhas left
jubalhhas joined
jubalhhas left
rtq3has joined
Dave Cridlandhas left
Ge0rGhas left
Link Mauve
https://reports.exodus-privacy.eu.org/reports/2332/ otoh, is doing well.
Link Mauve
SamWhited, or internet access, for an application opening a TCP connection on a non-HTTP port. :p
Yagizahas left
dwdhas left
SamWhited
Isn't Android's INTERNET permission just implicit and given to everything? That one seems really extreme
moparisthebest
yes
jonasw
lolwat, INTERNET "dangerous"?
moparisthebest
I thought they were changing that at some point, maybe 8 or in the future?
lovetoxhas joined
moparisthebest
this is one of the now fewer reasons why I insist rooting is necessary for a secure android phone
moparisthebest
(because you can firewall applications from the internet that way)
jonasw
I’m more worried about android or the telephony itself being massively insecure. If I wouldn’t trust the apps I’m running, I can trash the device right away I feel.
Link Mauve
Anyway, these guys are very open to suggestions, I can pass any you have.
SamWhited
I'm more worried about "scanners" like this training non-technical users to look at exactly the wrong things.
jonasw
yeah
jonasw
scanning for trackers is probably sane
SamWhited
Not IMO
jonasw
dunno
Link Mauve
SamWhited, when you see things such as https://blog.acolyer.org/2018/03/05/apps-trackers-privacy-and-regulators-a-global-study-of-the-mobile-tracking-ecosystem/
Guushas left
jonasw
depends on how safe against false-positives it is
Link Mauve
It’s not exactly “the wrong thing”.
SamWhited
I'm aware, but Google's app analytics stuff isn't that.
Link Mauve
jonasw, it isn’t, because by European laws they are not allowed to decompile or anything.
Link Mauve
Their tester is a glorified grep.
jonasw
I would not support a statement which said that "google analytics is exactly the wrong thing to look at when checking how privacy friendly a thing is" though
Link Mauve
I block Google Analytics on the web, I would do the same if I had a phone.
Seve/SouLhas joined
dwdhas left
moparisthebest
yea but if you voluntarily use the google play store to install apps, that seems like a hard opt-in to google analytics tracking to me
moparisthebest
which is why I only use f-droid personally
waqashas joined
Link Mauve
moparisthebest, most people don’t know alternatives even exist.
Link Mauve
They use what was installed when they bought their phone.
Zash
Windows monopoly all over again
moparisthebest
I know, depressing :'(
Link Mauve
moparisthebest, does Google Play Store leaks when you launch applications or what you do in them, or something?
moparisthebest
additionally most phones don't allow you to remove google play, again, you have to root it for that
Link Mauve
Or is it just what you install and when?
moparisthebest
I know it can uninstall apps and install updates without your permission too
moparisthebest
so *probably* all of those things?
moparisthebest
wait did you say only https wasn't a red flag? why is TLS on 443 any less suspicious than other ports? :'(
danielhas left
Link Mauve
“18:05:56 jonasw> lolwat, INTERNET "dangerous"?”, I asked them, apparently the category is given by Google.
jubalhhas joined
andyhas left
danielhas joined
Steve Killehas left
Steve Killehas left
daniel
That quoting
Link Mauve
Sorry, I haven’t worked on poezio in a long time. :x
Steve Killehas joined
SaltyBoneshas left
suzyohas joined
marmistrzhas left
valohas left
valohas joined
ralphmhas left
jubalhhas joined
Steve Killehas left
ralphmhas left
goffihas joined
marmistrzhas left
@Alacerhas left
waqashas left
@Alacerhas joined
jjrh
Anyone have any recommendations for a simple XMPP git bot?
rion
github sends me notifications on commits. maybe their bot is opensource. I don't know.
j.r
rion: how?
jjrh
Yeah github has uh hubot? It's kinda a giant thing that does a whole lot more than respond to a on commit hook
Zash
There's one that announces commits in the poezio room, ask them what they use.
jjrh
Thanks Zash
Dave Cridlandhas left
Zash
IIRC it got added to Github itself, somehow.
Guushas left
danielhas left
Link Mauve
I think there is one by github themselves, which they host, and a ruĝamia from redmine.
danielhas joined
ralphmhas joined
Zash
You could also do what we (prosody) do, and put something as a receive-hook on the server, if you have control over that
jjrh
Zash, that's what i'm planning on doing.
rion
example of github standard hook http://pix.academ.info/img/2018/03/06/af0363c83be4f268ad76a09ecb0fa35f.png
j.r
> I think there is one by github themselves, which they host, and a ruĝamia from redmine.
Where can I finds the bot by github itself?
jjrh
We already do this with email, but channel notifications would be nice.
moparisthebest
you could have the email trigger an xmpp message >:)
Link Mauve
j.r, I couldn’t find their source code in a short search, I don’t know.
j.r
Ok
jjrh
moparisthebest, yes - but what software exists to do the XMPP part?
jjrh
I could write this myself but I figured someone had already done it
Zash
https://github.com/github/github-services/tree/master/lib/services search for "xmpp"
Zash
wild guess
Zash
Seems to match the options in Settings → Integrations
rionhas left
rionhas joined
rionhas left
rionhas joined
blablahas joined
Guushas left
suzyohas joined
Guushas left
Fabianhas left
ralphmhas joined
blablahas joined
danielhas left
danielhas joined
andyhas joined
Marandahas left
danielhas left
danielhas joined
blablahas joined
moparisthebest
jjrh, https://github.com/moparisthebest/sendxmpp-py https://github.com/moparisthebest/sendxmpp-rs ancient-perl-sendxmpp, called by a hook or sieve script
jjrh
cheers!
moparisthebest
of those I'd suggest the python one if it works for you
marmistrzhas joined
jjrh
Does it do MUC or just message?
moparisthebest
ew yea, just message
moparisthebest
you probably want a proper bot then
jjrh
Yeah that's what it's sounding like. Probably should just write something myself, the examples are handy though.
moparisthebest
sendxmpp-py should be fairly easy to modify to do that I think
blablahas joined
jjrh
Yeah - what might work nicely is to use sendxmpp to send a message to a bot which can have some more smarts
jjrh
https://github.com/moparisthebest/sendxmpp-rs/blob/master/Cargo.toml I think your description might be wrong ;)
jerehas joined
andyhas left
blablahas left
danielhas left
jerehas joined
danielhas joined
jonaswhas left
moparisthebest
ha yea looks like it, how the hell did that happen, probably what cargo new does by default or something
j.rhas joined
boothj5has joined
Guushas left
j.rhas joined
boothj5has left
Dave Cridlandhas left
had-hochas left
Dave Cridlandhas left
dwdhas left
Dave Cridlandhas left
andyhas joined
lskdjfhas joined
Tobiashas joined
Tobiashas joined
dwdhas left
Guushas left
andyhas left
Alexhas left
Dave Cridlandhas left
andyhas joined
j.rhas joined
j.rhas joined
jubalhhas joined
Alexhas joined
jubalhhas left
waqashas joined
andyhas left
marmistrzhas joined
Dave Cridlandhas left
dwdhas left
Dave Cridlandhas left
goffihas left
dwdhas left
pep.
rion, do you have a room for psi dev?
pep.
or psi in general
marmistrzhas left
andyhas joined
Neustradamus
xmpp:psi-dev@conference.jabber.ru?join
pep.
yay captcha..
rtq3has left
dwdhas left
rtq3has joined
boothj5has joined
Marandahas joined
rtq3has left
rtq3has joined
rionhas left
rionhas joined
sonnyhas joined
danielhas left
danielhas joined
andyhas left
rionhas left
rtq3has left
rtq3has joined
danielhas left
danielhas joined
jubalhhas joined
andyhas joined
jubalhhas left
andyhas left
andyhas joined
matlaghas left
matlaghas joined
Tobiashas joined
andyhas left
Guushas left
jerehas left
danielhas left
remkohas left
vanitasvitaehas left
marc
Ge0rG, https://github.com/ge0rg/easy-xmpp-invitation/pull/9 works fine for me on firefox and firefox focus (mobile)
marc
Would be nice if you merge it t get rid of Google Fonts