let mut offset = 0;
for ... {
uiovec.buff = &untrusted[offset..];
uiovec.size = t.size;
offset += t.size;
}
I'm sure the names aren't correct, but that is the idea.
I think you can cast a slice to a pointer. If not, there should be an as_mut() method.
Lily Sturmann
@lkatalin
@npmccallum That worked for getting rid of the first unsafe block; however, I can't remove the second one because the ret value is generated inside an unsafe block due to the syscall and the rest of the code is executed based on the value of ret.
@axelsimon It looks like matrix.org allows you to preview a channel without logging in.
@axelsimon But you have to log in to chat.
Mark Bestavros
@mbestavros
@axelsimon I was able to find the new mobile app (RiotX) on the App Store as well.
Bandan Das
@whitebrandy
the virt team uses matrix.org and the regular Riot.im app
but traffic spikes mostly during kvm forum :)
Nathaniel McCallum
@npmccallum
@whitebrandy What's your experience with it?
Bandan Das
@whitebrandy
@npmccallum i think it's good and i have the Android app, which is functional
@npmccallum i do remember us having issues with encryption which was optional
from what i remember, we had to turn encryption off in the room
Mark Bestavros
@mbestavros
Anyone with the iOS app have any issues?
axel simon
@axelsimon
as far as i know, the iOS version and Android version are very similar (if not essentially the same) as built from the same SDK
otherwise, i'd say that @whitebrandy's comments are spot on
encryption has been a work in progress for a while
it's progressed leaps and bounds in the past couple years however, to the point we are weeks/month(s) away from the matrix team flipping the switch and enabling E2E encryption on all new 1-1 chats
it's always going to be a choice on rooms, as some rooms are small and some big, and it makes little sense in what are public rooms to add the overhead of encrypting each message for every device of every user in a room. If it's public, it probably doesn't need encryption (though it can still be enabled)
@mbestavros RiotX has some nice new things, like swiping on a message to reply to that message, but it's missing other things like, hmm, answering an audio call :)
Functionality is kind of simple. UI is often non-intuitive.
Seems slow.
Maybe I'd get a better experience with the Android client.
axel simon
@axelsimon
UI is a pain point, the next version of Riot should fix that (/ improve it a lot)
functionality is actually quite rich, you can use markdown for text, insert pictures /videos, make calls, use sticker packs
Mark Bestavros
@mbestavros
We should not make decisions based on promised features, IMO
axel simon
@axelsimon
but i fully agree it feels a bit slow sometimes (the downside of how their state-resolution algorithm works for now, from what i understand)
Mark Bestavros
@mbestavros
I agree with Nathaniel that it's not very good UX
axel simon
@axelsimon
it's not that bad, but i don't disagree with you fundamentally
the slowness would also be due to being on the main, overloaded server
state-resolution would be faster if we were all on the same server
i see your point @mbestavros, i'm clearly biased by the fact i've met the team and have a good opinion of them and their intentions
the Android client will feel mostly the same i think
axel simon
@axelsimon
just tried to explain "state-resolution" to my girlfriend :D
(i think it went well)
Nathaniel McCallum
@npmccallum
My wife is broken down in her car. I'm headed out for a while.
axel simon
@axelsimon
sorry to hear, hope it goes well!
Harald Hoyer
@haraldh
oh, good luck! hope all will be fine!
axel simon
@axelsimon
(someone from the matrix team just confirmed matrix.org is seeing a lot of trafic this month and "if you're using matrix.org atm you're going to have a bad time")
Bandan Das
@whitebrandy
(someone from the matrix team just confirmed matrix.org is seeing a lot of trafic this month and "if you're using matrix.org atm you're going to have a bad time")
oh this easy, just run our own matrix server! :)
Nathaniel McCallum
@npmccallum
@axelsimon@haraldh Thanks. All is fine. Ended up being just a rock stuck against the brake rotor.
Lily Sturmann
@lkatalin
Glad everything is okay!
axel simon
@axelsimon
if anyone else is interested, this is mostly off-topic (but not entirely) i'm going to be attending the (somewhat overly optimistically entitled) Open Tech Will Save Us event in 15 min https://twitter.com/matrixdotorg/status/1247872028876693504
there will be presentations of matrix and riot, which is how it somewhat relates to Enarx
Mike Bursell
@MikeCamel
It would be great to have mentors for the two new faces who's shown an interest. 1) engineering/programming person; 2) technical docs person. I think that Shaun volunteered for #2. Anyone else for #1?