joshbuddy has joined #sandstorm
natea has joined #sandstorm
natea has quit [Quit: natea]
natea has joined #sandstorm
notevil has left #sandstorm ["Leaving"]
natea has quit [Quit: natea]
natea has joined #sandstorm
natea has quit [Quit: natea]
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
joshbuddy has quit [Client Quit]
rhapsodhy has quit [Remote host closed the connection]
rhapsodhy has joined #sandstorm
judytuna has joined #sandstorm
judytuna has quit [Changing host]
judytuna has joined #sandstorm
judytuna has joined #sandstorm
gopar has quit [Quit: Leaving]
soulshake has left #sandstorm [#sandstorm]
joshbuddy has joined #sandstorm
jadewang has joined #sandstorm
Isla_de_Muerte has quit [Ping timeout: 240 seconds]
NwS has joined #sandstorm
judytuna has quit [Ping timeout: 246 seconds]
itscassa|away is now known as itscassa
joshbuddy has quit [Quit: joshbuddy]
jadewang has quit [Remote host closed the connection]
mort___ has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 272 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
itscassa is now known as itscassa|away
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 258 seconds]
Isla_de_Muerte has joined #sandstorm
NwS has quit [Ping timeout: 240 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
itscassa|away is now known as itscassa
natea has joined #sandstorm
natea has quit [Quit: natea]
jadewang has joined #sandstorm
natea has joined #sandstorm
jadewang has quit [Ping timeout: 250 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
natea has quit [Quit: natea]
jadewang has joined #sandstorm
* paulproteus stretches.
mort___1 has joined #sandstorm
mort___1 has left #sandstorm [#sandstorm]
mort___ has quit [Ping timeout: 256 seconds]
natea has joined #sandstorm
<paulproteus> brb breaking my Sandstorm's OAuth config so I can test out how reset-oauth works and add a doc about it to https://github.com/sandstorm-io/sandstorm/wiki/Self-hosting-FAQ
<paulproteus> Break my server's OAuth: check
natea has quit [Quit: natea]
<paulproteus> Use sandstorm reset-oauth to generate new admin token: check
<paulproteus> Use that to fix my OAuth: check!
<paulproteus> One doc in the wiki coming right up.
<paulproteus> wiki <=> rekey
natea has joined #sandstorm
<paulproteus> ocdtrekkie: Would you be willing to read over the new first section at https://github.com/sandstorm-io/sandstorm/wiki/Self-hosting-FAQ ?
<paulproteus> (or anyone else)
natea has quit [Quit: natea]
natea has joined #sandstorm
gopar has joined #sandstorm
jadewang has quit [Remote host closed the connection]
natea has quit [Quit: natea]
aldeka has quit [Remote host closed the connection]
ocdtrekkie has quit [Remote host closed the connection]
ocdtrekkie has joined #sandstorm
aldeka has joined #sandstorm
<ocdtrekkie> The EtherCalc update is pretty awesome.
<ocdtrekkie> Top section of FAQ looks good, paulproteus.
<ocdtrekkie> Second section may be a good place to note the part about http:// should not be in the wildcard URL and stuff too.
<paulproteus> Also hmm this thing links to a 404 image from me.
natea has joined #sandstorm
<paulproteus> ocdtrekkie: Maybe we should "just" make that something the app can self-diagnose re: http:// in the wildcard URL
<paulproteus> Though I guess documenting it for now is better than no doc at all.
natea has quit [Client Quit]
natea has joined #sandstorm
natea has quit [Client Quit]
natea has joined #sandstorm
<paulproteus> I added it to the final question, fwiw, ocdtrekkie
natea has quit [Client Quit]
bb010g has quit [Quit: Connection closed for inactivity]
<ocdtrekkie> Yeah, self-diagnosing Sandstorm issues is cool, but for now at least, documentation helps.
kentonv has quit [Remote host closed the connection]
kentonv has joined #sandstorm
jadewang has joined #sandstorm
natea has joined #sandstorm
jadewang has quit [Ping timeout: 264 seconds]
joshbuddy has joined #sandstorm
natea has quit [Quit: natea]
natea has joined #sandstorm
natea has quit [Client Quit]
natea has joined #sandstorm
natea has quit [Client Quit]
<paulproteus> For those who like upvoting: https://news.ycombinator.com/newest , look for "Sandcats.io: free dynamic DNS for Sandstorm users"
natea has joined #sandstorm
<ocdtrekkie> So, Amazon just went full villain mode.
<ocdtrekkie> Major Blu-ray titles (and various other random things on Amazon.com) can now ONLY be purchased by Prime subscribers. The Buy button has been replaced with a "Get Prime" button.
natea has quit [Client Quit]
natea has joined #sandstorm
<kentonv> ocdtrekkie: eww
natea has quit [Client Quit]
<ocdtrekkie> You got frontpaged paulproteus
<kentonv> ok NO ONE UPVOTE now
<kentonv> let it be organic
natea has joined #sandstorm
<ocdtrekkie> kentonv: Yeah, in order to buy a $15 Blu-ray, $100 subscription.
jadewang has joined #sandstorm
<joshbuddy> i gave it vote #3 ..
<joshbuddy> lets see it go
<joshbuddy> to #1!
natea has quit [Client Quit]
<ocdtrekkie> Amazon issue submitted: https://news.ycombinator.com/item?id=9565929
<ocdtrekkie> *watches paulproteus post* I was #2. So me and joshbuddy put it on the front page. Wheeee.
natea has joined #sandstorm
<ocdtrekkie> paulproteus: You're at #9 \o/
<ocdtrekkie> https://github.com/mc-server/MCServer Minecraft for Sandstorm someday? :P
<kentonv> just to reiterate: no one from here should upvote at this point (vote ring detector is harsh, and we'll do fine organically)
<ocdtrekkie> You're up to #3.
<paulproteus> Yeah (-:
<paulproteus> BTW https://sandstorm.io/install/ is now a thing
<aldeka> (too late)
<ocdtrekkie> I don't know if you'll break the Google announcement there, #3 might be the highest you get today.
<fkautz> sandcats.io announcement is currently #1
<ocdtrekkie> \o/
<fkautz> woohoo, fkautz.sandcats.io is now live :p
<paulproteus> : D : D
natea has quit [Quit: natea]
<jadewang> \o. .o/
natea has joined #sandstorm
<paulproteus> One day we'll zmap the world's port 6080 and write a blog post that talks about all the interesting Sandstorm servers that aren't using Sandcats !????
<paulproteus> Not really I just wanted to say zmap
<paulproteus> see https://zmap.io/
<fkautz> sharelatex doesn't want to download :(
mort___ has joined #sandstorm
<paulproteus> Interesting fkautz ; http://sandstorm.io/apps/david/sharelatex7.spk works for me in my testing. I wonder if you're running into the same sad DNS failures others have.
<paulproteus> Is there anything in your /opt/sandstorm/var/log/sandstorm.log ?
<fkautz> ** Front-end died! Restarting it...
<paulproteus> So far so good. (Also hmm why front-end died?)
<posix4e> Does standstorm tightly bind to mongodb, or am i just reading to far into it?
<posix4e> I assume it's just the general state of the apps running on standstorm
<kentonv> posix4e: Sandstorm itself currently uses Mongo
<kentonv> to store your app list, etc
<kentonv> some day I'd like to stop using Mongo. Not likely to happen soon, though.
<posix4e> coolio
<ocdtrekkie> kentonv: Is the API you found good enough to make a repeatable/useful script to automate migrating to GrooveBasin grains?
<fkautz> paulproteus: no idea, i was able to download the spk to my local system
<fkautz> is there a debugging switch i can turn on?
<posix4e> by the way, my podcast of drrenshaw happens tomorrow at 2ish at 212 clara st if any of y'all want to sit in. He'll be calling in (skype probably)
<paulproteus> fkautz: There isn't, I think, hmm.
<paulproteus> I defer you to jparyani or others, and must hide in a coding corner and finish something up.
<kentonv> ocdtrekkie: possibly. Hard part is getting the music data out. In theory you can use the API to download it, but I suspect if you mass-download through that (faster than the rate of playing the music) they'll probably get angry. You need to use MusicManager to do mass-downloads but that's not as easy to script.
<fkautz> no problem, if it logs anything i'll report it
bb010g has joined #sandstorm
<kentonv> fkautz: did it say anything interesting immediately before "front-end died"?
<fkautz> nothing at all
<fkautz> i tried refreshing it and it just popped up the same message
<fkautz> this is from a fresh install, i installed the game of y, hackerslides, started a hackerslides instance, and then tried downloading sharelatex and it freezes
<fkautz> hacker slides instance is doing just fine still
<fkautz> ah, i know the problem
<kentonv> oh?
<fkautz> kernel is killing it, low memory
<kentonv> hah
<fkautz> running it on a 512mb instance on digital ocean
<kentonv> oof, yeah, you want at least a gig, probably two
<paulproteus> Perhaps http://localhost:8000/install/ should link to Minimum Requirements or something
<paulproteus> Er not localhost
<paulproteus> The real /install/
<fkautz> the script too :)
<paulproteus> +1
<paulproteus> I'd love to see that be part of "Sandstorm self-diagnostics"
<paulproteus> I can't even tell you how cool I would have felt as a teenager to run Sandstorm's self-diagnostics.
<fkautz> emerge sandstorm-self-diagnostics :p
<maurer> Out of curiosity, has anyone considered retrofitting existing web frameworks to be able to build direclty against the sandstorm interface by building into capnproto objects?
<maurer> (sadly, the one that first comes to mind as amenable to this is in haskell, which currently lacks capnproto rpc support, so it wouldn't be a good choice)
<paulproteus> I know phildini is interested in a Django auth layer for Sandstorm.
<paulproteus> And I think zarvox is interested in a wsgi server written with cap'n proto http.
<zarvox> That would be interesting.
<zarvox> I added a python/uwsgi stack for vagrant-spk, so seeing that + the aforementioned django auth layer making an app sandstorm-capable out of the box would be pretty awesome.
<jeffmendoza> when you upload your photos to lychee, where do they go? on the machine's local disk right? Is any cloud storage support planned for photo/music apps?
<kentonv> jeffmendoza: We're working on a managed Sandstorm hosting service, which effectively gives you that.
<jeffmendoza> yes, but if I want to run my own instance?
<jeffmendoza> will the app be talking to sandstorm to abstract the storage?
<kentonv> hmm, what is your goal in running your own instance but storing to cloud storage?
<kentonv> if you're storing to cloud storage, why not just host there too?
<jeffmendoza> I mean running your own instance in the cloud
<jeffmendoza> a VM with a small disk, and your photo music apps storing the data in S3/GCS
<jeffmendoza> seems like sandstorm should have a pluggable storage backend
<jeffmendoza> with a local disk default
<jeffmendoza> and an api for people to contribute storage plugins
<jeffmendoza> and the apps could opt into using the sandstorm provide storage (which they should for photo/music apps)
<kentonv> once powerbox is working then any app could export a storage API (possibly in front of an external storage service) and other apps could integrate with it
<jeffmendoza> powerbox?
mort___ has quit [Quit: Leaving.]
<kentonv> powerbox is the UI that will allow you to connect apps to each other easily
<kentonv> one app says "I provide API foo", another app says "I need something implementing API foo", and then the UI lets you choose what to connect it to securely
<jeffmendoza> ah ok, so then if I wanted a photo saving app that could store to s3, then it could have a dependency on another app that provides an abstraction?
<jeffmendoza> ah I see
<kentonv> yes
<kentonv> otherwise, the "abstraction" Sandstorm provides to apps is raw filesystem
<kentonv> which doesn't map well to S3
<jeffmendoza> right
<kentonv> eventually we'll develop a way to back up your data to e.g. S3 but that will be more for backups than live use
geofft has joined #sandstorm
<jeffmendoza> that sounds good
<jeffmendoza> but then you're looking at "drivers" for cloud storage in sandstorm?
<kentonv> drivers are just apps with special privileges to talk to the network
<kentonv> so yeah, there might be an "S3 driver"
<kentonv> or there might be an S3 app that just sits on the HTTP driver
<jeffmendoza> ah I didn't realize you already had a definition for "
<jeffmendoza> "drive"
<jeffmendoza> driver
<kentonv> oh, yeah
<kentonv> a driver implements some network protocol and re-exports it to other apps as a capability-based API
mort___ has joined #sandstorm
<ocdtrekkie> kentonv: Is Music Manager's file organization predictable enough to be able to use that, and then just run a script to assemble the GrooveBasin grain with any info from your API export? Or something like that?
<ocdtrekkie> This is probably easier to figure out with less DRM-arranged APIs than Music, but I have a keen interest in seeing nifty tools to export data from Google or other services directly into usable Sandstorm grains.
<kentonv> ocdtrekkie: You can use MusicManager to dump a bunch of mp3s into an artist/album/track directory tree, then upload that to any arbitrary other service. The mp3s will all be id3-tagged correctly. Main problem for me is that the tags don't include rating data AFAICT, which perhaps makes sense since ratings are a per-user thing.
<kentonv> ocdtrekkie: to be fair to Google Music, I don't think it has ever implemented any kind of DRM. But the music industry does force them to make some things inconvenient if they want to sign any deals.
<kentonv> and obviously you can't directly download songs that you didn't either upload yourself or purchase. (E.g. "All Access" (subscription service) songs.)
<kentonv> but you _can_ get All Access streams easily via the unofficial API. But I'm sure they watch to make sure you aren't mass-downloading from that.
<ocdtrekkie> I wonder why they don't publish the API with proper management and such. Xbox Music does for their subscription pass and everything.
<ocdtrekkie> I would think by now, most of these companies doing subscription music are probably getting relatively similar contract terms.
<paulproteus> Secret crazy easter-egg in sandstorm.io/install/ -- see e.g. https://sandstorm.io/install/#EtherCalc
<paulproteus> (not really an easter egg; it's described lucidly in the pull request)
<paulproteus> (I'm still excited about it though!)
natea has quit [Quit: natea]
<fkautz> do sandstorm apps shut down when not in use?
<kentonv> fkautz: yes
<paulproteus> Ya fkautz
<kentonv> that's how we can afford to have every document in a separate app instance. :)
<fkautz> that or lots of memory :p
<paulproteus> Yeah, maybe 768MB or more!!
<paulproteus> In all seriousness, fkautz, I think your DigitalOcean instance needs swap.
<paulproteus> phildini also ran into this problem, suggesting that a bajillion people are going to run into it
<fkautz> they start with 0 swap
<paulproteus> Yeah.
<fkautz> they probably set 0 swap to reduce writes to their SSD which have limited number of writes before they fail
<fkautz> paulproteus: i just increased memory :p
<paulproteus> (-:
<fkautz> a second option would be for the installer to run mkswap, swapon and add an entry to /etc/fstab if there isn't enough memory
<fkautz> with user permission, of course
<paulproteus> Yeah, I totally agree with that.
itscassa is now known as itscassa|away
<ocdtrekkie> paulproteus: Is it okay to have a non-validated input for that that allows you to potentially have the Sandstorm.io website say things like: https://sandstorm.io/install/#NSFWCommentAboutYourMom
<ocdtrekkie> Or such.
<paulproteus> I figured you'd remark on that. (-:
<paulproteus> kentonv's answer is "it's fine for now; if people are really going to abuse it, I guess it's publicity".
<ocdtrekkie> lol
<ocdtrekkie> What will Jasvir do with this power? He seems to like exploiting things.
<kentonv> well it's not XSS-able
<paulproteus> Sadly
achernya has quit [Ping timeout: 256 seconds]
<aldeka> lol
<zarvox> i,i https://sandstorm.io/install/#naked%20in%20the%20streets
<joshbuddy> https://sandstorm.io/install/#a%20marathon
<aldeka> darn validation
mort___ has quit [Quit: Leaving.]
<paulproteus> Yeah, I came up with "naked in the streets" (-:
achernya has joined #sandstorm
<paulproteus> rehi achernya
<fkautz> aww, doesn't support %20
<kentonv> it does support actual spaces, but you can't really paste such links into IRC and have them auto-linkify
<paulproteus> I was thining of having it URL-decode things.
<paulproteus> thinking.
<paulproteus> Also hi from Caltrain, and also my friend who is visiting SF isn't in dire need of me right now, apparently he has other friends than just me in his life, go figure, so I'm surfing Hacker News I guess.
<jparyani> interestingly, the links *do* work in firefox
<joshbuddy> https://sandstorm.io/install/#%F0%9F%92%A9
<joshbuddy> best one i can come up with .. works in ff.
<kentonv> oh right, firefox and chrome differ on whether they url-decode location.hash
<paulproteus> Yeah.
<paulproteus> That was why I was going to decode. (-:
<paulproteus> But then I manually tested and the links I was generating worked fine on both, so I was like "well OK then" and here we are.
<paulproteus> The fact that it's semi-hard to abuse this is kind of a win; I won't lie.
<fkautz> unicode works fine
<geofft> kentonv: ossreality is quite aware that they're banned by HN (and tend to post excessively trollish things as a result)
<geofft> I'm actually sorta impressed you got a positive comment :)
<kentonv> oh, who is it?
<ocdtrekkie> I am probably halfway close to banned from HN. Though a submission of mine was frontpaged for like 4 minutes.
<geofft> I don't actually know who it is
<kentonv> I looked at their history and it appeared to be only a few comments. They were above-average negativity but didn't seem like ban-worthy offenses.
<kentonv> oh, apparently I somehow missed the "more" link when looking at their comment history and so thought there were only a few comments
<kentonv> heh
<paulproteus> jparyani: BTW *excellent* debugging at https://github.com/sandstorm-io/sandstorm/issues/412
<paulproteus> It's like the birthday paradox but more ridiculous.
<paulproteus> WHen I fix bookmarks.makesad.us this will go on my list of awesome bugs.
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
Shane has joined #sandstorm
<Shane> Greetings all
<Shane> I need to ask a newbie question
<Shane> I fired up a fresh Amazon EC2 instance
<Shane> ran curl https://install.sandstorm.io | bash
<paulproteus> Hi!
<Shane> and got through the install process
<Shane> :)
<paulproteus> We should probably write some nice, high-clarity Amazon EC2 docs -- or maybe you can. (-: But first, yeah, you'll need to open up 6080 in your Amazon Security Group.
<Shane> ah ha
<paulproteus> Let me see if I can find a reasonable tutorial on this.
<paulproteus> Is this your first time using EC2?
<paulproteus> Or maybe that's enough info, you tell me (-:
<Shane> That should be enough
<paulproteus> Awesome.
<Shane> I can open that up
<paulproteus> I'll add this to the Self-hosting FAQ
<Shane> Super helpful
<Shane> I want to play with it
<Shane> but like I say, I'm a newbie :)
<Shane> But thats how you learn right_
<paulproteus> Cool! We were all newbies once too. (-:
<Shane> Thanks!
<fkautz> so, deleting an installed app and file? how is this done? :)
<paulproteus> Look for the trash icon on a "file" (also known as a grain), in the top bar; see e.g. https://github.com/sandstorm-io/sandstorm/wiki/Using-the-Sandstorm-Top-Bar )
<fkautz> so that destroys state, but removing the downloaded and installed spk?
<Shane> awesome paul
<Shane> Thanks a ton.
<Shane> And its up an running in two seconds... Great stuff
<paulproteus> Removing the unpacked SPK I really don't remember how to do. Making the SPK unable to let you create new app instances; I believe there's an "Uninstall" button for that.
<kentonv> there's an "uninstall" button in the grain list
<kentonv> if you click on the app name in the sidebar
<kentonv> then you see it
<fkautz> ah, my poor ui driving skills are to blame in this case :p
<kentonv> if you uninstall and delete all grains then the package is deleted
<paulproteus> Meh, or you're doing valuable user experience research for us.
<fkautz> mistook uninstall as uninstall a grain
<kentonv> our UI needs work. :)
natea has joined #sandstorm
<ocdtrekkie> I have about 30 1 GB sticks of PC2-5300F server RAM; my Sandstorm test server takes PC2-5300P #Sadstorm
<paulproteus> 00F
natea has quit [Quit: natea]
joshbuddy has quit [Quit: joshbuddy]
bb010g has quit [Quit: Connection closed for inactivity]
joshbuddy has joined #sandstorm