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
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
sydney_untangle has quit [Ping timeout: 260 seconds]
halindrome has quit [Ping timeout: 260 seconds]
halindrome has joined #sandstorm
isd has joined #sandstorm
halindrome has quit [Ping timeout: 252 seconds]
halindrome has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
digitalcircuit has quit [Ping timeout: 276 seconds]
rgrinberg has quit [Quit: WeeChat 1.5]
rgrinberg has joined #sandstorm
ill_logic has joined #sandstorm
<ill_logic> asheesh: just got here a couple min ago.
<asheesh> Howdy ill_logic
<asheesh> Cool. My carpool to NB is en route.
sydney_untangle has joined #sandstorm
<asheesh> I've been spending the last half hour polishing up the tool that gets a shell within a grain.
<asheesh> But tell me - what's the most valuable thing I can do for you?
<asheesh> Let me start by reading the thread we had about the status of the kiwix package, and read the code you already have in there.
<asheesh> re: /opt/app - yes, the filesystem synchronization you're experiencing is intentional.
<ill_logic> Well, you told me where I can find a log. That's the valuable thing.
<asheesh> Ah, great.
<ill_logic> I'll let you know when I get there again.
<ill_logic> Hmm, lmk when you're here. The locals aren't always super eager to answer the door...
<asheesh> Will do.
<asheesh> Great. I'll work on that get-shell-within-a-grain thing for now.
<asheesh> Also - you're not the only person to have failed to find the grain logs. If you have advice on how we can make that easier, I'd love to hear it.
<ill_logic> I... didn't know there would be one? I sort of expected it'd come out from the vagrant-spk dev output.
<asheesh> Yeah, that makes sense.
<asheesh> Maybe I can have 'spk dev' print a note about the grain log.
<ill_logic> I mean, the reason I expected it is that spk up gave some output.
<asheesh> Mm, interesting.
<ill_logic> You also don't say anything about vagrant ssh in the tutorial. You told me about it in person
<asheesh> FWIW, it "has to" work the way it does because there can be multiple grains.
<ill_logic> Not sure how everybody else found it.
<asheesh> ("or did they?")
<ill_logic> Oh, so the others may not have even looked.
halindrome has quit [Ping timeout: 252 seconds]
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
neynah has joined #sandstorm
jadewang has quit [Remote host closed the connection]
neynah has quit [Client Quit]
halindrome has joined #sandstorm
<ill_logic> oh and it's not even ssh, heh
<ill_logic> it's a click thing
<asheesh> It's interesting; it does mean that the terminal where you run 'vagrant-spk dev' is sort of a waste.
<ill_logic> Okay, so /var is different per grain, huh.
<ill_logic> That's why the file I put there during installation is invisible to it when I run.
<asheesh> Yeah. It's "variable".
<asheesh> Oh, I see. Yeah.
<asheesh> If you are going to bundle it into the package, or you want to pretend you are, leave it in /opt/app probably.
<ill_logic> Okay. This is the zim file. For proof of concept I put it in /var, but I'll put it in opt for now.
<asheesh> /opt/app == your working directory with the app etc.
<ill_logic> Later when I add uplodaing a zim, it'll go into /var/
<asheesh> +1
<asheesh> Keep in mind /opt/app is mounted readonly when the app is running.
<asheesh> That should be OK for now, but I want to make sure I mention that in case it bites you because you didn't know it.
<ill_logic> cool.
isd has quit [Quit: Leaving.]
jadewang has joined #sandstorm
<ill_logic> So, there's a funny thing where in the launcher I'm trying to wget it to see that it's up.
<ill_logic> like the php example waits for mysql to be ready
<ill_logic> And it doesn't know what localhost is.
<asheesh> (a) use 127.0.0.1
<asheesh> (b) by default we omit /etc/hosts from the app, but maybe we should stop doing that by default.
<ill_logic> It also doesn't seem to think that it's serving at 127.0.0.1
<ill_logic> which is the next thing. but just wanted to note that I noticed.
<ill_logic> also curl ran out of memory :-P
<asheesh> If it thinks it's serving at 0.0.0.0 that's OK.
<ill_logic> Would be a little nice to get an interactive shell.
<ill_logic> Though I understand that may be very difficult.
<asheesh> I'm "almost" there on it.
<ill_logic> oh really
<asheesh> I can give you an interactive shell if you're OK with a few hacks, but they're probably harder to explain than it is for me to just finish my thing.
<asheesh> Whatever I'll link you to hacks.
<asheesh> It only works if you have one app running, and requires that you keep it open in a browser window.
<asheesh> I mean only have one grain running.
<asheesh> jessie's nsenter doesn't support the arguments we need to make it all work, so I am writing a replacement that I will bundle with vagrant-spk.
<ill_logic> how do I get the pid of the bridge?
<asheesh> The comand there should do the right thing - $(pidof sandstorm-http-bridge)
<ill_logic> oh that was literal, heh
<ill_logic> btw will you be here?
<asheesh> Yeah; sorry about the delay. Carpool got a late start. About 7:24.
<asheesh> Which I know interacts poorly with your hard stop.
neynah has joined #sandstorm
jacksingleton has quit [Ping timeout: 250 seconds]
<ill_logic> No worries.
<ill_logic> Okay, so within the shell, I can access 127.0.0.1:8080. But the launcher script cannot.
<asheesh> !
<ill_logic> Is this becuase you block all connections?
<asheesh> wait 8080 vs 8000
<ill_logic> You said you block the outside world, maybe it applies here.
<ill_logic> Yeah I'm running kiwix with 8080, and I'm wgetting 8080
<ill_logic> Should I do 8000?
<asheesh> In .sandstorm/sandstorm-pkgdef.capnp , the sandstorm-http-bridge invocation declares what port gets exposed as the grain.
<asheesh> And the default is 8000.
<asheesh> You could change .sandstorm/sandstorm-pkgdef.capnp, or you could change kiwix
<asheesh> I would change kiwix but either is A-OK.
<ill_logic> Okay. Interesting. I think I read 8080 when I looked at it before.
<ill_logic> I'll change kiwix
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<ill_logic> I got a couple "line 42: /usr/sbin/nginx: No such file or directory" but eventually it showed up
<asheesh> /usr/sbin/nginx no such file or directory is odd, honestly!
<asheesh> But: hooray, I think!
<ill_logic> especially since it happens twice and then succeeds
<asheesh> Even if you make a new grain?
<ill_logic> Yeah I'm always making new grains.
<ill_logic> Is that you at the door?
isd has joined #sandstorm
neynah has joined #sandstorm
TC01 has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<asheesh> (yes I was! I am here now! as you know.) (-:
todayman has joined #sandstorm
raoulzecat has quit [Ping timeout: 260 seconds]
jemc has joined #sandstorm
ill_logic has quit [Ping timeout: 250 seconds]
rgrinberg has quit [Ping timeout: 260 seconds]
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #sandstorm
jemc has quit [Ping timeout: 252 seconds]
raoulzecat has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
<isd> dwrensha: fyi, I think the issue I was having getting the wake lock was due to misunderstanding how to talk to the api with sandstorm-http-bridge; it looks like there's another interface that you have to use to get at the SandstormApi if you're touching /tmp/sandstorm-api; I wasn't doing that. Had it working before (and now, again) when I was lauching my app directly and talking to fd #3, but haven't gotten the web ui working that way yet. tl;dr not a sandstorm b
<isd> and now it is bed time.
isd has quit [Quit: Leaving.]
jemc has joined #sandstorm
<Mitar> carpooling? what is this about?
raoulzecat has quit [Ping timeout: 260 seconds]
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
rustyrazorblade has quit [Quit: rustyrazorblade]
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
aundro has joined #sandstorm
<aundro> Hi!
<asheesh> Hi aundro !
jacksingleton has joined #sandstorm
jacksingleton has quit [Ping timeout: 246 seconds]
jemc has quit [Ping timeout: 276 seconds]
jadewang has joined #sandstorm
<guiniol> asheesh: thanks, I'll keep an eye out for it
jadewang has quit [Ping timeout: 265 seconds]
neynah has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
gabkdlly has quit [Quit: Ex-Chat]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
ecloud has quit [Ping timeout: 276 seconds]
ecloud has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
<Mitar> asheesh: any suggestions how to send e-mails from a meteor app?
<Mitar> the issue is that session-id is not available in the meteor app
<Mitar> and I do not know how to freeze capabilities
<Mitar> so that I can use it later on
<Mitar> also, I would need post HTTP queries
<Mitar> :-(
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
ecloud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ecloud has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
asmyers has joined #sandstorm
rgrinberg has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
benkard has joined #sandstorm
benkard has quit [Client Quit]
frigginglorious has joined #sandstorm
raoulzecat has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
jemc has joined #sandstorm
jadewang has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
frigginglorious has quit [Client Quit]
frigginglorious has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
frigginglorious_ has joined #sandstorm
frigginglorious has quit [Ping timeout: 244 seconds]
frigginglorious_ is now known as frigginglorious
gelnior has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 246 seconds]
rolig has quit [Ping timeout: 246 seconds]
rolig has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 246 seconds]
jacksingleton has joined #sandstorm
Jan\ has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
frigginglorious has quit [Client Quit]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
neynah has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has joined #sandstorm
dograt has quit [Ping timeout: 240 seconds]
dograt has joined #sandstorm
amyers has joined #sandstorm
asmyers has quit [Ping timeout: 250 seconds]
amyers has quit [Read error: Connection reset by peer]
amyers has joined #sandstorm
kecors has joined #sandstorm
amyers has quit [Remote host closed the connection]
amyers has joined #sandstorm
isd has joined #sandstorm
Zertrin has quit [Remote host closed the connection]
Zertrin has joined #sandstorm
amyers has quit [Remote host closed the connection]
amyers has joined #sandstorm
amyers has quit [Read error: Connection reset by peer]
amyers has joined #sandstorm
amyers has quit [Remote host closed the connection]
amyers has joined #sandstorm
amyers has quit [Ping timeout: 250 seconds]
raoulzecat has quit [Ping timeout: 252 seconds]
raoulzecat has joined #sandstorm
kecors has quit [Quit: Leaving]
dwrensha has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0.1/20160502172042]]
isd has quit [Ping timeout: 260 seconds]
* asheesh stretches.
dograt has quit [Quit: No Ping reply in 180 seconds.]
dograt has joined #sandstorm
amyers has joined #sandstorm
amyers has quit [Read error: Connection reset by peer]
amyers has joined #sandstorm
rgrinberg has quit [Ping timeout: 252 seconds]
raoulzecat has quit [Ping timeout: 244 seconds]
raoulzecat has joined #sandstorm
rgrinberg has joined #sandstorm
<ocdtrekkie> I just wanted to say that meteor/meteor is now the largest/most widespread project I've contributed something to: https://github.com/meteor/meteor/pull/6757
<ocdtrekkie> \o/
<asheesh> Yay ocdtrekkie !
<asheesh> Congrats!
<ocdtrekkie> The time to merge though demonstrates why it's useful that Sandstorm is managing this directly now.
<asheesh> Yeah, I was gonna say something resembling that.
<asheesh> https://github.com/dwarvesf/liulo looks like a neat prospective Sandstorm app.
<asheesh> One difficulty is that a long sharing link URL might limit collaboration.
jadewang_ has joined #sandstorm
jadewang has quit [Read error: Connection reset by peer]
amyers has quit [Ping timeout: 250 seconds]
strugee has quit [Ping timeout: 246 seconds]