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
<asheesh> Foof. C++. Not my native language. Glad I can write things in it though.
TwoJames2 has quit [Ping timeout: 260 seconds]
TwoJames has joined #sandstorm
<asheesh> Seems like a pretty nice email client;
<asheesh> .
<asheesh> cc: mrdomino arguably
<zarvox> asheesh: https://news.ycombinator.com/item?id=10988735 reminds me of the Debian trans-grade that we do on Travis for the Sandcats tests :D
synchrone has quit [Ping timeout: 240 seconds]
joshbuddy has quit [Quit: joshbuddy]
rustyrazorblade has quit [Quit: rustyrazorblade]
|jemc| has quit [Ping timeout: 256 seconds]
simonv3 has quit [Quit: Connection closed for inactivity]
joshbuddy has joined #sandstorm
|jemc| has joined #sandstorm
simonv3 has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
rustyrazorblade has joined #sandstorm
rustyrazorblade has quit [Quit: rustyrazorblade]
groxx has joined #sandstorm
groxx has quit []
groxx has joined #sandstorm
ArcTanSusan has joined #sandstorm
rustyrazorblade has joined #sandstorm
rustyrazorblade has quit [Client Quit]
rustyrazorblade has joined #sandstorm
|jemc| has quit [Ping timeout: 245 seconds]
raoulzecat has joined #sandstorm
rustyrazorblade has quit [Quit: rustyrazorblade]
jadewang_ has quit [Remote host closed the connection]
TwoJames2 has joined #sandstorm
TwoJames has quit [Read error: Connection reset by peer]
ArcTanSusan has quit [Quit: ArcTanSusan]
ecloud_wfh is now known as ecloud
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
groxx has quit [Quit: Connection closed for inactivity]
synchrone has joined #sandstorm
simonv3 has quit [Quit: Connection closed for inactivity]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
tobald has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
tobald has quit [Quit: Ex-Chat]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 264 seconds]
synchrone has quit [Quit: Leaving.]
synchrone has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
synchrone has quit [Ping timeout: 276 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 245 seconds]
frigginglorious has joined #sandstorm
tobald has joined #sandstorm
nolski is now known as VIM_LORD_NOLSKI
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
VIM_LORD_NOLSKI is now known as NOLSKIZILLA
<mrdomino> asheesh: yeah, looks pretty!
<mrdomino> i,i sandcron would be rad
<mrdomino> capncron
aaronr has quit [Remote host closed the connection]
jadewang has joined #sandstorm
aaronr has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
mnutt has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
<mrdomino> question. is there any functionality or plan for unifying accounts created from different login methods?
simonv3 has joined #sandstorm
<dwrensha> mrdomino: you can link multiple identities into a single account
<dwrensha> "identity" = login method
<dwrensha> "account" = store of apps, grains, contacts, etc
<mrdomino> oh wow i just saw it. yeah it's right there in the UI.
synchrone has joined #sandstorm
rustyrazorblade has joined #sandstorm
rustyrazorblade has quit [Client Quit]
|jemc| has joined #sandstorm
wolcen has joined #sandstorm
jadewang has joined #sandstorm
<mrdomino> p.s. guys thank you so much. i've got groove basin going in the office at the moment. i have wanted this for literally years.
jadewang has quit [Ping timeout: 264 seconds]
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
tobald has quit [Quit: Ex-Chat]
NOLSKIZILLA is now known as nolski
synchrone has quit [Ping timeout: 260 seconds]
notevil has joined #sandstorm
<mnutt> Once powerbox UI goes live I think there's a lot of potential for RocketChat plugins. We currently have an app on heroku that listens for people to drop youtube links in a #music slack channel, and queues them up and we have a player page running on a machine in each of our offices that plays them via js-youtube-api. We're pretty wedded to slack at this point, but it could make for a nice sandstorm-only setup.
rustyrazorblade has joined #sandstorm
<dwrensha> today I learned that `console.log(obj)` does not necessarily take a deep snapshot of `obj`
<dwrensha> fortunately, Chrome displays "object at left was snapshotted when logged value below was evaluated just now" when you click to expand the object in the console
<mrdomino> dang, groove basin on my tiny 512MB digitalocean droplet is pretty sad
<mrdomino> seems to scale up to like... 5 concurrent listeners or so?
<dwrensha> mrdomino: what goes wrong?
<mrdomino> music starts skipping
<mrdomino> at a first guess it looks like memory usage hits the limit, it starts swapping (i have a swapfile), and then load average goes crazy
<dwrensha> hmm interesting
<dwrensha> I would have guessed that it was a cpu issue
<dwrensha> as Groovebasin encodes the audio on-the-fly
<mrdomino> well, when it starts skipping the load average is definitely through the roof
<mrdomino> the high memory usage is just an incidental feature
<mrdomino> that i assumed might be playing into it
<mrdomino> but wait, it encodes once per listener?
<dwrensha> I'm not sure
<dwrensha> but I would not be surprised if it does
<mrdomino> oof
<mrdomino> well, low hanging fruit at least, if so
jadewang has joined #sandstorm
<dwrensha> I just tried adding a bunch of listeners to my groovebasin grain
<dwrensha> and indeed, cpu usage seemed to scale linearly with the number of listeners
blutux has joined #sandstorm
<dwrensha> I'm not sure how much of that work is shareable
<dwrensha> mrdomino: you could discuss it with andrewrk on #libgroove
jadewang has quit [Ping timeout: 250 seconds]
frigginglorious has quit [Quit: frigginglorious]
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frigginglorious has joined #sandstorm
blutux has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<mrdomino> ok kswapd is definitely using cpu when it starts getting bad
mrdomino has quit [Quit: leaving]
mnutt has joined #sandstorm
jadewang has joined #sandstorm
blutux has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
jadewang has joined #sandstorm
kecors has joined #sandstorm
blutux has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
blutux has joined #sandstorm
blutux has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mrdomino has joined #sandstorm
mrdomino has quit [Client Quit]
mrdomino has joined #sandstorm
nicolagreco has joined #sandstorm
* asheesh waves to all.
<mrdomino> so there is a possible memory leak in... probably groove basin, but possibly elsewhere in sandstorm
<mrdomino> well, probable memory leak
<mrdomino> my RAM free is like a countdown timer until my grain eats shit and gets restarted, leading to a ~few-second interruption in the music stream
<asheesh> If you run top and press capital M is it Python that is using up the RAM?
<mrdomino> it's node
<mrdomino> followde by node, followde by nodejs, followde by mongod, followed by sandstorm
<mrdomino> sandstorm's already at 2.3% or so though so we're looking at groove basin
<mrdomino> i'll uh, see if i can dig into libgroove some time soon
<dwrensha> which node is it?
<dwrensha> Groovebasin will have a node running inside the grain
<dwrensha> and Sandstorm will have a node running the frontend
<mrdomino> how can i tell?
<mrdomino> i mean both nodes are around 17-19% ram usage. one of them moves around way more though.
<dwrensha> on my Arch machine, `top` actually displays a process tree, so it's easy to tell
<dwrensha> I'm not sure about the best way to see that info elsewhere
<dwrensha> also, I've been puzzled about this feature of `top` for a while now... it seems way useful
<dwrensha> is it just too new to have shown up on Debian, or what?
<mrdomino> correlating between pstree -p and top on ubuntu
<mrdomino> it looks like the sandstorm frontend is the grow-y one
<dwrensha> interesting!
<dwrensha> is it just the Groove Basin grain that you're running?
<dwrensha> let me see if I can reproduce....
<mrdomino> i've also got a nodebb that's doing stuff but idon't think it's running atm
<mrdomino> and a few other grains
<mrdomino> but none i've touched in a while
<mrdomino> (i stopped mail forwarding to roundcube earlier today to try to conserve resources)
<dwrensha> Sandstorm's node is at 108MB in the Res column for me right now...
<dwrensha> I'll try doing stuff with Groove Basin
<mrdomino> hmm i'm seeing it at 234MB or so
<mrdomino> and rising
<mrdomino> 235MB now
<dwrensha> I got mine up to 200MB
<mrdomino> groove basin's is also inching up, but way more slowly
<mrdomino> 17.0 -> 17.4 whereas sandstorm did 19.2 -> 23.4
<dwrensha> aw, shoot. My groovebasin grain just randomly rebooted on me
<dwrensha> Weirdly, it appears that the supervisor thought it was no longer in use. ** SANDSTORM SUPERVISOR: Grain no longer in use; shutting down.
<maurer> dwrensha: Someone, I forget who, was reporting this the other day in channel
<dwrensha> i think it was mrdomino
<dwrensha> oh, maybe it was digitalcircuit
<dwrensha> my memory usage appears to have topped out at 250MB
<maurer> dwrensha: In any case, my main point there was that you are not the first to experience this, so it may be worth looking into
joshbuddy has quit [Quit: joshbuddy]
<mrdomino> so, i wonder if sandstorm thinks the grain is not in use if the node gets sniped by the oom killer
<mrdomino> fwiw sandstorm is still at 23.4%, but groove is now up to 17.5.
<mrdomino> no reboots in a while.
<dwrensha> oh shit: *** lost connection to grain (probably because it shut down) ***
<dwrensha> that just spontaneously happened
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
<dwrensha> Apparently that log line "lost connection to grain..." doesn't actually get written in the grain log
<dwrensha> you need to already have the debug log window open in your browser to see it
<mrdomino> oho
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dwrensha> I suppose I should try packaging the latest version, see if this still happens, then try to figure out why it's happening
<dwrensha> I'm seeing the following error, but it's unclear whether it's cause or effect: sandstorm/sandstorm-http-bridge.c++:433: error: exception = sandstorm/sandstorm-http-bridge.c++:420: failed: Failed to parse HTTP response from sandboxed app.; error = stream ended at an unexpected time
joshbuddy has joined #sandstorm
<asheesh> dwrensha: Thanks for your patience with me and this pull request, https://github.com/sandstorm-io/sandstorm/pull/1426
<asheesh> Finally getting to it now!
<dwrensha> asheesh: I never did figure out why mkdocs had trouble for me locally
mnutt has joined #sandstorm
<asheesh> Oh, interesting.
<asheesh> Yeah, I'd be curious to learn more at some point today if that works for you.
<asheesh> Oh maybe you're on Python 3 by default, fwiw, and maybe I don't support that.
<dwrensha> `python --version` claims 2.7.10
<asheesh> Huh.
<asheesh> Let me put that on ice for a sec and think really hard about this HTTPS docs page for a bit
<asheesh> Also the left nav doesn't scroll for me )-:
<asheesh> ...it doesn't locally but it *does* remotely? That shouldn't happen!
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mnutt has joined #sandstorm
kecors has quit [Quit: Leaving]
notevil has quit [Quit: ...]
TwoJames2 has quit [Ping timeout: 245 seconds]
<asheesh> Yod
<asheesh> Yo dwrensha
<asheesh> I have a local branch that adjusts `ssl.md` to just link to other, one-topic pages.
<asheesh> I think that addresses the feedback you gave; I'll go push that now, but I wanted to make sure to get your thoughts.
TwoJames has joined #sandstorm
<dwrensha> yoa
<dwrensha> sounds good to me
<wolcen> asheesh: finally got my Xen box up and working on a 3.16 kernel ... sandstorm setup was a breeze :) been working great!
<asheesh> : D
<asheesh> So happy to hear that.
|jemc| has quit [Ping timeout: 245 seconds]
synchrone has joined #sandstorm
<asheesh> wolcen: Let me know if you have any new questions, like what apps are good, or what other apps you should turn into a package, or how to do that (-;
<wolcen> asheesh: ty, I certainly will.
frigginglorious has quit [Ping timeout: 272 seconds]
synchrone has quit [Ping timeout: 240 seconds]
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joshbuddy has quit [Quit: joshbuddy]
mnutt has joined #sandstorm
<asheesh> https://docs.sandstorm.io/en/latest/administering/ssl/ is now drastically simpler, at the possible cost of making things one extra click away.
<dwrensha> asheesh: thank you for running with it
<asheesh> You are very welcome! Thanks for kicking it off!
joshbuddy has joined #sandstorm
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TwoJames2 has joined #sandstorm
TwoJames has quit [Ping timeout: 272 seconds]