<cmr>
dwrensha: really excited about futures-rs capnp!
wolcen has quit [Ping timeout: 272 seconds]
fonfon has quit [Ping timeout: 245 seconds]
anthropy has quit [Quit: Leaving.]
anthropy has joined #sandstorm
<dwrensha>
cmr: I'm happy to hear that Cap'n Proto is still on Robigalia's radar
<cmr>
dwrensha: very much so :)
<cmr>
dwrensha: there are a lot of kinks to work out in the core system before we get to the point where we'll be using a userspace cap system, but we'll get there.
CcxWrk has quit [*.net *.split]
notevil has quit [*.net *.split]
TheJH has quit [*.net *.split]
notevil has joined #sandstorm
TheJH has joined #sandstorm
CcxWrk has joined #sandstorm
wolcen has joined #sandstorm
anthropy has quit [Quit: Leaving.]
anthropy has joined #sandstorm
demonimin has quit [Ping timeout: 252 seconds]
wolcen has quit [Quit: Leaving]
mnutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ecloud is now known as ecloud_wfh
demonimin has joined #sandstorm
nonaTure has joined #sandstorm
wolcen has joined #sandstorm
fonfon has joined #sandstorm
fonfon has quit [Ping timeout: 272 seconds]
dlitz has quit [Remote host closed the connection]
dlitz has joined #sandstorm
fonfon has joined #sandstorm
fonfon has quit [Ping timeout: 245 seconds]
wolcen has quit [Remote host closed the connection]
demonimin has quit [*.net *.split]
digitalcircuit has quit [*.net *.split]
ecloud_wfh has quit [*.net *.split]
Lionel_Debroux_ has quit [*.net *.split]
esmiurium has quit [*.net *.split]
bemasc has quit [*.net *.split]
habnabit has quit [*.net *.split]
shachaf has quit [*.net *.split]
shachaf has joined #sandstorm
shachaf has joined #sandstorm
shachaf has quit [Changing host]
demonimin has joined #sandstorm
demonimin has joined #sandstorm
demonimin has quit [Changing host]
esmiurium has joined #sandstorm
_habnabit has joined #sandstorm
ecloud has joined #sandstorm
bemasc has joined #sandstorm
digitalcircuit has joined #sandstorm
fonfon has joined #sandstorm
fonfon has quit [Ping timeout: 245 seconds]
cosmos has joined #sandstorm
ShalokShalom has quit [Ping timeout: 258 seconds]
nonaTure is now known as unchained
unchained is now known as unchain
unchain has quit [Quit: Leaving]
cosmos is now known as ShalokShalom
ill_logic_ has joined #sandstorm
ill_logic has quit [Write error: Broken pipe]
fonfon has joined #sandstorm
fonfon has quit [Ping timeout: 256 seconds]
mnutt has joined #sandstorm
mnutt has quit [Client Quit]
wolcen has joined #sandstorm
NwS has joined #sandstorm
fonfon has joined #sandstorm
Telesight has joined #sandstorm
fonfon has quit [Ping timeout: 256 seconds]
mnutt has joined #sandstorm
mnutt has quit [Client Quit]
mnutt has joined #sandstorm
nwf has quit [Ping timeout: 272 seconds]
nwf has joined #sandstorm
fonfon has joined #sandstorm
LiberalSquash has joined #sandstorm
LiberalSquash has left #sandstorm [#sandstorm]
ShalokShalom has quit [Remote host closed the connection]
cosmos has joined #sandstorm
biotim has quit [Quit: Leaving]
biotim has joined #sandstorm
<_habnabit>
dwrensha, sorry, i'm not sure if it's documented somewhere i missed, but it's not clear what the lifetime 'a on a struct's Reader is. i was trying to figure out how to take ownership of sub-structs by consuming a parent struct, if it's possible. like if as an rpc result i get a List(T) and i want to now own some, but not all, of these items without owning the rest of the rpc result
<_habnabit>
dwrensha, oh, i just found the explanation on the Owned trait
Telesight has quit [Quit: Leaving.]
fonfon has quit [Ping timeout: 256 seconds]
frigginglorious has joined #sandstorm
<dwrensha>
_habnabit: right now the easiest thing is to make a copy of the sub-object
<_habnabit>
dwrensha, with .clone() ?
<dwrensha>
I was thinking message::Builder::set_root()
<_habnabit>
oh
<dwrensha>
And you could write a wrapper around the message builder to remember the type information
<dwrensha>
we should probably figure out a standard way to do this and put it in the library
<_habnabit>
so i make a new Builder, use set_root to implicitly copy from a Reader, and then i own the thing
<dwrensha>
"implicitly"?
<_habnabit>
it feels implicit if it's not using the usual approach for this in rust
<dwrensha>
let mut msg = ::capnp::message::Builder::new_default();
<dwrensha>
msg.set_root(reader);
<_habnabit>
and there's no standard type in ::capnp that does the wrapping so the type is encoded in a way that it's guaranteed to be the right thing passed to set_root/get_root_as_reader
<_habnabit>
?
<dwrensha>
it's not an encoding question
<dwrensha>
it's inconvenient that when you want to use this message again, you need to specify the type
<dwrensha>
msg.get_root<T>()
isd has quit [Ping timeout: 248 seconds]
<dwrensha>
we could write a wrapper that remembers the type
<_habnabit>
right, that's what i mean: if you had a Wrapper<T>(::capnp::message::Builder), it could have a get_root_as_reader with no type parameter
<dwrensha>
none exists in ::capnp yet
<_habnabit>
okay
aeternity has joined #sandstorm
<aeternity>
hi guys
<dwrensha>
why hello
<dwrensha>
what's up aeternity?
<aeternity>
is it possible to use the rocket.chat dev branch in sandstorm?
<aeternity>
dwrensha: thanks... trying to make it work again! :)
<aeternity>
is any of the core devs here btw? I had send an email to jade around christmas, but no reply.
<dwrensha>
you can clone the rocket.chat git repo and then do `vagrant-spk vm up`
<dwrensha>
then `vagrant-spk vm dev`
<dwrensha>
er, `vagrant-spk dev`
<dwrensha>
and that'll launch the latest version on a local VM
<dwrensha>
aeternity: are you trying to fix the slackbridge problem?
<aeternity>
yeah
<aeternity>
I mean,the fix is on GH
<aeternity>
I am just trying to get my users back now
<aeternity>
and the data inside this grain
<aeternity>
would have been so easy if it was not inside this strange DB... but isntead on filesystem
digitalcircuit has quit [Quit: Signing off from Quassel - see ya!]
<aeternity>
dwrensha: would this above suggested path work for production?
<aeternity>
or is it unsecure?
<aeternity>
the sandstorm server is running
<dwrensha>
ideally the rocket.chat devs would publish a new spk
digitalcircuit has joined #sandstorm
<dwrensha>
you could build a dev spk, but without the rocket.chat signing key, sandstorm won't let you use it for your existing grain
<aeternity>
thus there is no way around messing with that database?
<dwrensha>
if you want a fix ASAP, modifying the database seems like the easiest way
biotim has quit [Quit: Leaving]
<aeternity>
maybe I should fork sandstorm to let me use whatever grain?
<aeternity>
yes, ASAP. imagine all your team is offline.
<dwrensha>
actually, I find myself without more pressing priorities at the moment, so maybe I can work through the database edit with you
<aeternity>
oh, that would be wonderful
<dwrensha>
is mongo installed on the Server?
<aeternity>
yes, I did
<dwrensha>
what verstion?
<aeternity>
mongod --version
<aeternity>
2017-01-06T00:48:59.828+0100 OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016