asheesh changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Channel glossary: "i,i" means "I have no point, I just want to say". b == thumbs up. | Public logs at https://botbot.me/freenode/sandstorm/ & http://logbot.g0v.tw/channel/sandstorm/today
Atomic_JQYtO has joined #sandstorm
<isd> So, the go capnp generator requires declaring the package name, which means I can't just use the unmodified capnp schemas in the sandstorm source. It would be nice to just be able to #include them or such, and add the package def, but doing an import makes it a separate schema, and capnp insists that I provide a (new) id. Is there a way to go about this that doesn't involve just copying the files over?
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<asheesh> I think you have to copy the files over, at the moment.
<asheesh> Having said that, I haven't tested this personally; that's just my recollection.
neynah has joined #sandstorm
* isd writes script
neynah has quit [Client Quit]
isd has quit [Ping timeout: 260 seconds]
isd has joined #sandstorm
<Mitar> asheesh: I wanted to write a mailinator alternative as an example of mail package for Meteor I am working on
<Mitar> but I am unable to send messages in Meteor so work stopped
<Mitar> I was opening tickets and writing here and to the mailing list about the issue how to get it working
<Mitar> but I did not really get useful feedback which would help me progress
<pdurbin> Mitar: would it be open source? I love mailinator but I don't believe it's open source.
<Mitar> yes, of course
<Mitar> but it will be a really simple app
<pdurbin> nothing wrong with simple. sounds quite useful
jemc has quit [Ping timeout: 252 seconds]
Atomic_JQYtO has quit [Ping timeout: 265 seconds]
ill_logic has joined #sandstorm
<Mitar> I mean, it will have some limitations, for example, for mailinator you can just come up with e-mail and later on go and check it out
<Mitar> here, you will first have to create a grain and get an e-mail and then you will be able to use it
<Mitar> asheesh: thanks for all the feedback on tickets
<Mitar> what is the process for getting whitelisted for garply?
<ill_logic> oh whoops, the second says to read the first.
<ill_logic> is "raw" the same as "diy" here?
<isd> ill_logic: no. the latter is without the vagrant stuff/stacks at all
<isd> s/latter/former/
<ill_logic> I thought diy was for no particular language or platform
<isd> diy is just a bare-bones template for vagrant-spk; the raw guide talks about how to bypass vagrant-spk entirely.
<ill_logic> Oh, okay. So we're on the same page.
<isd> Think so.
<ill_logic> cool. So I'll put the raw thing away.
<ill_logic> Thanks.
<isd> you're welcome
jemc has joined #sandstorm
<ill_logic> I don't suppose there's a tutorial for diy specifically?
<ill_logic> https://docs.sandstorm.io/en/latest/vagrant-spk/customizing/ <- I think this is what I want for now. Asheesh showed me once before and I forgot.
rgrinberg has quit [Ping timeout: 252 seconds]
<ill_logic> Is there a way to see the output of setup.sh? I feel like there was a shell.
<dwrensha> ill_logic: it should be piped to stdout when you run `vagrant-spk vm up`
<ill_logic> okay. what about vagrant provision?
<ill_logic> I tried putting "ls /tmp" and I didn't see the output
<ill_logic> maybe it's actually empty, heh
<ill_logic> okay there it is.
<ill_logic> sorry and thanks
isd has quit [Quit: Leaving.]
dwrensha has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
neynah has joined #sandstorm
<ill_logic> Anybody know why "vagrant provision" dumps the results of setup.sh into my repo directory? Is it actually mounted to /opt/app?
<ill_logic> Also, I see that the php sample has mysql run without daemonization, yet adds &. Is that generally what I want for the applications that I'll be reverse proxying?
<ill_logic> Or should I use a daemon option where available?
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has quit [Remote host closed the connection]
ill_logic has quit [Ping timeout: 250 seconds]
jemc has quit [Quit: WeeChat 1.4]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
rgrinberg has joined #sandstorm
gabkdlly has joined #sandstorm
rgrinberg has quit [Ping timeout: 246 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
neynah has joined #sandstorm
neynah has quit [Client Quit]
jadewang has joined #sandstorm
raoulzecat has quit [Ping timeout: 240 seconds]
jadewang has quit [Ping timeout: 252 seconds]
raoulzecat has joined #sandstorm
gabkdlly has quit [Quit: Ex-Chat]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
<pdurbin> Mitar: which tickets?
<Mitar> ?
<Mitar> github
<Mitar> he went through issues on github and give feedback there
<pdurbin> Mitar: any that would be interesting to link to from here?
<Mitar> they are listed on github :-)
<Mitar> I think he went through many of them
<Mitar> I am just thanking him for his work, I really appreciate when issues do not just linger around but you get some feedback on them, just to understand how others feel about things you are raising
jadewang has joined #sandstorm
<pdurbin> very considerate of you
jadewang has quit [Ping timeout: 252 seconds]
jadewang has joined #sandstorm
zeroish has joined #sandstorm
jadewang has quit [Ping timeout: 252 seconds]
zeroish has quit [Ping timeout: 276 seconds]
zeroish has joined #sandstorm
zeroish has quit [Quit: rcirc on GNU Emacs 25.1.50.10]
tk` has joined #sandstorm
tk` has quit [Remote host closed the connection]
zeroish has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
xobs has quit [Ping timeout: 276 seconds]
xobs has joined #sandstorm
berzas has joined #sandstorm
rgrinberg has joined #sandstorm
jemc has joined #sandstorm
rgrinberg has quit [Client Quit]
rgrinberg has joined #sandstorm
<berzas> Hi, I'm triying to run Sandstorm on a Debian server. I opened ports on the machine but setup page is not charging, no errors. I'm behind a NAT. Is this the issue?How I have to procced to make server up and running? thanks
xet7_ has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
berzas has quit [Ping timeout: 252 seconds]
jadewang has joined #sandstorm
amyers has joined #sandstorm
jadewang has quit [Ping timeout: 244 seconds]
amyers has quit [Ping timeout: 260 seconds]
frigginglorious has joined #sandstorm
rgrinberg has quit [Ping timeout: 252 seconds]
jadewang has joined #sandstorm
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #sandstorm
jadewang has quit [Ping timeout: 252 seconds]
rgrinberg has joined #sandstorm
larjona has quit [Read error: Connection reset by peer]
xet7 has quit [Quit: Leaving]
larjona has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
simonft has joined #sandstorm
rgrinberg has quit [Ping timeout: 246 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
<simonft> is there an example of an app that uses nodejs?
<Lord> etherpad
<simonft> Lord: thanks
<simonft> I should ask what I'm actually wondering I guess. What's the recomended way of installing nodejs when setting up an app using vagrant-spk?
<simonft> I did a wget of the tar.gz release file into /home/vagrant/ and extracted it, but when the app runs in sandstorm it can't see that directory.
Jan\ has joined #sandstorm
jemc has quit [Ping timeout: 246 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 252 seconds]
jadewang has joined #sandstorm
amyers has joined #sandstorm
amyers has quit [Ping timeout: 260 seconds]
<rolig> How can i tell sandstorm to stop using sandcats? I've set up nginx as reverse proxy and updated sandstorm.conf to comment out https_port and sandcat domain. base_url is appropriate for the nginx config - but x.sandcats still works and mydomain doesn't?
<rolig> specifically mydomain gets to sandstorm but its telling me i need to set up a TXT record
<rolig> oops nvm sandstorm.conf wasnt being written -.-
benkard has joined #sandstorm
<simonft> is there anything I need to know about networking in a sandstorm grain? I'm not able to connect to a mongodb instance that should be running.
<simonft> it works when I connect via 127.0.0.1 rather than localhost.
<kentonv> simonft: `localhost` is normally defined in /etc/hosts -- maybe that file is missing inside the sandbox?
gabkdlly has joined #sandstorm
<simonft> kentonv: it seems that way. What exactly is the grain?
<kentonv> what do you mean?
<simonft> how is it sandboxed?
<simonft> it's namespaced?
<kentonv> yes, we use linux namespaces to set up a mount namespace where the root directory is a read-only view of the app package contents and /var is per-grain writable space
<simonft> kentonv: it's true that /etc/hosts doesn't exist in the sandbox. Is there something that defines what files are available inside the sandbox?
<kentonv> the app's package is basically a big tarball of everything that should exist inside the sandbox
<kentonv> (not literally tar format, but similar)
<simonft> ah, so I should add it to sandstorm-files.list?
<kentonv> are you running in dev mode?
<kentonv> and is this a meteor project?
<simonft> I'm using vagrant-spk, so I assume so?
<kentonv> sandstorm-files.list is normally populated automatically in dev mode (`vagrant-spk dev`)
<kentonv> but not with meteor projects because we actually have an exact list of files for them
<kentonv> I see, etc/hosts is blocked by default
<kentonv> in sourceMaps, in sandstorm-pkgdef.capnp
<kentonv> because it might contain private system-specific config
<kentonv> I would recommend you use 127.0.0.1
dwrensha has joined #sandstorm
<simonft> cool, thanks for explaining
benkard has quit [Ping timeout: 276 seconds]
benkard has joined #sandstorm
amyers has joined #sandstorm
isd has joined #sandstorm
rgrinberg has joined #sandstorm
amyers has quit [Ping timeout: 240 seconds]
neynah has joined #sandstorm
benkard has quit [Ping timeout: 250 seconds]
benkard has joined #sandstorm
hunterm__ has quit [Read error: Connection reset by peer]
hunterm__ has joined #sandstorm
amyers has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<isd> So, I'm messing with go, capnproto and the sandstorm APIs, and when running capnp compile on the .capnp files in the sandstorm repo, I get lots of "error: Not defined: Capability". The type is indeed not defined in any .capnp file in the sandstorm repo. Where does it come from?
<dwrensha> It's possible that the go implementation does not support this.
<dwrensha> Though it ought to fall back to plain AnyPointer if Capability is not supported
<dwrensha> Actually, maybe the `capnpc` that you're using doesn't support Capability
<dwrensha> I'm not sure whether it was in the 0.5.3 release
<isd> Is there a sandstorm tag I can go back to that won't use those? would be easier than upgrading capnpc.
<isd> Looks like the sandstorm API has been using it for a *long* time.
<dwrensha> Maybe you could edit all instances of `Capability` to use `AnyPointer` instead
<dwrensha> It won't make a difference for the values sent on the wire.
<isd> dwrensha: I'll give it a try. What is the capnproto release cycle like? would be good to get those in stable.
<dwrensha> 0.4 was released in December of 2013, 0.5 was released a year later, and there has been no major release since then.
<dwrensha> my understanding is that the big blocker is that Windows support is a pain
<dwrensha> mostly because MSVC has lagging C++11 support
<isd> grumble.
<isd> (Not actually serious): gcc runs on windows...
<XgF> And MSVC has Clang support these days?
<XgF> Though I guess people want to link stuff compiled using MSVC C1XX with capn'proto
<isd> Slightly more serious: given that the same team is releasing stuff that uses things only on master, I'd be tempted to suggest just tagging 0.6 with "if you use MSVC don't upgrade until their compiler actually supports this."
<isd> kindof a problem if you can't use stable with sandstorm
<isd> but swapping in AnyPointer does seem to work.
<isd> Looks like the API in persistent.capnp has changed too. I think I'm just going to use capnp master.
digitalcircuit has quit [Remote host closed the connection]
amyers has quit [Ping timeout: 244 seconds]
digitalcircuit has joined #sandstorm
<XgF> isd: when you install sandstorm capnpc normally comes along for the ride iirc
<dwrensha> if you install from source
<XgF> hmm, what does the Vagrantfile do? I remember that always coming with capnpc?
<isd> Was trying to build on my laptop (host). will give doing it in the vm a shot
<dwrensha> I think that one is intended for people who want to hack on Sandstorm.
<dwrensha> like, it could conceivably make sense to also provide a vagrantfile for people who just want to run Sandstorm, and maybe want to develop apps
<dwrensha> I think those two potential use cases have caused some confusion in the past
<XgF> dwrensha: hmm, it seems to invoke ./install.sh?
<dwrensha> right, it shares the current directory
<dwrensha> which is the source code repo
<dwrensha> wait
benkard has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dwrensha> I suppose install.sh just fetches a release of Sandstorm
<dwrensha> I guess I'm the one who is confused about this vagrantfile then.
<isd> capnp command isn't in the vm.
<XgF> Maybe I manually built capnp? hmm
<isd> Well, guess I'm building master
isd has quit [Ping timeout: 260 seconds]
<asheesh> isd: Yeah, Sandstorm requires capnp master but we don't really tell people this.
<asheesh> I keep wanting to get us to "just" do a release, so I neglect to lucidly document it.
<asheesh> Apologies for your pain, isd.
<asheesh> Oh, though I guess you're not here at the moment.
neynah has joined #sandstorm
isd has joined #sandstorm
<isd> *ugh* I can't even use the unmodified capnp files from capnproto proper, since they don't have the go metadata stuff.
<asheesh> rehi
<asheesh> Maybe we should merge those go metadata additions into the sandstorm-io capnp files then. Sorry about that!
<asheesh> You are on a little bit of uncharted territory, so the exploration you do is really helpful.
<XgF> I wonder if we could create a set of "standard" capnp annotations which would be sane defaults for most languages?