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
<mnutt> I briefly discussed davros/powerbox/keeweb with jamborjan but I think powerbox file selection is going to be a special cased UI so we're holding off for the time being
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rustyrazorblade has quit [Quit: rustyrazorblade]
prettyvanilla has quit [Quit: Konversation terminated!]
prettyvanilla has joined #sandstorm
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
prettyvanilla has quit [Read error: Connection reset by peer]
prettyvanilla has joined #sandstorm
neynah has joined #sandstorm
mnutt has joined #sandstorm
chuan has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
xet7 has quit [Ping timeout: 276 seconds]
frigginglorious has joined #sandstorm
<kentonv> mnutt: why do you imagine file selection would be special-cased?
<mnutt> I thought I remembered hearing that the file picker would be handled by sandstorm. maybe I'm misremembering?
<kentonv> I think it would be a standard powerbox interaction. There might be a special option added for "upload" just because it would be a bit silly to spin up a grain for that, but the flow when choosing a file from another app seems like it would be standard
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
neynah has joined #sandstorm
neynah has quit [Client Quit]
<frigginglorious> is it just me, or is Ghost CMS a little buggy?
<frigginglorious> Nah, i think its just a little slow on the uptake.
neynah has joined #sandstorm
jadewang has joined #sandstorm
jadewang_ has joined #sandstorm
jadewang has quit [Read error: Connection reset by peer]
jadewang_ has quit [Ping timeout: 244 seconds]
<asheesh> win 31
<asheesh> ...
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
neynah has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
raoulzecat has joined #sandstorm
nerdrew has joined #sandstorm
nerdrew has quit [Client Quit]
syri has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 268 seconds]
bemasc has quit [Quit: No Ping reply in 180 seconds.]
bemasc has joined #sandstorm
ecloud is now known as ecloud_wfh
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Try`0xff is now known as Tryum
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 248 seconds]
raoulzecat has quit [Ping timeout: 244 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 244 seconds]
xet7 has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 248 seconds]
asmyers has joined #sandstorm
jadewang has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
jadewang has quit [Ping timeout: 276 seconds]
frigginglorious has joined #sandstorm
BigShip has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
Zertrin has quit [Ping timeout: 250 seconds]
Zertrin has joined #sandstorm
nolski has quit [Ping timeout: 250 seconds]
xet7 has quit [Ping timeout: 276 seconds]
nolski has joined #sandstorm
xet7 has joined #sandstorm
raoulzecat has joined #sandstorm
jadewang has joined #sandstorm
NOTevil has joined #sandstorm
jadewang has quit [Ping timeout: 248 seconds]
NOTevil has quit [Client Quit]
synchrone has joined #sandstorm
mnutt has joined #sandstorm
jemc has joined #sandstorm
jadewang has joined #sandstorm
synchrone has quit [Ping timeout: 264 seconds]
jadewang has quit [Ping timeout: 244 seconds]
synchrone has joined #sandstorm
<ocdtrekkie> Yay, I'm back.
<ocdtrekkie> I think the Sandstorm Ports In Progress Wekan worked really well.
rustyrazorblade has joined #sandstorm
NwS has joined #sandstorm
TwoJames2 has quit [Ping timeout: 264 seconds]
TwoJames has joined #sandstorm
asmyers has quit [Ping timeout: 250 seconds]
synchrone has quit [Ping timeout: 276 seconds]
synchrone has joined #sandstorm
<BigShip> Hmm, I like the look of that
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 264 seconds]
Tryum is now known as Try`0xff
asmyers has joined #sandstorm
jadewang has joined #sandstorm
pod has joined #sandstorm
neynah has joined #sandstorm
* asheesh stretches, good morning.
* BigShip waves cheerfully
<pod> moin moin
<neynah> Nice Wekan board ocdtrekkie
TwoJames has quit [Ping timeout: 268 seconds]
TwoJames has joined #sandstorm
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
raoulzecat has quit [Ping timeout: 250 seconds]
asheesh has quit [Ping timeout: 250 seconds]
asmyers has quit [Quit: Leaving]
asmyers has joined #sandstorm
asmyers has quit [Remote host closed the connection]
asheesh has joined #sandstorm
asmyers has joined #sandstorm
asmyers has quit [Remote host closed the connection]
asmyers has joined #sandstorm
<pod> oh neato! someone is porting owntracks
<pod> was thinking just last night that it'd be a great thing to have in sandstorm :)
jadewang has quit [Remote host closed the connection]
raoulzecat has joined #sandstorm
<neynah> :D
NhanH_ has joined #sandstorm
NhanH has quit [Ping timeout: 250 seconds]
synchrone has quit [Ping timeout: 248 seconds]
paroneay` has joined #sandstorm
paroneayea has quit [Remote host closed the connection]
NhanH_ is now known as NhanH
<pod> does it not need a bunch of background services? I don't know enough about how sandstorm would handle such things
raoulzecat has quit [Ping timeout: 268 seconds]
<asheesh> pod: Sandstorm starts the grain's processes when it sees an API request that is authorized to reach the app.
<asheesh> https://docs.sandstorm.io/en/latest/developing/http-apis/ explains how HTTP APIs work on some level; the key thing in this case is that it's OK to stop the app when it's not being used, so long as Sandstorm can detect when someone legitimate is accessing the app.
frigginglorious has quit [Quit: frigginglorious]
<pod> asheesh: somewhat confused - must all sandstorm apps run only one process?
<pod> guess I should RFTM and find out! :)
mnutt has joined #sandstorm
<asheesh> No, but they all have a root process, from the perspective of Sandstorm, that starts the rest of them.
<pod> ah ok.
<asheesh> The root (let's call it "launcher" process) is defined in sandstorm-pkgdef.capnp for each app.
frigginglorious has joined #sandstorm
jadewang has joined #sandstorm
<pod> very very neat indeed. it seems like every time I look closer at sandstorm the better it gets!
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
neynah has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
<mrdomino> wow, openproject literally receives incoming emails by scraping an IMAP or POP server via cron
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mrdomino> okay, i am going to try something new, which is that while i package this rails app i will try not to snark endlessly about rails and instead just package the app
<kentonv> lol
<mrdomino> but i would like to note up front that i'm still not entirely psychologically recovered from my stint in rails startup-land
<mrdomino> so hopefully this'll be good and healing. >_>
<dwrensha> oh hm... you're probably going to want me to ship my `spk dev` performance improvements
<mrdomino> i would definitely not complain about that
<mrdomino> is it foolhardy of me to try and do this via vagrant-spk as opposed to just plain spk?
<mrdomino> i suppose i've already run into some wackiness wrt using vagrant in a ruby app
<mrdomino> namely that it seems to be trying to respect Gemfile.plugins or Gemfile.lock (i can't really tell which) from the webapp dir when run from .sandstorm
<dwrensha> ^ a working setup for gitlab in vagrant-spk
<mrdomino> rad. i guess lobste.rs uses plain spk and gitlab uses vagrant-spk?
<dwrensha> yeah, I only recently got gitlab working in vagrant-spk
<mrdomino> huh, is unprivileged-setup.sh an automatic .sandstorm thing?
<dwrensha> no
<dwrensha> I put it in a separate file because there was a bunch of stuff I wanted to install as non-root
<mrdomino> oh i see now
<dwrensha> called with `sudo -c` from setup.sh
paroneay` has quit [Ping timeout: 250 seconds]
<mrdomino> anyone tried using memcached on sandstorm yet? openproject seems to want it. dunno whether to invest efforts in getting it into the grain or in getting the app to not use it.
<dwrensha> I think BrowserQuest uses memcached
<BigShip> dwrensha: God I hope someone turns that game into a runescape clone.
<mrdomino> dwrensha: hmm, so i see that you basically use the pattern of "modify app to work with sandstorm in a fork, then use a separate repo to pull in the app plus sandstorm config". that seems worth doing in this case since otherwise vagrant is going to try to use openproject's ruby config. is it documented anywhere, and/or are there any gotchas to watch out for if i just try and copy it?
frigginglorious has quit [Quit: frigginglorious]
<dwrensha> you might want to try gitsubmodules instead
<dwrensha> why will vagrant use openproject's ruby config, and why is that a bad thing?
<mrdomino> my guess is because of the Gemfile.{plugins,lock} in the parent dir
<mrdomino> and i think it's bad because it conflates host config with app/guest config
<mrdomino> (it's possible/likely that my mental model is crazy somewhere on this, and i appreciate correction)
<mrdomino> (tbh i don't know why vagrant is using openproject's bundle setup, i just notice it via errors on gems i don't have on my host)
frigginglorious has joined #sandstorm
mnutt has joined #sandstorm
<dwrensha> My setup approach is:
<dwrensha> 1. install ruby from source via rbenv
<dwrensha> 2. globally install bundler
<dwrensha> 3. `bundle install --path /opt/ruby/whatever --standalone`
<dwrensha> 4. launch the app with appropriate RUBY_OPT and GEM_HOME variables. see https://github.com/dwrensha/gitlab-sandstorm/blob/vagrant-spk/continue.sh
<mrdomino> all on the guest though, right?
<dwrensha> yeah
<mrdomino> ok, cool. so parent repo contains .sandstorm and global env stuff. child project is ready to run in that env. makefile clones child project, sets up db... then you run vagrant-spk stuff yourself?
<mrdomino> (frankly i think git submodules are the devil so i probably won't use them)
<dwrensha> makefile is intended to be run in guest
<dwrensha> ... I see how that could be confusing
<dwrensha> you're intended to just run `vagrant-spk up` and be good to go
<mrdomino> ah ok that makes sense
<dwrensha> (after maybe waiting 20 minutes for everything to install)
<dwrensha> The main reason I do the fake git submodule thing is that gitlab needs both the main gitlab repo and also the gitlab-shell repo
<mrdomino> urf, i can almost see how git submodules would be a good fit for this
<mrdomino> i just have at this point multiple years of instinct of watching git submodules never be a good fit no matter how much it seems like it would
BigShip has quit [Quit: Page closed]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gkoz has joined #sandstorm
rustyrazorblade has quit [Quit: rustyrazorblade]
<kentonv> simonv3: How much time would you estimate you spent writing Annotate? (I'm curious because it seems like such a great example of a simple app that does something really useful.)
asmyers has quit [Ping timeout: 248 seconds]
<mrdomino> i don't suppose there's anyone listening on port 25 inside a sandbox, is there?
<mrdomino> holy crap, openproject apparently even manages source repositories
<kentonv> mrdomino: I think Jason wrote an SMTP proxy thing that you can run in the sandbox.
<kentonv> (Jason = jparyani)
<mrdomino> cool. is it something i'd pull in as a dependency then?
tdfischer has quit [Ping timeout: 264 seconds]
tdfischer has joined #sandstorm
paroneayea has joined #sandstorm
jadewang has quit [Remote host closed the connection]
<asheesh> mrdomino: Yo
<asheesh> w/r/t SMTP:
<asheesh> https://github.com/jparyani/sandstorm-smtp-bridge short answer is yes, it'd be a dependency similar to how https://docs.sandstorm.io/en/latest/developing/web-publishing/ includes some C++ you can embed.
<asheesh> A difficulty is that I don't honestly know if Jason's code will compile against current capnproto. But anyway, remember to use git master.
<mrdomino> ok, good to know
BigShip has joined #sandstorm
BigShip has joined #sandstorm
<asheesh> https://docs.sandstorm.io/en/latest/developing/web-publishing/ shows some copy-pasta about including that in setup..sh
<asheesh> You can do it more imperatively than that at first, but eventually you'll probably want something like that in your .sandstorm/setup.sh
mnutt has joined #sandstorm
raoulzecat has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
rustyrazorblade has joined #sandstorm
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mnutt has joined #sandstorm
jadewang has joined #sandstorm
quickQuestion has joined #sandstorm
<quickQuestion> Hey guys, I want to install sandstorm on a minimal debian server, and I haven't been able to find any documentation on what packages are required by sandstorm, all iv'e been able to deduce is that the sandstorm install script want's to have the following installed: sudo, curl, bash. Are there any other packages wich I need to install before running
<quickQuestion> the sandstorm installer script?
<kentonv> quickQuestion: The installer script will let you know if anything is missing, but I think that is about it!
<quickQuestion> Thanks kentonv ill try running it now then :-)
<kentonv> quickQuestion: Oh, it also wants gpg. I think if gpg is not installed, it skips verifying the download, which is probably fine because it's HTTPS, but better to verify if possible. :)
<quickQuestion> ahh awesome ill check if i got gpg installed aswell