<mrflos>
thanks for the support, I hope to be able to show something soon
<kentonv>
looking forward to it!
<kentonv>
btw the reason "/opt/app/pgp-signature" didn't work is because "embed" statements in Cap'n Proto look for files the same way "import" statements do, which works a lot like C++ includes, Java imports, etc.
<kentonv>
it searches through the import search path
<mrflos>
ok i saw some config params about it, i think
<mrflos>
but for now l will go with relative path
<kentonv>
it's definitely a bit confusing in this context, where the .capnp file is more of a config file than code
<mrflos>
just another little question, to be able to write files with php in a sandstorm app, should i go throught ssh and do some chmod?
<kentonv>
yeah you should stick with the relative path. I'm actually not sure if there is any absolute path you could use here, because I'm not sure if the app code directory is even in the import search path.
<mrflos>
i tryed the usual way to install my php software yeswiki, but it fails to create the config fie
<mrflos>
file*
<kentonv>
do you mean, like, ssh'ing into a running app, or into vagrant while developing?
<mrflos>
vagrant
<mrflos>
can add it manually if needed, but there are some upload scripts to upload images in pages, i will need to have this feature
<kentonv>
hmm, not sure I can answer that as I've never used PHP personally. Maybe jparyani or zarvox could answer when they're around.
<kentonv>
I think that _probably_ you should just ssh in and edit whatever, yes, but I'm not sure I know what I'm talking about in this context. :)
<mrflos>
ok, i will try to find my way, the hardest part for now was to get my cap'n proto to work
<mrflos>
anyway, great job, great app, and great support
<kentonv>
one problem I know we have with PHP apps is often they like to edit their own code or write to the code's directory when they run
<mrflos>
cheers from russia
<kentonv>
and that's bad on Sandstorm since the package contents are supposed to be read-only and only /var (which starts empty) is writable
<mrflos>
yes, for my wiki app, it's just the config file, but a can generate it by hand
<kentonv>
yeah, often for config files you can write it once for all sandstorm instances
<kentonv>
if you find your app wants to modify things at runtime, though, then you'll probably need to do tricks with symlinks
<mrflos>
and i can probably ask to change the path for uploads to var
<mrflos>
yes or symlinks, ok, good
<kentonv>
yeah if you can configure it that's ideal
<kentonv>
ok, it's bed time here. Talk to you later. :)
<Tcf>
Hi, I'm using Sandstorm on Oasis atm. It's hard to find out how you can delete grains. Would be nice to see an optimized UX for the grains. What Jade suggested with sorting them also seems like a good idea.
<Tcf>
Another thing I would like to see is the possibility of using Rocket Chat while you work on grains. Is that possible?
<asheesh>
Also pardon any shortness of text on my part; currently dealing with very bad Internet connectivity in an airpot (-:
<asheesh>
airport, even.
<Tcf>
no worries
<Tcf>
I see now the grain delete
<Tcf>
would be nice if you could delete in it in the overview too
<asheesh>
You can only view one grain/systemthing in Sandstorm at once, so you'd have to do the organizing in a separate window if you wanted to also be able to see the Rocket.Chat instance while doign so.
<Tcf>
That's what I was wondering
<Tcf>
multitasking would be a good addition
<Tcf>
or is the notification the idea of that?
<asheesh>
If we have multi-tasking, then would that mean you can view mltiple grains at once? Or that you can switch between them?
<asheesh>
If "switch between them", you can already do that, via the little tabs on the left.
<asheesh>
Though it might not work on mobile yet.
<Tcf>
I'm thinking more in terms of: if someone chats you on rocket chat that you can do that chat while you are on another grain etc
<asheesh>
I don't know how to do that in a general fashion, but I like the idea.
<asheesh>
One thing I was thinking is that we could let apps indicate activity so you at least know to click back to them.
<Tcf>
yes
<Tcf>
Thats a good start
<asheesh>
So then the Rocket.Chat could blink or something to tell you that even though you're on an Etherpad, it's time to look at chat again.
<asheesh>
I'll file a bug requesting it. Thanks for asking about that!
<Tcf>
:)
<asheesh>
I don't know when we'll be able to do it, but I hope it's soon.
<Tcf>
no rush
<Tcf>
I will be exploring Sandstorm
<asheesh>
BTW, it's great that you're enthusiastic about Sandstorm!
<asheesh>
I tmakes my life just a little more fun.
<Tcf>
It has great potential
<asheesh>
Do you have a GitHub username that I can @-notify to thank you, TCF?
<Tcf>
nope, but I will set it up and come back here
<asheesh>
OK, cool!
<asheesh>
Also feel very free to join the sandstorm-dev group, so that you an stay in touch with discussions if you want.
<Tcf>
I will join that and go to the sandstorm meetup in Berlin
<asheesh>
Is there anything else I can answer for you, about Sandstorm itself, or about how you personally can make the most use of it?
<asheesh>
Oh *awesome*!
<Tcf>
I will come up with more ideas, got a list...but I will do that in the dev group
bb010g has quit [Quit: Connection closed for inactivity]
Tcf has joined #sandstorm
jadewang has joined #sandstorm
* asheesh
waves, morning all.
<asheesh>
I'm in the Dallas Fort Worth airport at the moment.
<asheesh>
Sometimes I kind of love long layovers.
<asheesh>
I just wish the wifi here were a little better so I didn't have to tether.
<asheesh>
But that's OK.
wolcen has joined #sandstorm
<asheesh>
Morning, wolcen !
<wolcen>
asheesh: 'afternoon
<wolcen>
i,i excited to re-try sandstorm today. after issues getting it up under local.sandstorm, I just got a cheap vps it'll get stuck on.
<wolcen>
...rather local.whatever it was, ya know what I mean :P
<asheesh>
Nice (-:
<asheesh>
I hope you consider using the sandcats.io dynamic DNS & free HTTPS service that I maintain for Sandstorm users, as part of my work as a core dev!
<zarvox>
I had an API shim built, but hadn't done the permission persistence layer, and then discovered that Rocket.Chat has that bug where it just fails to make desktop notifications, and put that work on hold
<wolcen>
asheesh: I had used it, and the cert and dyndns setup was great/smooth, but I wasn't at a location I could use my machine via a public ip. So... I tried making it local, but aside from changing the url root as suggested by the error, I'm not sure what else to change as it still wasn't working.
<wolcen>
asheesh: and when I just pointed back to my ip locally [when it was configured for sandcats.io still] it didn't want to fetch stuff from static.mydomain.sandcats.io it seemed.
neynah has joined #sandstorm
<zarvox>
Usability question: should devapps be placed at the beginning of the app list, or wherever the app would sort once packaged?
<zarvox>
The current behavior is the latter. I'm inclined to say it should be the former, since if you have an app in dev mode you're likely iterating on it and want to get to it quickly, and it makes sense to have that be at the front of the list.
<neynah>
From your experience is it inconvenient that it sorts wherever the app would sort oncec packaged?
joshbuddy has quit [Quit: joshbuddy]
<neynah>
I would suggest having it at the top, although I'm not aware of the downsides of always having devapps at the top.
<zarvox>
Yeah, if your user has a bunch of apps installed, you'd have to scroll down to find it. Up 'til now, I've usually been developing as "Alice Dev Admin" with no apps installed, but now that I'm doing stuff with powerbox, I want other apps so that I can have grains from them. And then my test app falls below the fold.
<zarvox>
I don't think I can think of any downsides of having devapps at the top, other than "they're not in the place you might expect to find them in the sort order"
kecolus has quit [Quit: Leaving]
<zarvox>
But I think that is less likely to be a problem when you're doing dev work, and they're at the top of the list instead, with that darker background calling attention to them?
TwoJames2 has quit [Read error: Connection reset by peer]
<neynah>
Do devapps pile up pretty quickly or do you uninstall them after you're done testing?
<zarvox>
Generally there's exactly one devapp at a time, which is the one that 'vagrant-spk dev' exposes. Of course, Linux users can have multiple apps in dev mode via 'spk dev' at a time, but I suspect that nobody has ever actually done this.
<jparyani_>
haha i do this all the time...
simonv3 has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
<zarvox>
I stand corrected!
<bb010g>
I'm getting an error in Firefox when I try to connect: "An error occurred during a connection to bb010g.sandcats.io. The OCSP server has no status for the certificate. (Error code: sec_error_ocsp_unknown_cert)". Looking at the logs, it's running a fresh cert and this was working earlier in the month.
<zarvox>
That's probably just the time-lag between cert issuance and it appearing in GlobalSign's OCSP dataset.
<zarvox>
That said, asheesh I thought there was some logic to alow for some transitioning time?
<bb010g>
Working now. Thanks.
<bb010g>
Guess it has a ~10 minute lag
<zarvox>
Yeah, this probably happens for a short time every time we refresh the cert. Mind filing an issue on https://github.com/sandstorm-io/sandstorm/issues ? I can do it too if you'd rather.
<bb010g>
Could this be fixed? It seems like more of a consequence of cert propagation
joshbuddy has joined #sandstorm
<zarvox>
Yeah, I think the way to fix that would be to not replace the in-memory SNI handler until ~15 minutes after the new cert is fetched, unless the old one doesn't exist or is already expired.