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
coyotebush has quit [Ping timeout: 248 seconds]
Salt has quit [Ping timeout: 268 seconds]
frigginglorious has quit [Quit: frigginglorious]
coyotebush has joined #sandstorm
Salt has joined #sandstorm
wolcen_ has joined #sandstorm
<maurer> Well, it took me long enough, but I finally found the free time to add canonicalization (https://github.com/sandstorm-io/capnproto/pull/293) I look forward to being told how terrible my out of date C++ knowledge is :)
frigginglorious has joined #sandstorm
<asheesh> : D maurer
<frigginglorious> someone wanna play a quick match of a browser game where we shoot arrows at eachother?
<frigginglorious> http://sf.archersgame.com/
<asheesh> frigginglorious: I'm busy at the moment but I suggest joining #userops and asking there!
<frigginglorious> asheesh: im pretty sure its ripe for SS porting. but will do :P
<dwrensha> frigginglorious: is the source code available?
<frigginglorious> dwrensha: yessir. https://github.com/tnajdek/archers
NwS has quit [Ping timeout: 260 seconds]
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
notevil has quit [Quit: Leaving]
wolcen_ has quit [Ping timeout: 276 seconds]
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
luckre_ has quit [Quit: No Ping reply in 180 seconds.]
luckre has joined #sandstorm
mnutt has joined #sandstorm
msoucy has quit [*.net *.split]
xobs has quit [*.net *.split]
dcb has quit [*.net *.split]
fkautz has quit [*.net *.split]
msoucy has joined #sandstorm
xobs has joined #sandstorm
dcb has joined #sandstorm
fkautz has joined #sandstorm
posi has joined #sandstorm
<posi> We would pay big bucks for managed sandstorm in a gov cloud environment . We'd be happy if it was aws gov cloud that's what we use now
<posi> I bet it's TAM of 500 million yearly
<kentonv> posi: I would love to talk to you about this! :)
<kentonv> posi: Can you email me at kenton@sandstorm.io?
jadewang has joined #sandstorm
<mrdomino> wow, just saw cryptag. nice! anyone using it as a password manager yet?
<mrdomino> oh, no real UI to speak of yet. still, neat.
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<frigginglorious> mrdomino: i really need to start using a password manager. its one of those things i know i wont do until after its become an issue
<mrdomino> fwiw github.com/habnabit/passacre + chrome password store as a fallback cache has been working really well for me
<digitalcircuit> mrdomino: I've got cryptag installed.. but haven't actually started using it yet. I'll try to soon, for it'd be better than my current setup of a Bash script and GPG on a text file :)
<mrdomino> passacre + cryptag would be a reasonable sub for passacre + chrome password store
coyotebush has quit [Ping timeout: 268 seconds]
OOCoder has joined #sandstorm
<OOCoder> Hi, just curious, Is there a reason y sandstorm us kiwiirc vs gitter.im?
coyotebush has joined #sandstorm
XgF has quit [Ping timeout: 246 seconds]
jadewang has quit [Remote host closed the connection]
XgF has joined #sandstorm
OOCoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
GeorgeHahn has quit [Read error: Connection reset by peer]
frigginglorious has quit [Quit: frigginglorious]
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
ecloud is now known as ecloud_wfh
mcpherrin has quit [Ping timeout: 260 seconds]
mcpherrin has joined #sandstorm
dcb has quit [Ping timeout: 240 seconds]
raoulzecat has joined #sandstorm
raoulzecat has quit [Ping timeout: 260 seconds]
dcb has joined #sandstorm
raoulzecat has joined #sandstorm
mcpherrin has quit [Ping timeout: 244 seconds]
mcpherrin has joined #sandstorm
home has joined #sandstorm
raoulzecat has quit [Ping timeout: 260 seconds]
raoulzecat has joined #sandstorm
raoulzecat has quit [Ping timeout: 276 seconds]
raoulzecat has joined #sandstorm
home has quit [Ping timeout: 252 seconds]
raoulzecat has quit [Ping timeout: 276 seconds]
raoulzecat has joined #sandstorm
raoulzecat has quit [Ping timeout: 268 seconds]
raoulzecat has joined #sandstorm
raoulzecat has quit [Ping timeout: 240 seconds]
amyers has joined #sandstorm
paroneayea has joined #sandstorm
NwS has joined #sandstorm
KooBaa has quit []
luckre has quit [Remote host closed the connection]
frigginglorious has joined #sandstorm
luckre has joined #sandstorm
luckre has quit [Changing host]
luckre has joined #sandstorm
mnutt has joined #sandstorm
luckre has quit [Ping timeout: 260 seconds]
xet7_ has joined #sandstorm
zeroish has joined #sandstorm
xet7_ has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
xet7_ has joined #sandstorm
synchrone has joined #sandstorm
BigShip has joined #sandstorm
<BigShip> asheesh: Okay, now I know why I was having SO much trouble. I hadn't found the section on capnproto
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<synchrone> hmm, people want me to violate one-doc-per-grain recommendation ...
<synchrone> I'm thinking about denying such requests: https://github.com/synchrone/sandstorm-radicale/issues/17
<BigShip> Hmmm, would allowing the user to change the calendar name fix the problem? Maybe you could append a random number to the end of the calendar name when it's generated?
<BigShip> Then you could keep one-doc-per-grain but grains wouldn't interfere with sync
<synchrone> random sha-like strings don't make much sense
<synchrone> i might get away with semantic names
<BigShip> Anything that ensures each grain had a different name would probably do the trick
<maurer> Does caldav not have separate user-friendly names and ids?
<synchrone> but i'd much rather see https://github.com/sandstorm-io/sandstorm/issues/1629
<synchrone> maurer: it does, but 1) infCloud does not support setting them, and 2) #1629 is not solved yet
<maurer> OK, so it seems like the "ideal" way would probably be fixing #1629 and getting infCloud to support that
<synchrone> and i don't feel like implementing another infCloud hack to let the user do that, since syncing with grain name is much better
<synchrone> i have a way to do a required PROPPATCH
<synchrone> but i need that name from somewhere
<synchrone> UI development with infCloud is a pain, and eventually I'd need to remove that feature when #1629 is fixed
jemc has joined #sandstorm
mnutt has joined #sandstorm
<BigShip> synchrone: are you working on radicale then? I noticed that the couple of contact managers on sandstorm don't have import options. I was curious, are they a pain to implement?
sknebel has quit [Quit: sknebel]
sknebel has joined #sandstorm
home has joined #sandstorm
zeroish has quit [Remote host closed the connection]
home has quit [Ping timeout: 240 seconds]
<synchrone> BigShip: I do. Radicale did not natively have this option, but it was easy enough for me to add support for, because it does not actually care about your contact format. It knows about *some* options, but generally stores whatever you give it
<BigShip> Oh! Radicale has import @_@?
<synchrone> since v9, I think
<synchrone> radicale on sandstorm does, not radicale.org
<BigShip> <3 awesome, I hadn't realized
<synchrone> as you can see, dead-simple, plus a little hack in wsgi
<synchrone> currently there's a bug handling files over 500kb, but i'll release a fix soon
<BigShip> epic, now to start transferring my google stuff over :D
frigginglorious has quit [Quit: frigginglorious]
notevil has joined #sandstorm
frigginglorious has joined #sandstorm
<asheesh> BigShip: I have forgotten what stuff you were having trouble with, but I'm glad that capnproto helped!
<BigShip> asheesh: I hadn't realized there was a different process for packaging web clients vs programs. Was using the wrong method. :D
wolcen_ has joined #sandstorm
amyers has quit [Ping timeout: 246 seconds]
amyers has joined #sandstorm
<BigShip> synchrone: that import was seamless. Nicely done
<synchrone> happy to assist google exodus :D
<synchrone> radicale does not support iCal v4 though. I don't know what would export that, but I did not handle that case explicitly
<synchrone> someone's gonna see an unknown error at some point
<synchrone> or wait, was it infCloud...
<asheesh> BigShip: web clients vs. programs - can you explain more?
<BigShip> asheesh: Haha sorry badly worded. I meant pure client apps vs standard apps
<asheesh> Ah hah, great.
synchrone has quit [Ping timeout: 244 seconds]
brocktice has joined #sandstorm
<brocktice> Hi all, I have installed sandstorm.io before no problem. I just tried on a fresh 14.04 vm and it won't start
<brocktice> no mongo logfiles, lockfiles, or PID files are created
<brocktice> I get a notice that "ERROR: child process failed, exited with error number 1"
<brocktice> any ideas? I've tried twice now
<kentonv> brocktice: anything in /opt/sandstorm/var/log/sandstorm.log ?
<brocktice> yeah let me pastebin
<brocktice> I literally just set up the instance, set up networking, and then ran the install script
<kentonv> so there's no /opt/sandstorm/var/log/mongo.log ?
<brocktice> correct
frigginglorious has quit [Quit: frigginglorious]
<brocktice> i have sandstorm.log and updater.log
<brocktice> the latter is empty
jemc has left #sandstorm ["WeeChat 1.4"]
<brocktice> the former just has what I showed you
<kentonv> how much disk space is available?
<brocktice> 89GB free
<brocktice> is a 95GB partition
<brocktice> er
<brocktice> the / filesystem is on a 95GB partition
<kentonv> Hmm, I'm trying to think of what to do here. Hard to tell why Mongo is unhappy.
<brocktice> Yeah I'm not sure, do you know the command used to invoke mongo?
<brocktice> I couldn't find a config file with an expected name
<kentonv> well it's a bit complicated because it runs inside our self-container
<brocktice> ah
<kentonv> possibly if you chroot into /opt/sandstorm/latest then you'd be able to run it
<kentonv> though I'm not sure how to get useful information out
<kentonv> since Mongo doesn't seem to want to give us any
<brocktice> I can just try a fresh install
<brocktice> of the whole vm I mean
<brocktice> I can't imagine that will change much but I'm running out of variables
<kentonv> well, ideally I'd like to figure this out so we can fix it for everyone
<kentonv> but I'm still thinking about what to do... hmm
<brocktice> yeah I don't know... I guess you haven't had any simliar reports?
<brocktice> I didn't see anything on the current github issues
<kentonv> we see various mongo failures but usually there's some logs
<brocktice> yeah without logs there's not much to go on
<kentonv> let me see if I can write you a script to try
<brocktice> ok
frigginglorious has joined #sandstorm
<brocktice> as a sanity check I'm going to make another vm real quick
amyers has quit [Ping timeout: 268 seconds]
<kentonv> brocktice: mkdir -p /tmp/mongo && /opt/sandstorm/latest/bin/mongod --bind_ip 127.0.0.1 --port 6081 --dbpath /tmp/mongo --logpath /tmp/mongolog --pidfilepath /tmp/mongopid --auth --nohttpinterface --noprealloc --nopreallocj --smallfiles --replSet ssrs --oplogSize 16
<kentonv> just to see if it fails
<brocktice> yep hold please
<kentonv> (ctrl+C to kill it if it doesn't fail)
<brocktice> well
<brocktice> it appears not to have died
<brocktice> killing
<kentonv> darn
<brocktice> just going to set up network on this new one after it's done
<brocktice> and then try the install again clean
<kentonv> was the previous attempt totally a default installation?
<brocktice> yes, it was my first time trying to use sandcats.io
<brocktice> In the past I'd used my own wildcard ssl
<brocktice> It was option 1, production, not devel
<brocktice> I suppose there's a chance something got messed up
<brocktice> but then I wiped /opt/sandcat and re-ran
amyers has joined #sandstorm
<brocktice> both times it failed to start
<brocktice> new vm is about done
<kentonv> I suppose the only other thing to do is strace
<kentonv> sudo sandstorm stop && sleep 2 && sudo strace -f sandstorm start 2> ~/sandstorm.trace
<kentonv> then wait until the mongo error happens, then ctrl+c
<kentonv> then you'll have this ginormous trace file
<brocktice> where do I need to be
<brocktice> /opt/sandstorm?
<kentonv> anywhere
<brocktice> 54k
<brocktice> oh huh
<brocktice> stat("/var/log/mongo.log", 0x7ffc19a81a70) = -1 EACCES (Permission denied)
<brocktice> that's interesting
<kentonv> hmmmmmm
<brocktice> should it be trying to create a mongo logfile there?
<asheesh> hmmmmmmmm
<kentonv> well it's inside the container, so that's actually /opt/sandstorm/var/log/mongo.log
<asheesh> maybe install.sh install-twice-and-break-permissions bug. :-*
<asheesh> :-( rather.
<brocktice> ihaha
<brocktice> haha even
<asheesh> ls -ld /opt/sandstorm/var/log
<asheesh> for me:
<asheesh> drwxrwx--- 2 sandstorm sandstorm 532480 Mar 16 01:25 /opt/sandstorm/var/log
<brocktice> nope it's root:sandstorm
<asheesh> Now let me read install.sh to see what it is doing.
<asheesh> Thanks hugely to kentonv for getting the debugging this far along.
<kentonv> brocktice: what's the whole line?
<brocktice> drwxrwx--- 2 root sandstorm 4096 Mar 17 11:19 /opt/sandstorm/var/log/
<kentonv> ok, that's correct
<kentonv> Asheesh's is weird
<asheesh> OK, the dir is fine, yeah. The file itself?
<brocktice> which file
<asheesh> paulproteus@rose:~$ sudo ls -l /opt/sandstorm/var/log/mongo.log
<brocktice> it never creates the mongo log
<asheesh> -rw-rw---- 1 sandstorm sandstorm 158440 Mar 17 18:01 /opt/sandstorm/var/log/mongo.log
<asheesh> Oh, right.
<asheesh> Er.
<kentonv> maybe a parent directory?
<asheesh> ls -ld /opt/sandstorm/var
<asheesh> ls -ld /opt/sandstorm
<brocktice> drwx------ 5 root root 4096 Mar 17 11:59 /opt/sandstorm/
<brocktice> that's... wrong
<brocktice> must be
<asheesh> That doesn't look great, yeah.
<brocktice> should be root:sandstorm?
<brocktice> and 770?
<asheesh> paulproteus@rose:~$ ls -ld /opt/sandstorm
<asheesh> drwxr-xr-x 5 root root 4096 Mar 16 01:25 /opt/sandstorm
<asheesh> for me.
<brocktice> huh
<asheesh> Try 755 on that and see if that fixes things.
<kentonv> what's your umask? (run "umask")
<brocktice> 0022
<brocktice> same problem on /opt/sandstorm/var
<brocktice> aha
<brocktice> running
<kentonv> ls -ld /opt
<brocktice> after fixing that
<brocktice> drwxr-xr-x 3 root root 4096 Mar 17 11:18 /opt/
<asheesh> brocktice: Did you run install.sh twice, or just once? If just once, this even more important than I thought.
<brocktice> I'm in business
<asheesh> (-:
<brocktice> I ran it twice, but I think this happened the first time?
<asheesh> Thank you! Now I need to figure out steps to reproduce.
<brocktice> Yeah I'll try it on this second machine real quick
<asheesh> And then steps to avoid this. : P
<asheesh> Sweet. Thank you a great deal.
<brocktice> yw
<kentonv> brocktice: you said you had completely deleted /opt/sandstorm after the first run, right?
<brocktice> I may have done something stupid and caused it
<brocktice> kentonv: yes let me check history
<kentonv> ok then I don't think this is a double-install problem
<brocktice> 45 sudo mv /opt/sandstorm/var ~/sandstorm-var
<brocktice> 46 sudo rm -rf /opt/sandstorm/
<brocktice> 47 curl https://install.sandstorm.io | bash
<brocktice> that's the second time
<brocktice> so the dir should have been gone entirely
<kentonv> the weird permissions could make sense if your umask had somehow been set to 0077, but that doesn't appear to be the case
jadewang has joined #sandstorm
<brocktice> I didn't change anything from default install
<brocktice> Aside from installing vlan and setting up the vlan to pull a public
<brocktice> (we keep a public IP vlan on the office network)
wolcen_ has quit [Ping timeout: 276 seconds]
<brocktice> do all ports need to be open for a sandcats.io install to succeed?
<asheesh> It depends what succeed means, and do you mean inbound vs. outbound?
<brocktice> Because I realized I was missing 6080 and the 30kwhatever one partway through
<brocktice> I meant the inbound ports, per docs I assumed I needed 80,443,6080,30025
<asheesh> Sandstorm doesn't do any reachability test, so you can go run it in a way that isn't reachable, and fix ports after the fact.
<brocktice> ah ok that's not it then
<brocktice> fresh server is ready
<brocktice> maybe I should snapshot this first...
<asheesh> : )
canuky has joined #sandstorm
<asheesh> BTW brocktice ... were you at cs.jhu.edu like 10 years ago?
<asheesh> 'Cause I was and your name looks super familiar.
<asheesh> If not, that's OK, but I figure I might as well ask.
<BigShip> asheesh, secretly trying to figure out where we all live =P
<asheesh> So that I can send you all stickers!!!
<BigShip> Ooo, giving up personal information for stickers is tempting...
<brocktice> hahaha yes
<brocktice> well sort of
<brocktice> Institute for Computational Medicine
<asheesh> I think I remember your username being the only other person who was actively pegging the CPUs on the ugrad.cs.jhu.edu machines, or something like that.
<brocktice> Natalia Trayanova's lab
<asheesh> "other" meaning I was too.
<brocktice> oh... yeah I'd do that probably
<brocktice> I was in an MPI class
<maurer> asheesh: Wait, you're affiliated with jhu? Did you know Rich Ercolani?
<brocktice> that's probably when
<asheesh> maurer: Boy do I!
<maurer> ....small world
<brocktice> I only used the cs machines for my MPI class I believe
<kentonv> maurer: To be fair, Asheesh knows everyone.
<brocktice> otherwise we had our own supercomputers :)
<asheesh> Well that's hilarous. Nice to see you again, brocktice.
<brocktice> likewise!
<asheesh> And hi canuky !
<brocktice> btw I ended up trying sandstorm because Meredith Patterson likes it
<brocktice> Good news and bad news
<brocktice> It worked on the new machine
<canuky> hey @asheesh
<asheesh> The bad news is, we don't really know how to repro? I guess I can try a double-install now and see if does the same weird thing, brb.
<brocktice> so unfortunately I was unable to duplicate my problem yeah
<asheesh> BTW you're not the only one to have mongo mysteriously fail to start.
<asheesh> Someone dropped by a week ago, or so. So I'm glad that you showed up for long enough for us to get *some* information out of you.
<brocktice> hah, well, I may have just taken you on a wild goose chase somehow
<brocktice> really no idea what would have been different though
<asheesh> If there's anything in your shell history that is useful, I hope you'll stare at it for a while and let us know.
<brocktice> yeah let me look
<asheesh> Glad that Meredith Patterson is sharing her enthusiasm!
<brocktice> aha
<brocktice> I did re-run it before completely wiping
<brocktice> at least once
<brocktice> not sure why
<brocktice> however I would think the complete wipe would fix that...
canuky has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
synchrone has joined #sandstorm
wolcen_ has joined #sandstorm
synchrone has quit [Ping timeout: 240 seconds]
canuky has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
canuky has quit [Client Quit]
frigginglorious has joined #sandstorm
_whitelogger has joined #sandstorm
<maurer> kentonv: Can I take the fact that the description of far pointers says "located in some other segment" to indicate that far pointers to the same segment are illegal?
NOTevil has quit [Quit: +++ ATZ]
<kentonv> maurer: I honestly have never thought about that.
<kentonv> I believe the code as written will accept them.
<kentonv> And I can't think of a good reason why it shouldn't...
<maurer> kentonv: So, the thing I am worried about here is that if you are in a segment, and you follow the path to its arena, and it resolves to the same segment
<maurer> the segment may be in an inconsistent state when you call the next method
<maurer> In particular, I'm working on dwrensha's code (he wanted more of it to be safe) and trying to retrofit a raw pointer into a Rc<RefCell<Foo>>
<maurer> the important distinction here is that only one piece of code can be mutating a refcell at a time, to prevent exactly this kind of thing
jemc has joined #sandstorm
<maurer> (it doesn't want two &mut pointers to the same thing)
<maurer> in the C++ code, I think it is probably in the "probably works, but it'd be easy to introduce a bug here" kind of situation
<maurer> e.g. if segments had a lockable data structure like arenas do, it might be possible to produce a deadlock, etc.
<maurer> As it stands, I can't see anything in the C++ code that indicates it'd have a bug
<maurer> Actually, nvm, I'm wasting your time, I just came up with a workaround - I can just check to see if the id is the segment's own ID, and return itself if so rather than consulting the arena
<kentonv> yeah, this seems like an implementation issue, not something that ought to be solved by an encoding spec change
<maurer> Sure, I was mostly wondering if the spec forbid that case, because if it did I could just return an error and punt on it
<maurer> which seemed easier, and plausible given the wording of the encoding spec
msoucy has quit [Ping timeout: 240 seconds]
BigShip has quit [Ping timeout: 252 seconds]
<zarvox> In other news, https://github.com/nylas/sync-engine/commit/5241e03b5513b1fe8b735daf9bbaca611c672dfa landed, so when Nylas rolls out the change and updates their docs, I can file PRs for using bearer tokens in the various client libraries, and then maybe a Nylas package becomes reasonable :D
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
<asheesh> zarvox: Nice job with that! re: nylas
amyers has quit [Ping timeout: 268 seconds]
neynah has joined #sandstorm
neynah has quit [Client Quit]
neynah has joined #sandstorm
xet7 has quit [Quit: Leaving]
home_ has joined #sandstorm
frigginglorious has quit [Ping timeout: 248 seconds]
home_ has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 268 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Client Quit]
xet7 has joined #sandstorm
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 244 seconds]
frigginglorious has joined #sandstorm
KooBaa has joined #sandstorm
frigginglorious has quit [Client Quit]
frigginglorious has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
KooBaa has quit [Remote host closed the connection]
KooBaa has joined #sandstorm
KooBaa has quit [Ping timeout: 244 seconds]
GeorgeHahn has joined #sandstorm
KooBaa has joined #sandstorm
neynah has joined #sandstorm
kepod has joined #sandstorm
<kepod> asheesh: Where is the user testing event tomorrow?
raoulzecat has joined #sandstorm
<kepod> gwillen: Fancy seeing you here!
<neynah> kepod: 201 South Street, Boston, MA
<kepod> neynah: Thanks!
frigginglorious has quit [Ping timeout: 260 seconds]
<neynah> kepod: :D
raoulzecat has quit [Ping timeout: 260 seconds]
raoulzecat has joined #sandstorm
<pdurbin> kepod: I'll be at the Dataverse table: https://groups.google.com/forum/#!topic/dataverse-community/G6cyCAv1hbY
raoulzecat has quit [Ping timeout: 244 seconds]
KooBaa has quit []
synchrone has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
msoucy has joined #sandstorm
neynah has joined #sandstorm
synchrone has quit [Ping timeout: 276 seconds]
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]