jadewang has quit [Remote host closed the connection]
Isla_de_Muerte has quit [Ping timeout: 244 seconds]
<zarvox> rustyrazorblade: nice meeting you too! :)
<paulproteus> : D
<paulproteus> rustyrazorblade: I'm some random person in this channel, nice to e-meet you, cool that you're looking at capnpc-rust.
isd has quit [Quit: Leaving.]
jacksingleton has quit [Ping timeout: 256 seconds]
larjona is now known as larjona_afk
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
gopar has quit [Quit: Leaving]
jadewang has joined #sandstorm
gopar has joined #sandstorm
jadewang has quit [Ping timeout: 244 seconds]
gopar has quit [Quit: Leaving]
neynah has joined #sandstorm
<juri_> i'm pretty random here too.
<juri_> i actually developed my own competing thing back in '09.
<juri_> I keep it running, because i use it...
jadewang has joined #sandstorm
bb010g has joined #sandstorm
jacksingleton has joined #sandstorm
gopar has joined #sandstorm
<neynah> paulproteus: pst!
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
treyhunner has quit [Quit: No Ping reply in 180 seconds.]
treyhunner has joined #sandstorm
neynah has joined #sandstorm
neynah has quit [Client Quit]
neynah has joined #sandstorm
gopar has quit [Remote host closed the connection]
<paulproteus> neynah: oops
<neynah> paulproteus: np! :)
<paulproteus> Now going to sleep. Tty tomorrow (-:
<neynah> Gnight!
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jacksingleton has quit [Ping timeout: 260 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
jadewang has quit [Remote host closed the connection]
sunu has quit [Ping timeout: 264 seconds]
Isla_de_Muerte has joined #sandstorm
Isla_de_Muerte is now known as NwS
GeorgeHahn has joined #sandstorm
dwrensha has quit [Remote host closed the connection]
dwrensha has joined #sandstorm
sunu has joined #sandstorm
erikoeurch has joined #sandstorm
sunu has quit [Read error: Connection reset by peer]
sunu has joined #sandstorm
<dwrensha> Looks like garply is still asleep: https://github.com/sandstorm-io/sandstorm/pull/655
<rustyrazorblade> hi paulproteus
paroneayea has quit [Remote host closed the connection]
paroneayea has joined #sandstorm
<dwrensha> ah.... I find myself really wanting a Sandstorm mailing list app right now
<dwrensha> looks like Let's Chat might fill my need...
larjona_afk is now known as larjona
NOTevil has joined #sandstorm
<maurer> dwrensha: I'm getting loginlooped by your let's chat instance
<maurer> Both with github auth and google auth
<maurer> (it instructs me to log in, and when I log in, it instructs me to log in, and there is no username in the upper right, just the login button)
jadewang has joined #sandstorm
<dwrensha> maurer: interesting!
<dwrensha> what browser?
<dwrensha> anything useful in the browser dev consoler?
<dwrensha> *console
<dwrensha> maurer: does reloading the page fix it?
<maurer> dwrensha: FF39
<maurer> checking console
<dwrensha> I'd be excited if we've caught in the wild a reproducible case of https://github.com/sandstorm-io/sandstorm/issues/644
<kentonv> that's what I was thinking
<maurer> Nothing interesting in the console
<maurer> mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
<maurer> is the only message
<dwrensha> ^ in case anyone else wants to try
<maurer> reloading does not fix it, but I get The connection to wss://sandstorm.wub.site/sockjs/003/ggjvu8l_/websocket was interrupted while the page was loading. during the reload
<maurer> (in the web console)
<kentonv> I can't log in either
<dwrensha> whaaa
<dwrensha> can either of you log in to https://sandstorm.dwrensha.ws ?
<paulproteus> I can't log in either.
<dwrensha> whaaa
<kentonv> nope
<maurer> Nope
<dwrensha> this is so weird
<paulproteus> It navigates me here https://sandstorm.wub.site/_oauth/github?code=b3203f429beaa4462f38&state=ey…pmYWxzZSwicmVkaXJlY3RVcmwiOiJodHRwczovL3NhbmRzdG9ybS53dWIuc2l0ZS8ifQ%3D%3D and then to the front page, where I am not logged in.
<kentonv> paulproteus: stop sharing your login secrets
<paulproteus> But they're just for this one site! I think/hope.
<paulproteus> But OK.
<paulproteus> Fair point.
<dwrensha> are all of you on Linux?
<paulproteus> I am.
<maurer> I am.
<jadewang> I'm ... not.
<kentonv> linux/chrome
<maurer> Linux/FF39 (nightly)
<paulproteus> Chromium on Debian
<dwrensha> jadewang: any success?
<jadewang> I also can't log in
<paulproteus> [also revoked the app, which should revoke that secret.]
<dwrensha> is anyone trying a method other than Github?
<maurer> I tried google on wub.site
<maurer> Same experience
<paulproteus> I just tried Google too; same.
<dwrensha> what about the emailToken login?
<paulproteus> I can try that.
<jadewang> I try logging in with Github, and so I authorize it. And then "sign in with github" just redirects me back to sandstorm.dwrensha.ws
<maurer> I did not try that
<paulproteus> Success re: email
<kentonv> I would expect email to work since it's totally different
<jadewang> I logged in via email, but here's what I see
<dwrensha> jadewang: I think that's what's expected
<maurer> Yeah, that seems like what we want
<paulproteus> "Contact the server admin for an invite" is a bit confusing on the front page if you're already logged-in.
<jadewang> ok cool
<jadewang> yeah
<paulproteus> "You're logged in! Now ask someone to share a grain with you" or something.
<maurer> paulproteus: sure, but that's a ui issue
<paulproteus> Agreed.
<dwrensha> aha, I get a repro here, using a github account different from the owner
<jadewang> (paulproteus was explaining why I wasn't sure it was working for me)
<dwrensha> is it possible that I just misconfigured these things?
<maurer> Oauth is pretty finicky
<maurer> but I guess oauth should be working if it works for owner?
<dwrensha> I'm getting "5 Users" showing up in the Github settings page
<dwrensha> I suppose that's y'all
<kentonv> dwrensha: have you been checking for errors in the server log?
<kentonv> yes, I think we all told github we accept, but something is going wrong after that
<dwrensha> aha
<dwrensha> Exception while invoking method 'login' ReferenceError: google is not defined
<dwrensha> and more ...
<kentonv> location?
<dwrensha> I'm going to try to debug the github one first...
<kentonv> hmm I wonder if I broke new user login with my picture-fetching
<dwrensha> yep
<kentonv> I totally did test this.
<kentonv> what is this I don't even
<kentonv> sigh
<maurer> dwrensha: So, while debugging this seems legit, since it repros on dwrensha.ws, perhaps roll back wub.site to an earlier version?
<maurer> (given you actually intend Real Users to engage with it :P)
<dwrensha> I think I can easily patch this...
<maurer> k, good luck.
<dwrensha> commenting out some code and recompliling right now
dwrensha has quit [Remote host closed the connection]
<kentonv> yeah the fix is s/google.picture/url/
dwrensha has joined #sandstorm
<kentonv> this is the problem with dynamic languages
* maurer smugs over in the corner as a rust/haskell person
<juri_> maurer: beat me to it.
<juri_> do you have a macro or something? :)
<maurer> On a more user-oriented note, is there a sandstorm pastebin grain floating around?
<dwrensha> I use hacker-cms for this stuff
<dwrensha> it requires a few more clicks than would be optimal
<dwrensha> but totally works
<kentonv> believe me I can't wait to rewrite all our code in C++ or Rust. Doing that browser-side is hard, though.
<dwrensha> try logging in now on wub.site!
<maurer> kentonv: Clearly we just need to step up webasm
<maurer> dwrensha: still looping, lemme try clearing caches in case something's wrong with expiration
<maurer> dwrensha: uh, notably, google login is _gone_
<dwrensha> oh, I can readd that
<maurer> I tried github though, and it looped
<maurer> well, not looped, but went back to please log in
<dwrensha> ok, me too
<dwrensha> seeing the problem still existing
<kentonv> maurer: how much of DOM is available in native code via webasm?
<dwrensha> ohh it's the shell-build thing
<dwrensha> I need to rm -rf shell-build
<maurer> dwrensha: it's supposed to be all of it
<maurer> err, kentonv
<dwrensha> because the makefile is silly
<maurer> (This is still futuretech unfortunately, you can't deliver a wasm site to a user's browser today)
<dwrensha> and now it's the so_reuseaddr thing
<dwrensha> grr
<kentonv> well, I pushed the fix for login
<dwrensha> ok try now!
<maurer> Works!
<kentonv> maurer: is DOM available in asm.js?
<maurer> kentonv: that I have no clue about. I've never been a big fan of asm.js as a technology, and so I know less about it
<maurer> kentonv: I would expect it is, but don't know, sorry
<maurer> dwrensha: Where do I file bugs about sandstorm ported apps?
<maurer> (Let's Chat is using my full name rather than my handle to identify me in chat, which seems like what a handle should be used for)
<dwrensha> maurer: I think all of the ones on sandstorm.io/apps link to github repos
<kentonv> maurer: handle is brand new
<kentonv> maurer: apps don't even have access to it yet
<maurer> kentonv: OK
<kentonv> in fact no released sandstorm build supports it yet. :)
<maurer> dwrensha: ...I went to say something in chat and now I'm 502'd
<paulproteus> Perhaps that's a reason not to display it in the UI, if apps don't have access to it yet.
<dwrensha> maurer: also, standby for another minute or two while SO_REUSEADDR is a problem for the last time
<paulproteus> (-: dwrensha
<maurer> kentonv: makes sense, I just saw it in my account settings, and thought it looked appropriate for use there
<kentonv> maurer: yep, it will be
<kentonv> paulproteus: how about I start passing it to apps before doing a release?
<paulproteus> +1
<dwrensha> thank you everyone for the speedy debugging help
<dwrensha> do we think that this explains https://github.com/sandstorm-io/sandstorm/issues/644 ?
<kentonv> I don't think so, since this bug never made it to a release
<kentonv> also the bug hadn't been introduced yet when he reported problems. :)
erikoeurch has quit [Ping timeout: 256 seconds]
<dwrensha> hm
<dwrensha> it looks like our port of Let's Chat automatically archives all rooms except the main one?
<dwrensha> (I'm just trying to make sure this is working as expected)
<dwrensha> or maybe Let's Chat just hides rooms that have no occupants
natea has joined #sandstorm
treyhunner has quit [Quit: No Ping reply in 180 seconds.]
treyhunner has joined #sandstorm
<paulproteus> wahooooo got my first cert signed by the GlobalSign test system! However I hand-hacked the XML of the SOAP query I'm sending.
<paulproteus> Now maybe I can not do that and still have it work, let's see.
<jparyani> @dwrensha that seems like a bug
<jparyani> can you reproduce?
<dwrensha> jparyani: I think I was just misunderstanding the interface
<dwrensha> jparyani: the left bar keeps track of rooms you have open
<dwrensha> jparyani: ... but you have to actually open them first
<dwrensha> jparyani: is it possible to change one's avatar?
<jparyani> hmm not through any interface ive ever seen
<jparyani> sec, checking upstream
<kentonv> soon the app will receive the user's picture URL
<jparyani> it uses gravatar
<kentonv> yeah we'll want to port that
bb010g has joined #sandstorm
erikoeurch has joined #sandstorm
jadewang has quit [Remote host closed the connection]
erikoeurch has quit [Ping timeout: 246 seconds]
erikoeurch has joined #sandstorm
erikoeurch has quit [Quit: Leaving]
jadewang has joined #sandstorm
<dwrensha> paulproteus: "these docs are pretty decent for such a young project" says jcreed re docs.sandstorm.io
NOTevil has quit [Quit: Leaving]
<paulproteus> Aw yay.
<dwrensha> paulproteus: also, jcreed hit an installation problem where /opt/sandstorm/var/pid was owned by root:root
* paulproteus blinks
<paulproteus> That's who it's owned by on my laptop, at least!
<maurer> Is there any long term provision for sandstorm grains which use network access, or are long lived?
<paulproteus> Who's it supposed to be owned by? The Sandstorm group? If so, then hmmm.
<maurer> One service that is close to fitting the sandstorm model, but not quite, is a personal IRC bouncer, e.g. a grain version of IRCCloud
<paulproteus> Yeah, for long-lived grains we'll have a way for apps to request the system not shut them down.
<paulproteus> I really want a grain version of IRCCloud.
<paulproteus> I think jparyani was working on that, and it's "nearly ready"?
<paulproteus> ("that" == "apps having a way to ask the system to not shut them down")
<paulproteus> re: network access: Via the powerbox, similarly in progress.
<maurer> OK. I think we'd want both that and intergrain comms to build something like this
<maurer> since probably what we'd want to do would be make a grain using powerbox that is an irc bouncer
<maurer> then make a web frontend as a separate grain
<maurer> and have them talk
<paulproteus> Yeah, I am thinking one app that just speaks the IRC protocol, and maybe queues it (therefore == a bouncer) and then the web one that connects to it.
<paulproteus> Amusingly you could build this so the web one doesn't have to stay awake all the time, and gets messages replayed to it as part of waking up when the user visits it, depending on the details.
<maurer> That way everything other than the teeeeny piece of code that knows how to remain connected to IRC remains lowpriv and can be shut down
<dwrensha> paulproteus: "upon trying to do spk dev: sandstorm/run-bundle.c++:1132: failed: You do not have permission to read the pidfile directory."
<paulproteus> Oh my.
<paulproteus> maurer++
jadewang has quit [Remote host closed the connection]
<paulproteus> dwrensha: Hmmmmm. "How does this work for vagrant-spk"?
<dwrensha> paulproteus: does `spk dev` work for you, on your laptop where /opt/sandstorm/var/pid is owned by root:root?
<paulproteus> ➜ .sandstorm git:(master) ✗ spk dev
<paulproteus> App is now available from Sandstorm server. Ctrl+C to disconnect.
<paulproteus> WriteResult({ "nInserted" : 1 })
<paulproteus> Seems to.
<paulproteus> ➜ ~ ls -l /opt/sandstorm/var/pid/sandstorm.pid
<paulproteus> -rw-rw---- 1 root paulproteus 5 Aug 1 17:31 /opt/sandstorm/var/pid/sandstorm.pid
<paulproteus> What's the permissions like on that file in particular?
<paulproteus> SERVER_USER=paulproteus # fwiw from my sandstorm.conf
NwS has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
<aldeka> Today I discovered https://github.com/Fauntleroy/relay.js.
<paulproteus> Ooh, very nice.
paurelayproteus has joined #sandstorm
<paurelayproteus> This thing does look simple and nice.
<paurelayproteus> Maybe it even works. There are a bajillion things like this, in theory.
<paurelayproteus> Seems to work pretty okay so far.
<paurelayproteus> Aw no nick tab completion [yet]
<paurelayproteus> Not even with @ before the username
<paurelayproteus> phildini would wonder, "is there a mobile client?"
<paurelayproteus> I don't particularly see one mentioned in the README.
<paulproteus> For those who care what I'm up to:
<paulproteus> I called fs.readFileSync() but forgot to pass an encoding.
<paulproteus> This results in me getting back a Buffer object.
<paulproteus> Which I then passed to a SAX library.
<paulproteus> For sending over the wire as SOAP.
<paulproteus> It *appears* to have POSTed the implementation of Buffer.
<paulproteus> e.g.
<paulproteus> }</writeFloatBE><writeDoubleLE>function (value, offset, noAssert) {
<paulproteus> if (!noAssert)
<paulproteus> checkOffset(offset, 8, this.length);
<paulproteus> this.parent.writeDoubleLE(value, this.offset + offset, !!noAssert);
<paulproteus> }</writeDoubleLE><writeDoubleBE>function (value, offset, noAssert) {
<paulproteus> if (!noAssert)
<paulproteus> checkOffset(offset, 8, this.length);
<paulproteus> this.parent.writeDoubleBE(value, this.offset + offset, !!noAssert);
<paulproteus> Wrapped up as pseudo-XML.
<zarvox> I'll just leave this here: https://speakerdeck.com/vjeux/react-css-in-js
<paulproteus> I gave that a read-through and liked it more than I expected to by the end, and would be willing to try using it.
<paulproteus> The "main" problem with that is that inspect element in the browser I guess gets messier?
<zarvox> Some day we'll get to the enlightened world where each visual component has its own styles and templates and helpers all together in one file
<paulproteus> But also we could use a more helpful hash function.
<paulproteus> Like cx('button/container/public') => 'sandstorm-css-button-container-public'
<paulproteus> or something.
<zarvox> Yeah, one downside is "inspect element" doesn't tell you where each style came from. Instead, you've explicitly combined them. And it turns out most styles are not inheirited all over, but belong to the widget itself.
<paulproteus> I see, okay, sure.
<zarvox> IMO global styles like default typeface/CSS reset/etc. *should* stay in some global CSS file.
<paulproteus> I'm pretty up for whatever, CSS-wise, fwiw.
<paulproteus> GlobalSign takes 31 to sign a cert, probably including at least 1 unnecessary API call, so things are looking up for me.
<paulproteus> 31 *sec*
<zarvox> 31 seconds is surprisingly long.
<zarvox> Maybe that test system is running on TI-86 or something.
<paulproteus> The real one runs on a TI-89!
<zarvox> Maybe there's a person who manually clicks an "approve" box as soon as they notice the request come in.
<paulproteus> I *think* that's honestly how StartCom's stuff works.
<paulproteus> Except therefore it takes some minutes.
<paulproteus> I think geofft told me it works this way.
<zarvox> Maybe adding the cert to the OCSP dataset and CT log and other things takes some time.
<paulproteus> juri_: That's neat that you made your own competing thing, btw.
<paulproteus> What was/is it?