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
jadewang has quit [Remote host closed the connection]
neynah has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 268 seconds]
frigginglorious has quit [Ping timeout: 276 seconds]
mrshu has quit [Ping timeout: 252 seconds]
xet7b has joined #sandstorm
xet7_ has quit [Ping timeout: 252 seconds]
Pistos has quit [Ping timeout: 252 seconds]
bemasc_ has joined #sandstorm
bemasc has quit [Ping timeout: 252 seconds]
mrshu has joined #sandstorm
Pistos has joined #sandstorm
jadewang has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has quit [Ping timeout: 244 seconds]
neynah has joined #sandstorm
neynah has quit [Client Quit]
jemc has joined #sandstorm
jadewang has joined #sandstorm
neynah has joined #sandstorm
neynah has quit [Client Quit]
syruponcereal has joined #sandstorm
<syruponcereal> sandstorm administration is maddening
<syruponcereal> I really shouldn't blame it though
neynah has joined #sandstorm
<syruponcereal> its the mad things I try to do with it
<syruponcereal> I have a Sandstorm server sitting behind a Comcast combo gateway
<syruponcereal> so I can't use the server on my home network
<syruponcereal> cause of DNS
<syruponcereal> so I set up a DNS server that points the domains that the Sandstorm server uses at it's local IP
<syruponcereal> and now, on a sad old iPad 1 running Chrome, now I get "Oops, looks like there's no route on the client or the server for url: "example.com"
<syruponcereal> and I can't figure out what's happening
<kentonv> syruponcereal: that error message happens when the client-side javascript throws an exception at startup
<syruponcereal> hmm
<kentonv> I wish the error were better but we don't control the router library
<syruponcereal> it might be the ancient version of chrome
<kentonv> quite possibly, though it would be interesting to know the exact error
<kentonv> if you can get at the JS console somehow
<syruponcereal> the log shows nothing
<kentonv> not sure if it's possible to open a JS console on mobile chrome
<kentonv> at least I've never done it... >_>
<syruponcereal> i might have an idea
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<syruponcereal> got it
<syruponcereal> JavaScript: Error
<syruponcereal> undefined
<syruponcereal> TypeError: 'undefined' is not a function
<kentonv> apparently from the old days when the errors didn't even tell you what field you were trying to access... that's pretty old
<kentonv> what version of chrome is this?
<syruponcereal> that error was captured from safari's dev console
<syruponcereal> the iPad is running iOS 5.1
<digitalcircuit> I've never tried this myself, but this might help - https://stackoverflow.com/questions/11262236/ios-remote-debugging
<kentonv> oh right, Chrome on iOS has to use Apple's WebView, heh
<kentonv> so it's not really Chrome at all
<syruponcereal> i was actually just looking at that question
<kentonv> yeah chances are it's not going to work I guess
<kentonv> Safari is the new IE, etc.
<syruponcereal> I WILL MAKE IT WORK
<syruponcereal> IF I BELIEVE I CAN DO IT, I CAN DO IT!!!
<digitalcircuit> syruponcereal: did you see this link in the StackOverflow answer? Others suggested it for WebKit. Also never tried it myself: https://people.apache.org/~pmuellr/weinre/docs/latest/
<syruponcereal> this would be perfect if my pathetic 13 year old brain could figure out how to use it
<digitalcircuit> Ack, can't help you there :( I'd be starting from no knowledge of it as well.
frigginglorious has joined #sandstorm
<frigginglorious> If anyones available, would you like to give this a quick look over please?
<asheesh> : D
<frigginglorious> just the README, to see if I am explaining things right
<frigginglorious> on how to set up for (other) noobs
<asheesh> "This app's purpose is to demonstrate how easy it is to produce a functioning application that has multi-user features and built-in (read: ignored) security with Sandstorm."
<asheesh> This is a little hard to read. I suggest instead:
<asheesh> "This app's purpose is to demonstrate how easy it is to produce a functioning aplication that has multi-user features and built-in security, where the app relies entirely on Sandstorm for that security."
<asheesh> "This app's purpose is to demonstrate how easy it is to produce a functioning aplication that has multi-user features and built-in security, where the app relies entirely on Sandstorm for that security, and achieves it through zero lines of code."
<frigginglorious> dig it. fixing :D
<asheesh> It's cool if you can use GitHub releases for the *.SPK file, although if you don't want to, feel free; it's just nice to have everything in the same system. Info on releases: https://github.com/blog/1547-release-your-software
<asheesh> re: "Try it yourself" - You can set up an "appdemo" link, see: https://docs.sandstorm.io/en/latest/administering/demo/#app-demos
<Mitar> how can I list keys in sandstorm keyring?
<Mitar> and how can I remove a key which was added there?
<asheesh> Howdy Mitar
<asheesh> What I would do is:
<kentonv> Mitar: see spk --help
<kentonv> there are various keyring commands
<asheesh> - vagrant-spk ssh # on some app that has a .sandstorm/ directory
<asheesh> - spk --help # which Kenton already said; specifically look at listkeys
<asheesh> Oh, but note that vagrant-spk stores the keyring in a sort-of unusual place, except that it's now the most common, so maybe we should change the default for spk. Let me dig up that path.
<kentonv> I'm not sure if there is a command to remove a key, but there is a command to extract keys, and you can "cat" a bunch of extracted keys together to produce a new keyring
<Mitar> thanks
<Mitar> yes, I see that there are just 128 bytes combined together
<asheesh> mitar: You'll probably need to pass '--keyring=/host-dot-sandstorm/sandstorm-keyring' to spk; see also the source code of 'vagrant-spk' (which is a hopefully-readable Python script)
<asheesh> frigginglorious: re: appdemo: consider using a "try live demo" button, by stealing the IMG SRC tag from https://sandstorm.io/news/2016-02-05-app-author-publicity-oasis
<asheesh> frigginglorious: More info about appdemo: https://sandstorm.io/news/2015-02-06-app-demo
<Mitar> where is label from actions displayed?
<Mitar> it seems that at least for locally created spk it is not shown anywhere?
<asheesh> frigginglorious: Also, you can tell people they can sign up for a free account on Oasis if they don't want to bother installing it themselves, if you want.
<asheesh> frigginglorious: Also "dieStorm" sounds like you're saying "die, [sand]storm", which sounds negative, so maybe call it 'secure-die-rolling' or 'd20' or 'd20storm' or 'rpg-dice' or something else, but I can live with the current name, but I figured I should mention.
<frigginglorious> asheesh: i wasnt aware of the App Demos on Oasis. It certainly isn’t something that belongs on the App Market, and i thought there wasn’t a way to do it on Oasis for free!
<asheesh> Are you *sure* it doesn't belong in the app market? It maybe does belong in the app market.
<Mitar> @kentonv: do we want to use Meteor.settings.public.sandstorm, because I could just make __meteor_runtime_config__.SANDSTORM
<Mitar> then we would not interfere with settings at all
<Mitar> the issue is, nobody else is using that at the moment and they would have to change
<asheesh> But regardless, appdemo will work anyway, even if it's not in the app market, which is half a bug and half a neat trick.
<Mitar> but it is backwards compatible, because they are using their settings anyway for now
<asheesh> frigginglorious: re: "install for development" section in the README: Since you have already have created a .sandstorm/ other people should not run 'setupvm meteor' nor 'init'
<frigginglorious> asheesh: hahaha, I was going to call it diceStorm, but it dieStorm seemed to roll off tongue better :P If I work on a full RPG gaming app, I will consider changing it.
<Mitar> I would go with __meteor_runtime_config__.SANDSTORM
<asheesh> re: "Issues?" - we could probably embed a copy of the base box's URL in the vagrant-spk default output, and therefore your Vagrantfile, so that way it would be compatible with older versions of Vagrant. It's too bad we haven't done that yet, but consider filing a vagrant-spk bug to ask us to do that.
<asheesh> re: slides at https://zzr0p7gctpmv6s9wtr3y.oasis.sandstorm.io/index.html#/5 - typo "APPLICAITONS" should be "APPLICATIONS"
<asheesh> But also these are some interesting & fascinating slides.
<kentonv> Mitar: I'm not familiar with __meteor_runtime_config__. It looks meteor-internal?
<kentonv> Mitar: Using Meteor.settings.public.sandstorm conveniently means that Wekan won't break.
<kentonv> (despite Wekan not setting the SANDSTROM=1 env var right now)
<Mitar> Meteor.settings is populated from __meteor_runtime_config__
<Mitar> I would just put it one layer higher in the abstraction
<Mitar> wekan will not break because they are using their own stuff/settings anyway
<Mitar> or are you saying that when they upgrade?
<kentonv> I am confused. If __meteor_runtime_config__ is used to populate Meteor.settings then what is the difference?
<kentonv> by the time our code runs, isn't Meteor.settings already populated?
<Mitar> the difference is that we do not interfere with whatever people want to put into settings
<Mitar> open https://oasis.sandstorm.io/ in view source
<Mitar> <script type="text/javascript">__meteor_runtime_config__ = JSON.parse ...
<Mitar> and see that one of keys is PUBLIC_SETTINGS
<Mitar> we would put things next to that key
<Mitar> instead into that key
<kentonv> I feel like setting Meteor.settings.public.sandstorm automatically would be helpful to apps and not likely to cause any harm.
<Mitar> current things in __meteor_runtime_confige__ for Oasis are: "{"meteorRelease":"METEOR@1.3.1","meteorEnv":{"NODE_ENV":"production","TEST_METADATA":"{}"},"PUBLIC_SETTINGS":{"build":159,"kernelTooOld":false,"allowDemoAccounts":true,"allowDevAccounts":false,"isTesting":false,"hideTroubleshooting":true,"wildcardHost":"*.oasis.sandstorm.io","quotaEnabled":true,"stripePublicKey":"pk_live_bkrz8iFkfEeXDsdIqzDNdSkH","allowUninvited":true},"ROOT_URL":"https://oasis.s
<Mitar> to me that fact that it runs on Sandstorm feels more like meteorRelease and meteorEnv, and not so much like settings
<kentonv> yes but how are apps then going to detect, client-side, that they're on Sandstorm?
<Mitar> if (__meteor_runtime_confige__.SANDSTORM)
<kentonv> __meteor_runtime_config__ is meant to be private to meteor
<kentonv> app code isn't supposed to be reaching into it
<asheesh> frigginglorious: These slides are great. You should totally give this talk in more places!
<kentonv> asheesh, frigginglorious: +1
<Mitar> there are tons of Meteor packages reaching into it, just grep core packages
<frigginglorious> aww, you guys are making me blush!
<Mitar> from this comment it seems it is pretty normal that packages change it: https://github.com/meteor/meteor/blob/devel/packages/webapp/webapp_server.js#L159
<asheesh> frigginglorious: I would replace this text: "For an editable version of slides in Sandstorm, download a copy of the HackerSlides app here." with: "You can fork the slides and get your own, editable version by taking this [grain backup](https://whatever.zip) and doing a 'Restore backup...' on your own account on whatever Sandstorm server you like."
<Mitar> I see it like this: settings is something user configures the app
<Mitar> __meteor_runtime_config__ is something app/packages pass to the client/running context
<frigginglorious> well, our own mrdomino_ informed me about toorcamp. And now I’m going and giving a workshop :P http://toorcamp.toorcon.net/talks/
<ocdtrekkie_> asheesh: I clicked a link you put in here.
<ocdtrekkie_> And came up with issue #1884
<asheesh> That's what happens when you hang out with mrdomino_
<simonv3> Not sure if this has been shared already, but relevant to conversation about short urls
<asheesh> Aw man ocdtrekkie_ I wrote that error : P
<syruponcereal> what's going on?
<syruponcereal> just took a nice long shower
<ocdtrekkie_> asheesh: I file bug reports without bias.
<ocdtrekkie_> :P
<ocdtrekkie_> Sorry
<syruponcereal> topkek
<asheesh> I'm not sorry. I am literally lol-ing, though.
<kentonv> Mitar: OK, I give in.
<ocdtrekkie_> Also, asheesh, now you know: If you make something URL like in IRC....
<ocdtrekkie_> I'm gonna click it.
<asheesh> My favorite website is about:blank
<asheesh> Honestly I do visit about:blank often; like when I'm in a public-ish space and I don't want people seeing my Chromium "List of sites you visit often" default homepage, I intentionally navigate to about:blank
<ocdtrekkie_> That's smart.
<asheesh> Whoa frigginglorious your app has a great icon.
<ocdtrekkie_> My recent sites screen is visible in the Sandstorm talk I did.
<syruponcereal> genious
<syruponcereal> i think I'm going to use that in school now
<frigginglorious> asheesh: thank wikipedia :P
<syruponcereal> even though there's only like 3 weeks left
<asheesh> I accidentally said out loud: "Whoa, this is _awesome_" when playing with dieStorm.
<ocdtrekkie_> I wanna try it
<asheesh> It took me a sec to understand the UI, but it was pretty sweet once I did.
<ocdtrekkie_> But the URL wasn't valid
<ocdtrekkie_> :P
<syruponcereal> whats dieStorm?
<syruponcereal> ...
<syruponcereal> I don't get it
<asheesh> You can roll dice!
<ocdtrekkie_> Spiffy.
<asheesh> The number of sides of the die is determined by the number you clicked.
<syruponcereal> huh
<asheesh> https://github.com/frigginglorious/dieStorm explains why this app exists at all.
<ocdtrekkie_> A big highlight, is if you've shared the grain, it looks like you have a record of dice rolls.
<ocdtrekkie_> So you can't cheat and reroll without others knowing.
<syruponcereal> oh
<syruponcereal> so it's just a tech demo
<asheesh> simonv3: I saw that. It's fascinating and somewhat depressing and I agree totally relevant to discussions of short URLs.
<frigginglorious> syruponcereal: for now, yeah :P I was thinking it would be nice to include into Rocket.Chat
<asheesh> frigginglorious: If you are willing to, consider renaming it from "instance" to "dice roller", or something like that.
<asheesh> Then it's "New dice roller" in the UI.
<frigginglorious> and at the bottom of rocket.chat in the app market, there would be a footer that sais “Or install Rocket.Chat with dice”
<asheesh> frigginglorious: Did you see my remarks above about "setupvm" and "init" being unnecessary, btw?
<ocdtrekkie_> frigginglorious: I am excited to see this thing in the app market.
<syruponcereal> can we get discussion on the MediaWiki version being ancient
<frigginglorious> ocdtrekkie_ asheesh you guys are being too nice. But yeah, maybe i will hack on it a bit and polish it.
<ocdtrekkie_> syruponcereal: What's to discuss? It is definetly old. :P
<asheesh> frigginglorious: Meh. I think you should publish it as-is to the app market, with a description and/or app title saying "Tech demo: Dice rolling app"
<ocdtrekkie_> frigginglorious: I think the ability to generate random numbers that are reasonably random in a way I can easily maintain accountability and record is useful.
<asheesh> And you should explain the limitations of the app, and the fact that you don't really care if people use it, and then they can use it or not.
bb010g has joined #sandstorm
<syruponcereal> i had to dig for 2 hours yesterday to find a compatible wikipedia dump
<ocdtrekkie_> And yeah, I mean, you could maybe ad a blurb like 'click a dice size' and a ' previous roll log' maybe? I'd like timestamps with rolls. But that's like... it.
<ocdtrekkie_> Simple apps, frigginglorious is one of the places Sandstorm really shines. :D
<kentonv> When we have embedding, it'll be neat to embed grains into Rocket.Chat channels. Then you could have Rocket.Chat with dice without having to build your own Rocket.Chat package.
<frigginglorious> asheesh: IDK what kind of mischeif you did, but is this link https://oasis.sandstorm.io/appdemo/jh06c88d4mrs81frj58psq10aeq6dghad7duuq8nk88j8zqx0zqh to demo good for my README?
<ocdtrekkie_> Yes
<ocdtrekkie_> That's what the appdemo thing was basically built for. :D
<asheesh> Also, man, that blog post makes me wish I had ported more Perl CGI apps. I love Perl CGI.
<asheesh> If anyone has any Perl CGI apps you want me to package. then now is a good time to tell me.
<ocdtrekkie_> lol
<ocdtrekkie_> Are there any on sandstorm.io/vote?
<syruponcereal> I think there needs to be a way for grains to communicate better
<syruponcereal> maybe at the framework level
<kentonv> syruponcereal: We're working on it. It's called Powerbox.
<syruponcereal> oh yeah
<asheesh> "Connect apps with Powerbox
<asheesh> Except that as kentonv said it's not ready yet, but there you go. (-:
<kentonv> it's partially-working, but almost no apps use it yet
<syruponcereal> I don't blame you guys if you hate m
<syruponcereal> *me
<asheesh> I don't hate you syruponcereal, fwiw. If you have questions we can answer, just let us know by sharing them here!
<asheesh> I do have to head away from keyboard, so if you have other questions, feel free to ask and I'll try to answer when I'm back.
syruponcereal has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
NwS has quit [Read error: Connection reset by peer]
NwS has joined #sandstorm
azirbel has quit [Read error: Connection reset by peer]
azirbel has joined #sandstorm
mattl_ has joined #sandstorm
mattl has quit [Ping timeout: 250 seconds]
mattl_ is now known as mattl
syruponcereal has joined #sandstorm
syruponcereal has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
syruponcereal has joined #sandstorm
syruponcereal has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Mitar> btw, what categories should my voting/community decision making app be in?
frigginglorious has quit [Quit: frigginglorious]
frankier has quit [Ping timeout: 250 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
jemc has quit [Ping timeout: 244 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
<Mitar> I like how some people enjoy working long into night ;-)
<Mitar> feels nice :-)
frankier has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 244 seconds]
axx2 has joined #sandstorm
axx_ has quit [Ping timeout: 276 seconds]
xet7b has quit [Remote host closed the connection]
amyers has joined #sandstorm
xet7_ has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 252 seconds]
frigginglorious has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
syruponcereal has joined #sandstorm
syruponcereal has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
jemc has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
jadewang has joined #sandstorm
frigginglorious has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
dwrensha has quit [Remote host closed the connection]
wolcen_ has joined #sandstorm
seg2 has joined #sandstorm
<seg2> how far along is powerbox ui?
Psy-Q has quit [Ping timeout: 268 seconds]
jadewang has joined #sandstorm
azirbel has quit [Ping timeout: 268 seconds]
Mitar has quit [Ping timeout: 268 seconds]
amyers has quit [Ping timeout: 240 seconds]
<seg2> just checked the chat log and saw this came up last night, so sorry for the duplication
Psy-Q has joined #sandstorm
dwrensha has joined #sandstorm
dwrensha has left #sandstorm [#sandstorm]
dwrensha has joined #sandstorm
amyers has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
amyers has quit [Read error: Connection reset by peer]
simonv3 has quit [Ping timeout: 297 seconds]
derf- has quit [Ping timeout: 297 seconds]
Mitar has joined #sandstorm
amyers has joined #sandstorm
azirbel has joined #sandstorm
derf-- has joined #sandstorm
derf-- is now known as derf-
Isla_de_Muerte has joined #sandstorm
simonv3 has joined #sandstorm
TC01_ has joined #sandstorm
xet7_ has quit [*.net *.split]
axx2 has quit [*.net *.split]
mattl has quit [*.net *.split]
NwS has quit [*.net *.split]
zeroish has quit [*.net *.split]
xet7 has quit [*.net *.split]
TC01 has quit [*.net *.split]
axx_ has joined #sandstorm
xet7 has joined #sandstorm
<asheesh> seg2: Howdy, no worries.
mattl has joined #sandstorm
neynah has joined #sandstorm
<seg2> Why doesn't https://oasis.sandstorm.io/ use HPKP to mitigate risk of CA compromise?
raoulzecat has joined #sandstorm
xet7_ has joined #sandstorm
amyers has quit [Ping timeout: 268 seconds]
jadewang has joined #sandstorm
TC01_ is now known as TC01
Isla_de_Muerte is now known as NwS
amyers has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
wolcen_ has quit [Quit: Leaving]
amyers has quit [Ping timeout: 246 seconds]
<mrdomino_> dwrensha: is the sandstorm fuse patch current?
mrdomino_ has quit [Quit: leaving]
mrdomino has joined #sandstorm
<dwrensha> mrdomino: yes, the last two Sandstorm releases have included the `spk dev` performance improvements
<dwrensha> mrdomino: have you noticed a difference?
<mrdomino> yeah, it's considerably better
<mrdomino> still not as fast as i'd like but usable
frankier has quit [Ping timeout: 252 seconds]
* asheesh waves.
bemasc_ is now known as bemasc
<mrdomino> yo asheesh!
<asheesh> (-:
<mrdomino> hmm, i'd say borderline usable with vagrant-spk dev still... in my env it takes webrick over a minute to boot
coyotebush_ is now known as coyotebush
<asheesh> OK everyone: https://docs.sandstorm.io/en/latest/developing/ is more reasonable now, in my opinion.
<asheesh> Still needs sample apps docs.
xet7 has quit [Quit: Leaving]
xet7 has joined #sandstorm
syruponcereal has joined #sandstorm
syruponcereal has quit [Client Quit]
syruponcereal has joined #sandstorm
syruponcereal has quit [Client Quit]
hexx has joined #sandstorm
gkoz_ has joined #sandstorm
gkoz has quit [Read error: Connection reset by peer]
raoulzecat has quit [Ping timeout: 276 seconds]
frigginglorious has quit [Ping timeout: 250 seconds]
<hexx> gogs or gitlab
<dwrensha> hexx: I tend to use gitweb
<asheesh> I tend to use gogs.
<hexx> I'm in the need of a prettier UI than what gitweb provides
<hexx> I'm in middle school and my Computer Literacy teacher has no idea how to work anything aside from Infinite Campus
<asheesh> BTW, Grant Potter at UNBC <https://twitter.com/grantpotter> is also doing educational Sandstorm deployments, in case you want an introduction.
<hexx> no like I'm a student
<asheesh> That's fine!
<hexx> oh, huh, thanks for that like
<hexx> *link
<hexx> is it possible to log in to something running under the Sandstorm Hypervisor?
<zarvox> hexx: Sort of. nsenter with the right arguments will let you enter the kernel namespaces, but won't set up the seccomp sandbox.
<hexx> ah
<hexx> alright
<hexx> that should be added though
<asheesh> Agreed. I plan to write a design document for some of those details in the next few days.
<zarvox> Probably. It would certainly help with debugging apps, especially if you could use it in combination with things like strace in production.
<hexx> should I make an issue?
<asheesh> Let me check if we have one first.
<hexx> the reason I want to know how is because at my house, I have a project going where there's going to be 1 tablet in every room locked to Sandstorm, and I've been asked to roll out Wikipedia to the tablets.
<hexx> the database dump is to big to be uploaded to mediawiki, so I needed to log into the container to import it through terminak
<hexx> *terminal
<asheesh> We don't seem to have a sandstorm-level issue for it, so if you're willing to file one, that's helpful. It's going to take more than a week or so to get to it, so if you have this short-term need, you might want to fiddle with some of the following things yourself:
<asheesh> - Look there specifically for advice on how to use mysql from outside Sandstorm to connecct to a MySQL socket within the grain.
<asheesh> Oh, but maybe MediaWiki-in-Sandstorm uses sqlite?
<asheesh> In which case, you can run:
<asheesh> sqlite3 /opt/sandstorm/var/sandstorm/grains/{{grainId}}/sandbox/*.sqlite
<asheesh> or something like that, using sqlite3 from outside the grain.
<asheesh> It's interesting; someone else was actually interested in setting up Wikipedia-within-a-grain recently.
<hexx> was his name syruponcereal?
<asheesh> No, someone I met in person in SF; Daniel Krol
<hexx> oh
<asheesh> He was looking into using Kiwix for that.
<hexx> ok
<hexx> I have an XML dump stored
<asheesh> He and I worked on it a ltitle bit, but I think he didn't get all the way to the end. But maybe I should ping him sometime to find out how that's going.
<hexx> would it just be easier to make an SPK with an iframe to the site?
<hexx> i'm probably about to get told to never use iframes
<asheesh> To Wikipedia itself? Hah, I guess that might work, so long as none of the security rules in place prevent it.
<asheesh> Sandstorm is an avid user of iframes, for better or for worse.
<asheesh> In the long run, we'd block new apps from doing that, but we don't enforce a bunch of those restrictions yet.
<asheesh> hexx: You could try changing the PHP sample app in the Sandstorm docs & tutorial to do that, and see if it works.
<hexx> my method I'm going to use is symbolic of my life: a bunch of dirty workarounds
<hexx> can I use powershell on windows for vagrant-spk?
<asheesh> I've pinged Daniel in case we can progress on Kiwix stuff soon.
<asheesh> hexx: see docs, but short answer: yes
<asheesh> afk briefly
<hexx> k
<hexx> I can't wait for bash on windows to be released
hexx has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<asheesh> What are some use-cases for "nsenter"? I've attempted to describe some above.
<asheesh> I'd mega appreciate people like zarvox remarking on use-cases in the above doc.
<asheesh> Or mrdomino or dwrensha or jparyani or kentonv or so forth.
hexx has joined #sandstorm
<ocdtrekkie_> My family would hire a web designer for the family business whose own website is entirely Flash-based.
<ocdtrekkie_> That's just a thing my family would do. And did do.
<hexx> i feel bad for you
<ocdtrekkie_> I feel bad for me.
<hexx> what would you put next to vagrant-spk setupvm for a client-side app