<isd>
XgF: I'm skeptical that you'd be able to find a complete one-size-fits-all set easily
<XgF>
isd: not one-size-fits-all but a few "common baselines" which should work most of the time
<XgF>
e.g. base_hostname("org.capnproto") package("capnp") module("schema") -> capnp::schema in C++, crate "capnp" mod "schema" in Rust, "org.capnproto.schema" in Java
<isd>
I feel like you could just infer package from the filename
<XgF>
does Go permit namespaces called "c++"? :-)
<isd>
...whcih I'm doing currently, just in a makefile instead of via the capnp tools
<isd>
XgF: not as the package name. can be part of the import path
<XgF>
Anyhow, a "standard manifest" might be useful which you can augment using language-specific annotations
<isd>
I think something like what I describe in the issue would a good mechanism to have. Could probably get basic stuff like package name without it, but even just in principle, you should need all of the language-specific oddities shipped with the protocol schema itself.
<isd>
Does capnp give the language plugin the filename it's working on?
<isd>
If so it could come up with something sensible from that.
<XgF>
it has a way of passing extra params to the plugin so you could always do things that way
<asheesh>
/win
<asheesh>
...
<isd>
XgF: is that documented somewhere?
<XgF>
I can't remember
<isd>
doesn't show up under capnp --help or capnp compile --help
dwrensha has left #sandstorm [#sandstorm]
amyers has joined #sandstorm
amyers has quit [Remote host closed the connection]
todayman has quit [Ping timeout: 250 seconds]
TC01 has quit [Ping timeout: 260 seconds]
jemc has joined #sandstorm
frewsxcv_ has quit [Read error: Connection reset by peer]
NhanH has quit [Ping timeout: 250 seconds]
frewsxcv_ has joined #sandstorm
NhanH has joined #sandstorm
dwrensha has joined #sandstorm
larjona has quit [Quit: No Ping reply in 180 seconds.]
benkard has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jadewang has quit [Remote host closed the connection]
ocdtrekkie_ has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
ocdtrekkie has joined #sandstorm
aldeka has joined #sandstorm
rgrinberg has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
gabkdlly has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
jemc has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 244 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
cristipp has joined #sandstorm
<cristipp>
good morning everyone
<cristipp>
very new to sandstorm
<cristipp>
wondering how would one go to implement a "personal search" sandstorm app.
<cristipp>
the challenge is that a search app would have to index as many grains as possible. this sounds against the grain [sic] of the grain model, as now a single app has access to all the grains.
<cristipp>
thoughts?
<dwrensha>
cristipp: we eventually want to have platform-level support for grain search
<dwrensha>
each grain would be able to opt-in to implementing an indexing API
<cristipp>
as a developer, how would i make it work satisfactory for the user? i'm bad at coding, especially at security minded coding, so the app will have bugs
<cristipp>
to make it work well, i need to both read the grains _and_ make http requests, at least to periodically update my magic sauce database.
<cristipp>
in a standard secutity model, the app asks for a. read all grains and b. talk to the internet, which sounds like a complete disaster :)
<cristipp>
s/my magic sauce database/the app's local magic sauce database/
<dwrensha>
why would it need to make http requests?
<cristipp>
it needs a database of "understand English", which is updated / improved periodically
<dwrensha>
how frequently? could those updates could conceivably be app updates?
<cristipp>
i guess we could go with "monthly updates"
<dwrensha>
also, sorry, this is a fascinating conversation, but I'm on my way out the door now. I hope someone else here can continue to field your questions!
<cristipp>
thanks for your input, have a great day!
<audionerd>
hi all, I'm working on my first Sandstorm install on a personal Linux machine here on my desk. sudo sandstorm status says it's running; pasting admin token URLs into Chrome doesn't produce a page
<audionerd>
are there any typical router or firewall tweaks I need to make?