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
Winden has joined #sandstorm
Winden has quit [Quit: Leaving.]
<simonv3> I’m followed the steps for packaging a Meteor app for Sandstorm http://localhost:3000/
<simonv3> And I’m using accounts-sandstorm package https://github.com/sandstorm-io/meteor-accounts-sandstorm
<simonv3> Testing it on Meteor works fine
<simonv3> but when I open the app in Sandstorm (local.sandstorm.io:/6080) my Meteor.user() returns:
<simonv3> Object { _id: "5k5i9FdPo7tNHTYwt", hasCompletedSignup: true, isAdmin: true, signupKey: "devAccounts", loginIdentities: Array[1], nonloginIdentities: Array[0] }
<simonv3> which is not quite what I was expecting
<simonv3> Is there something else I have to do to get that working?
<simonv3> Meteor.users.find({}).fetch() returns 2 objects, the first is the one listed above - the second is a user profile for Alice Dev Admin, but under services there’s only {dev: {name: “Alice Dev Admin”}}. Don’t see permissions or anything like that :/
<simonv3> I’ll open an issue in that repo as well
natea has quit [Quit: natea]
heliostatic has joined #sandstorm
<asheesh> Howdy simonv3
<asheesh> Are you using the console in the right tab, fwiw?
<simonv3> asheesh: how do you mean?
<asheesh> brb
<simonv3> (this is from the javascript console in the browser, which I wasn’t sure would work, but all the standard Meteor things are available, and the test logs show as well)
<asheesh> Back
<asheesh> FWIW you should be aware that since the app is running inside an iframe, you need to specify *which* frame to see the JS console for.
<asheesh> You're going to need to choose the "app-iframe" from the dropdown shown in the first answer there.
<asheesh> simonv3: Let me know if the above makes sense. If not I should explain more. If it does make sense I can wander off!
<simonv3> It makes sense, though I’m not sure whether Firefox has the same thing, going to test in Chrome now
<simonv3> Yep, in Chrome the right user is shown
<simonv3> Still doesn’t do the right thing, but I guess the bug isn’t what I thought it was
<asheesh> (-:
<asheesh> "yay, a different error!"
<simonv3> yay for debugging
<simonv3> done for tonight though
<asheesh> simonv3: https://github.com/sandstorm-io/sandstorm/pull/1354 & thanks for asking
Prosody is now known as brosoqy
brosoqy is now known as prosody
jadewang has joined #sandstorm
mnutt has joined #sandstorm
<mnutt> asheesh: do you know how I’d switch?
<mnutt> (blowing away all built dependencies, upgrading to clang-3.5, and forcing ekam to build with clang didn’t help)
heliostatic has quit [Ping timeout: 240 seconds]
heliostatic has joined #sandstorm
mnutt has quit [Quit: mnutt]
<simonv3> asheesh: do you know if there’s a way to see the logs from the packaged app?
<simonv3> probably they’re locatable somewhere in the vagrant instance?
heliostatic_ has joined #sandstorm
home has joined #sandstorm
heliostatic has quit [Ping timeout: 260 seconds]
dwrensha has quit [Read error: Connection reset by peer]
dwrensha has joined #sandstorm
home has quit [Remote host closed the connection]
mnutt has joined #sandstorm
mnutt has quit [Quit: mnutt]
simonv3 has quit [Quit: Connection closed for inactivity]
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
heliostatic_ has quit [Ping timeout: 245 seconds]
gambatte has quit [Ping timeout: 260 seconds]
joshbuddy has quit [Ping timeout: 272 seconds]
heliostatic_ has joined #sandstorm
heliostatic_ has quit [Ping timeout: 245 seconds]
heliostatic_ has joined #sandstorm
heliostatic_ has quit [Ping timeout: 250 seconds]
jadewang has quit [Remote host closed the connection]
larjona has quit [Ping timeout: 240 seconds]
larjona has joined #sandstorm
larjona has quit [Remote host closed the connection]
<asheesh> simonv3 has wandered off, but: they're usually in the "grain log", if we're talking about things that the app prints to stdout.
<asheesh> aka server-side console.log()
heliostatic_ has joined #sandstorm
heliostatic_ has quit [Ping timeout: 260 seconds]
heliostatic_ has joined #sandstorm
larjona has joined #sandstorm
heliostatic_ has quit [Ping timeout: 240 seconds]
larjona has quit [Read error: Connection reset by peer]
larjona has joined #sandstorm
heliostatic_ has joined #sandstorm
heliostatic_ has quit [Ping timeout: 276 seconds]
asmyers has joined #sandstorm
asmyers has quit [Ping timeout: 256 seconds]
<dwrensha> I'm trying to think of a cute name for a Rust crate that will be the home of my port of kj::Exception
<dwrensha> "err" and "error" are not available, but "er" is.
<dwrensha> but I probably want something more googleable anyway
rolig has quit [Quit: Quit]
rolig has joined #sandstorm
joshbuddy has joined #sandstorm
mnutt has joined #sandstorm
<XgF> dwrensha: Hmm, what does kj::Exception do that std::Error doesn't?
<dwrensha> std::io::Error is not Clone
<dwrensha> kj::Exception is way simpler
<dwrensha> and has a copy constructor
<dwrensha> errors being copyable is important for Promise::fork()
<XgF> Could you not just pass around std::error::Errors?
<dwrensha> that's a trait
<dwrensha> you could use Box<::std::error::Error>
<dwrensha> it seems like the usual thing that Rust library do is to define their own custom Error enum
<dwrensha> and impl ::std::error::Error for it
<dwrensha> they end up with hierarchies of errors wrapping other errors
<dwrensha> and as far as I can tell, it's rare to actually care about all dealing those cases, once you've caught an error
<dwrensha> *dealing with all of those cases
joshbuddy has quit [Quit: joshbuddy]
<mnutt> anyone have an idea about how I’d go about debugging a segfault when running `make` to try to build sandstorm from source? I’m running the sandstorm/debian-jessie64 VM and following the instructions from the installation page, getting a segfault that looks like it’s related to capnp
<mnutt> (the idea being that you run `FROM_SOURCE=true vagrant-spk up` and get a VM where you can hack on sandstorm itself at the same time as your app)
simonv3 has joined #sandstorm
mnutt has quit [Quit: mnutt]
mnutt has joined #sandstorm
mnutt has quit [Quit: mnutt]
joshbuddy has joined #sandstorm
nwf has quit [Ping timeout: 250 seconds]
nwf has joined #sandstorm
jadewang has joined #sandstorm
mnutt has joined #sandstorm
simonv3 has quit [Quit: Connection closed for inactivity]
Qwertie has left #sandstorm ["Leaving"]
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
<mnutt> here’s the backtrace of the segfault: https://gist.github.com/mnutt/9fdebec76bcc71304f19 my best guess is that capnp doesn’t like being built on a vboxsf filesystem
simonv3 has joined #sandstorm
<simonv3> Is there a way to maintain session for non-logged in users by storing in local storage? Right now I’m noticing that my app is storing things in the <longhash>.local.sandstorm.io, but that changes with a page refresh
mnutt has quit [Quit: mnutt]
<kentonv> simonv3: currently there isn't any way.
<kentonv> arguably there shouldn't be any way for "incognito" users.
mnutt has joined #sandstorm
<mnutt> is there a reason that ekam is in deps, but you need to separately compile it in order to get network dashboard support? (for `make continuous`)