<isd>
Ah, it's the capnproto type in JSON encoding. That could have been more clear.
<isd>
(Had to dig through the shell's source code to figure it out...)
<Zarutian>
ill_logic: NAS stands for Network Access Storage
kpcyrd has joined #sandstorm
<kpcyrd>
hey. I'm monitoring a github project and noticed somebody requested a sandstorm app. This project already has a dockerfile in place. Is it, in theory, possible to run that as sandstorm app?
<ill_logic>
Zarutian: I understand. But when people sell me on it, they mention other features.
<kpcyrd>
also, I've looked into sandstorm for the first time, I was a bit confused by vagrant and how sandstorm apps are actually patched
<kpcyrd>
I assumed it's already using docker under the hood
<Zarutian>
ill_logic: then it is just an application server with huge storage.
<isd>
kpcyrd: It isn't using docker; it does it's own sandboxing. It's based on some of the same underlying technogolies (e.g linux namespaces & cgroups) but also makes use of some other stuff (e.g. seccomp-bpf to wall off syscalls).
<isd>
And the way apps talk to sandstorm isn't the same as what you'd have in a docker container. It's unlikley to work "out of the box," but depending on the application, it may be easier or harder to port it. What's the app in question?
<isd>
The vagrant thing is just a development tool -- once you've packaged up the app vagrant is out of the equation.
<Zarutian>
isd: what is the syscall interface to carry capnproto messages usually? just through stdout and stdin?
<isd>
Zarutian: your app gets launched with an rpc socket on file descriptor 3
<isd>
If you're using sandstorm-http-bridge, it re-exports the api via a unix socket somewhere in /tmp.
<Zarutian>
lsd: and that is it, yes? Dont be surprised to see an sandstorm application written in something like Forth turn up
<isd>
:P
* Zarutian
does wonder about sandstorm, capnproto compatibility with cloudabi
<isd>
I'd very much welcome apps written in atypical web languages.
<isd>
A lot of apps have lousy startup times, which is a problem since sandstorm shuts them down when they're idle. Much better UX if you've got something that doesn't have all that overhead
<Zarutian>
isd: so basically a freeze imaged at one point in developement and written out as an executable is prefered?
<isd>
Not sure I follow?
<Zarutian>
isd: hmm.. you know emulators like the ones for snes? It is possible to 'freeze state' to file and reload later. That is similiar to what I described except the 'emulator' is the usual unix process internal enviroment and only one 'freeze state' exists that gets loaded and run.
<isd>
Ah. Yeah, kentonv mentioned the idea of using snappy-start to do something along those lines
<isd>
Not quite the same.
<isd>
I really think the right solution is to just fix the startup times in the frameworks we're using -- the requirements here really aren't hard to achieve.
<Zarutian>
if the startup is exactly the same every time then why not use the method I described and I suspect kentonv named snappy-start?
<isd>
It's a reasonable solution, esp. when you're looking for something general that solves the problem for most frameworks across the board.
<isd>
But ideally we'd just fix the problem upstream, rather than adding even more stuff to the pile of software we're dependent on.
<isd>
meh.
sydney_untangle has quit [Ping timeout: 240 seconds]
sydney_untangle has joined #sandstorm
<Zarutian>
isd: in what I described the elf binary would most likely be handcrafted or assembled. (One page sized primitives 'kernel' text section and then a huge data section with the Forth dictionary)
funwhilelost has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harish has quit [Ping timeout: 240 seconds]
Zarutian has quit [Ping timeout: 240 seconds]
harish has joined #sandstorm
harish has quit [Remote host closed the connection]
mxn- has left #sandstorm [#sandstorm]
<ill_logic>
If I want to set up Sandstorm for a totally isolated scenario, do I have options for authentication?
<ill_logic>
Google and Github not accessible. email impractical unless everybody's email server is on the network.
<ill_logic>
Would I want to set up LDAP? I'm not familiar with LDAP so I'm not sure.
<ill_logic>
And I guess the wildcard domain issue isn't settled either, still needs sandcats.
_whitelogger has joined #sandstorm
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 255 seconds]
<maurer>
Wildcard domain does not require sandcats, it's simply the easiest way to set it up
rolig has quit [Ping timeout: 240 seconds]
indoleringmatrix has quit [Ping timeout: 240 seconds]
indoleringmatrix has joined #sandstorm
kpcyrd has quit [Ping timeout: 246 seconds]
rolig has joined #sandstorm
yeehi has quit [Ping timeout: 268 seconds]
yeehi_ has joined #sandstorm
kpcyrd has joined #sandstorm
_whitelogger has joined #sandstorm
yeehi_ has quit [Quit: Konversation terminated!]
yeehi has joined #sandstorm
harish has joined #sandstorm
Telesight has joined #sandstorm
tobald has joined #sandstorm
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 255 seconds]
tobald has quit [Ping timeout: 240 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 260 seconds]
<TimMc>
ill_logic: There's also LDAP.
tobald has joined #sandstorm
benaloney has joined #sandstorm
tobald has quit [Quit: Ex-Chat]
<ill_logic>
TimMc: Right. So LDAP is an option for completely off-the-grid?
<ill_logic>
Is there a way to look at log files?
<ill_logic>
long ones?
<ill_logic>
I'm running my own server now.
<ill_logic>
that was easy
<ill_logic>
found log files
samba_ has joined #sandstorm
<ill_logic>
oh it deletes it after some time
<ill_logic>
that's not very useful for me here :-/
Zarutian has joined #sandstorm
<ill_logic>
oh right! log rotation, there it is
<ill_logic>
hmm, no still seems to miss it
funwhilelost has joined #sandstorm
<ill_logic>
Interesting. uploading large files on two different grains at once slowed it down a lot
<TimMc>
ill_logic: I haven't used the LDAP option, but I don't see why it wouldn't work on a disconnected network.
<ill_logic>
Okay. I just don't know the UI for LDAP. I presume users need to create an account on there first.
<TimMc>
I believe it's a protocol with a number of implementations. I usually hear of it being used inside corporations; IT would set up a new LDAP account for a new employee and give them a temporary password; the employee then sets the password via some OS integration.
<maurer>
LDAP is a protocol that is used to access either ActiveDirectory or slapd servers
<maurer>
It does not have a great inherent way to register users, you'd have to set something else up for that
<maurer>
(it's permission system is not fine grained enough to allow users to insert themselves without being able to edit other users)
yeehi has quit [Ping timeout: 252 seconds]
yeehi has joined #sandstorm
yeehi_ has joined #sandstorm
yeehi has quit [Ping timeout: 260 seconds]
<ill_logic>
Okay. I'm trying to envision a situation where an offline community could have people easily come in, quickly make an account, and start using SS
<isd>
ill_logic: check out freeipa
<isd>
Makes setting up the whole ldap mess a lot easier.
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
samba_ has quit [Ping timeout: 260 seconds]
Zarutian has quit [Quit: Zarutian]
<ill_logic>
isd: Thanks, noted.
Zarutian has joined #sandstorm
Zarutian has quit [Read error: Connection reset by peer]
Zarutian has joined #sandstorm
larjona has quit [Remote host closed the connection]
larjona has joined #sandstorm
samba_ has joined #sandstorm
Telesight has quit [Remote host closed the connection]
<isd>
no problem.
DanC has quit [Ping timeout: 260 seconds]
DanC has joined #sandstorm
<isd>
So, I'm futzing around with trying to build a disqus/isso like app for sandstorm. (A while back I looked at porting isso and decided it wasn't worth the trouble).
DanC has quit [Ping timeout: 260 seconds]
<isd>
I'm getting close to POC stage, but I'm hanging up on one issue -- I've got a form that's rendering on the static page that posts to the sandstorm API, and that works, but I can't figure out how to redirect back to the original page.
DanC has joined #sandstorm
<isd>
I guess I could do the post via javascript. But my naive attempt to just shove a redirect field and then do a redirect didn't work, sandstorm seems to block that.