gopar has quit [Remote host closed the connection]
isd has quit [Ping timeout: 250 seconds]
joshbuddy has quit [Ping timeout: 246 seconds]
bb010g has joined #sandstorm
greg-g has quit [Quit: leaving]
joshbuddy has joined #sandstorm
joshbuddy has quit [Client Quit]
joshbuddy has joined #sandstorm
isd has joined #sandstorm
isd has quit [Read error: Connection reset by peer]
joshbuddy has quit [Quit: joshbuddy]
jadewang has joined #sandstorm
joshbuddy has joined #sandstorm
jadewang has quit [Remote host closed the connection]
joshbuddy has quit [Ping timeout: 240 seconds]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
joshbuddy has joined #sandstorm
mnutt__ has quit [Quit: mnutt__]
gopar has joined #sandstorm
mnutt_ has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
joshbuddy has joined #sandstorm
<ocdtrekkie> RHEL/CentOS/etc. is what I want to use, because I'm also particularly comfortable with cPanel (RHEL/CentOS only).
<ocdtrekkie> But unfortunately it's going to be a long time before that and Sandstorm could coexist on one server.
<zarvox> dwrensha: sorry, I was ignoring IRC all day. Answer is "no, not right now" but I'd love it if someone would write a patchset that would make the VM name involve dirname(dirname(abspath(Vagrantfile)))
simonv3 has joined #sandstorm
ak5 has joined #sandstorm
<ak5> hey guys I am trying to figure out how to give wordpress external network access to be able to install plugins
sunu has quit [Ping timeout: 256 seconds]
<kentonv> ak5: Unfortunately, right now, you can't. Some plugins work if you upload them as zips.
<ak5> ok
<ak5> thx
<kentonv> basically we want network access to be explicitly approved by the user, but we're still working on that UI
jadewang has joined #sandstorm
<ak5> kentonv: read the blog posts, I am following you guys :D
<ak5> kentonv: was just wondering if it worked with the temporary replacement ui
pixelport has joined #sandstorm
sapienTech has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
sapienTech1 has joined #sandstorm
sapienTech2 has joined #sandstorm
sapienTech has quit [Ping timeout: 255 seconds]
<sapienTech2> heads up for the developer in charge of groove basin, volume doesn't come through my Nexus 6 phone using any of the standard browsers
sapienTech1 has quit [Ping timeout: 256 seconds]
pixelport has quit [Quit: Leaving]
todayman has joined #sandstorm
todayman has quit [Ping timeout: 250 seconds]
todayman has joined #sandstorm
<ak5> any way I can setup a mirror in china for the apps?
jadewang has quit [Ping timeout: 244 seconds]
gopar has quit [Remote host closed the connection]
jadewang has joined #sandstorm
neynah has joined #sandstorm
<kentonv> ak5: hmm, what for?
<kentonv> ak5: The app list is pretty simple. The install button just redirects people back to their server with the path /install/<package-id>?url=<download-url>
<kentonv> so you can pretty easily host your own app list
todayman has quit [Ping timeout: 250 seconds]
joshbuddy has joined #sandstorm
jadewang has quit [Remote host closed the connection]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
simonv3 has quit [Quit: Connection closed for inactivity]
joshbuddy has quit [Quit: joshbuddy]
sapienTech2 has quit [Quit: Leaving.]
<ak5> ah I hadn't looked into it at all - its just the app installs fail here quite miserably 80% of the time in china (beijing)
<ak5> without a proxy or something (which I have) but others probably not - most users that breach GFW use non foss vpn clients from paid providers and wouldn't know how to connect to them with linux (and probably we don't want them to do that anyway)
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 255 seconds]
mnutt_ has quit [Quit: mnutt_]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 246 seconds]
<paulproteus> https://github.com/Flameeyes/unpaper plus a web frontend would make a great Sandstorm app.
<paulproteus> I would totally configure my scanner to email that app before it emails me PDFs of scans.
mnutt_ has joined #sandstorm
xcombelle has joined #sandstorm
natea has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
<dwrensha> paulproteus: I want to set up a vagrant box with a new Fedora distro
<dwrensha> what should I put in config.vm.box?
<dwrensha> (Right now I'm just editing the vagrant-spk Vagrantfile)
<dwrensha> I tried replacing "debian/jessie64" with "chef/fedora21", but that didn't work
<dwrensha> "Failed to mount folders in Linux guest. This is usually because the "vboxsf" file system is not available."
<dwrensha> Is anyone out there running a Sandstorm instance on a Linux kernel newer than version 4.0.0? If so, maybe you can help me gather data to trace down a bug.
mnutt_ has quit [Quit: mnutt_]
sunu has joined #sandstorm
natea has quit [Quit: natea]
<dwrensha> i,i EXT2_SUPER_MAGIC
<paulproteus> dwrensha: I can't super-duper support Fedora over Debian in vagrant-spk, just since I don't use it, but in theory you should have enough tools to make it work.
<paulproteus> vboxsf thing is usually due to needing to install "VirtualBox Guest Additions".
<dwrensha> I didn't need to install additions for the debain/jessie64 box to work
<dwrensha> meh, anyway, I've found a different debugging route
<paulproteus> Yeah, the additions are bundled into debian/jessie64.
<paulproteus> It's on the guest side, fwiw, that it needs to be installed
<dwrensha> I'm tracking down a problem where an app behaves differently on different Sandstorms!
<paulproteus> Oh my!
<dwrensha> On any Debian/Ubuntu Sandstorm install, it works as expected
<dwrensha> on my Arch Linux Linode install, Mongo eats tons of disk space
<paulproteus> zomg.
<dwrensha> I suspect this is Mongo's fault somehow
<dwrensha> Looks like the Arch Mongo package outside of the Sandbox has the same problem, so I'm poking at that
<paulproteus> "That's a relief"
<dwrensha> yeah, but still. The same SPK has quite different behavior on different Sandstorms
<dwrensha> that's a problem
<paulproteus> Agreed, definitely a problem.
<dwrensha> one theory is that Mongo somehow checks the kernel version and does different things in different cases
<dwrensha> anyway, I'm examining strace output
<paulproteus> My first reaction is: omg patch out that syscall
<paulproteus> "We are Linux 1.0, screw you those who want to know more"
<dwrensha> hm. I'm going to try booting my Linode at a different Linux version.
natea has joined #sandstorm
<dwrensha> pre 4.0
<dwrensha> OK, doesn't seem to be the kernel version. I still see the wrong behavior on 3.16.7
<dwrensha> Even though my Ubuntu box with 3.19.0 produces the correct behavior
mnutt_ has joined #sandstorm
<dwrensha> hm... perhaps this is a filesystem issue?
<dwrensha> The Arch box uses ext3
<dwrensha> the Debian/Ubuntu boxes use ext4
natea has quit [Ping timeout: 260 seconds]
natea_ has joined #sandstorm
<dwrensha> so it looks like in all cases, if I shell into the grain storage and `ls -sh` the Mongo journal files, they appear to be 200MB
<paulproteus> ls != du
<dwrensha> but on the ext4 systems, the grain size bar in Sandstorm reports more like 100kb, and indeed that's the size of the uncompressed zip if I download a backup
<dwrensha> on the ext3 box, the grain size bar reports 200MB, and the the uncompressed zip is 200MB
<dwrensha> these files are sparse
<dwrensha> like, I think they are initiated by writing a single "0" byte every 4k or so
<dwrensha> `du` and `ls -s` are agreeing
<paulproteus> TIL ls -s !
<dwrensha> ughh what filesystem black magic is happening here
mnutt_ has quit [Quit: mnutt_]
<dwrensha> the grain size on the topbar is measured using lstat()
<dwrensha> and if I use stat from a shell, I get an answer that agrees with it
<dwrensha> but why would that disagree with `du`?
<dwrensha> So it looks like Mongo is relying on the filesystem to do sparse file optimization
todayman has joined #sandstorm
todayman has quit [Ping timeout: 264 seconds]
todayman has joined #sandstorm
<dwrensha> It looks like the right workaround is for me to call mongod with --nojournal
<dwrensha> er, maybe not. That sounds scary: http://docs.mongodb.org/v3.0/tutorial/manage-journaling/
<dwrensha> er, maybe it's OK with wiredtiger https://docs.mongodb.org/v3.0/core/storage/#journal
<dwrensha> aha! wiredtiger's checkpointing is configurable
<dwrensha> I can make it checkpoint more frequently than once every 60s
mnutt_ has joined #sandstorm
dwrensha has quit [Ping timeout: 255 seconds]
dwrensha has joined #sandstorm
sasattack-deskto has quit [Ping timeout: 255 seconds]
sasattack-deskto has joined #sandstorm
jadewang has joined #sandstorm
joshbuddy has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
joshbuddy has quit [Quit: joshbuddy]
patrickod has joined #sandstorm
mnutt_ has quit [Quit: mnutt_]
neynah has joined #sandstorm
treyhunner has quit [Read error: Connection reset by peer]
treyhunner has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 244 seconds]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
NOTevil has joined #sandstorm
mnutt_ has joined #sandstorm
joshbuddy has joined #sandstorm
hrjet has quit [Ping timeout: 264 seconds]
hrjet has joined #sandstorm
jadewang has joined #sandstorm
<kentonv> dwrensha: Disabling journaling sounds wrong. Is there no way to control the journal size?
<dwrensha> I haven't found any
<dwrensha> I can make it take a checkpoint every five seconds
<kentonv> it was configurable in mongo 2.6... though only at megabyte granularity
<dwrensha> oh
<kentonv> err
<kentonv> gigabyte?
<kentonv> no
<kentonv> megabyte
<dwrensha> that goes against the impression i had. Maybe I need to search harder
<dwrensha> where are you seeing this?
<kentonv> that's right, I reduced it to kilobyte in niscu
simonv3 has joined #sandstorm
<kentonv> hmm
<kentonv> have you tried using --nopreallocj?
<dwrensha> no
<kentonv> prevents preallocation of journal
gopar has joined #sandstorm
<kentonv> maybe it was --smallfiles that made the journal smaller
<dwrensha> undocumented flag!
<dwrensha> grrr
<kentonv> I would like to understand how the behavior could be different on different filesystems, though
<kentonv> ext3 doesn't support sparse files but stat.st_size also ignores sparseness
<kentonv> btw sparse files are at page granularity, so writing a byte every 4k would actually make it non-sparse
<kentonv> have you tried diffing straces?
<dwrensha> yeah, and a sparse file would have large "apparent size" but small "actual disk space used"
<dwrensha> and I'm seeing the opposite
<dwrensha> I could show you an strace of the initialization
<dwrensha> I have one right here
<kentonv> wait, you're seeing small apparent size but large space used?
<kentonv> I don't even know how that could happen
<dwrensha> that's right
<dwrensha> the grain top bar shows the apparent size
<dwrensha> which is small compared to the space used
<kentonv> space used according to?
<dwrensha> `du` or `ls -s`
<kentonv> and when you download a zip, which one does it correspond to?
<dwrensha> if I download a zip and unzip it on my mac, the size agrees with the stat() size, i.e. it differs a lot between whether the grain was on my Arch box or an Debian/Ubuntu box
<kentonv> so the uncompressed zip is much larger than the topbar size?
<dwrensha> yes
<kentonv> when you say the stat() size, that's ambiguous, because stat() reports both the apparent size and the actual space used
<dwrensha> st_size
<kentonv> but the topbar measures st_size
<dwrensha> right
<dwrensha> st_size = apparent size
<kentonv> but you said the apparent size is consistent and the actual space used differs?
<kentonv> between machines
<dwrensha> no
<dwrensha> apparent size differs
<dwrensha> actual space used looks the same
neynah has joined #sandstorm
<dwrensha> except for uncompressed backup zips
neynah has left #sandstorm [#sandstorm]
<kentonv> haha, ok, apparently at 10:19 you said one thing, and at 10:20 I repeated back _exactly the opposite_, and then you said "that's right".
<kentonv> I am not sure how I managed to read exactly the opposite of what you clearly said
<kentonv> ok, starting over
<kentonv> no no
<kentonv> ok I'm really confusing myself
<kentonv> at 10:19 you were talking about what you'd expect sparse files to look like
<kentonv> but that's *not* what you're seeing
<dwrensha> I am seeing superdense files, I guess
<kentonv> let's try to make this really clear because clearly I'm getting really confused
<kentonv> so on ext4
<kentonv> you see consistent st_size and st_blocks
<kentonv> and both are small
<kentonv> on ext3 you see small st_size but large st_blocks?
<dwrensha> no. On ext4 they are inconsistent, and st_size is small
<dwrensha> On ext3 they are consistent and both large
<dwrensha> My Arch box is Ext3
<kentonv> ohhh... hmm...
<kentonv> cool, now I have a local file to poke at
<kentonv> Size: 8448 Blocks: 204808 IO Block: 4096 regular file
<dwrensha> how did you make it?
<kentonv> by running duoludo. :P
<kentonv> so they try to call fallocate() to pre-allocate a ton of space
<kentonv> the log you gave me was ext3?
<dwrensha> yes
<kentonv> the fallocate() fails there because the fs doesn't support it
<kentonv> on ext4 I guess it would have allocated a ton of hidden space
<dwrensha> "hidden"?
<kentonv> it pre-allocates pages for the file to grow without advancing the file size.
<kentonv> the file size is just a number stored in the metadata, completely independent of the table of allocated pages
<kentonv> in fact any file block table is valid with any file size -- missing blocks are assumed to contain zeros, and blocks past the end of the file are pre-allocated space (also zero)
<kentonv> does --nopreallocj help with this?
<dwrensha> I'm trying that now
<dwrensha> it doesn't seem to change the size of the journal
<kentonv> so it still preallocates even though you told it not to?
<dwrensha> yeah
<kentonv> I'm tempted to have seccomp silently ignore fallocate
<dwrensha> so that st_size is less of a lie?
<kentonv> it will prevent apps from being able to allocate pages beyond st_size, yeah
<kentonv> only visible effect should be st_blocks doesn't grow when they expect it
<kentonv> fwiw blackrock will already effectively ignore fallocate at a lower level.
<kentonv> hmm
<kentonv> there's a config option called "log.file_max"
<kentonv> which if I'm reading the source correctly appears to control this
<kentonv> I don't know where these config options come from
<dwrensha> link?
<kentonv> oh there's also log.prealloc?
<dwrensha> `mongod --nopreallocj --noprealloc` didn't help
<kentonv> right my guess is those options only affect mmapv1 or whatever
<dwrensha> my impression is that the journaling is somewhat idependent from WiredTiger
<dwrensha> like, it wouldn't surprise me if it were the same journaling as is used in mmapv1
<dwrensha> *independent
<kentonv> that's not my impression
<kentonv> the file is called WiredTigerLog, and the wired tiger code appears to contain the relevant fallocate call
<dwrensha> good point
<kentonv> in a file called log.c
<kentonv> so the question is how to pass config options down to wired tiger
<kentonv> specifically to set log.prealloc to 0
<dwrensha> I know how to set such options once mongod is already running
<dwrensha> but that's probably too late
<kentonv> hmm well try setting log=(prealloc=0) and see if it works?
<dwrensha> yeah
<dwrensha> I'm going to try file_max first
<dwrensha> "an integer between 100KB and 2GB"
<dwrensha> uhh
<dwrensha> I will try "100KB"
<dwrensha> but that's not just "an integer"
<kentonv> ehh I'm not sure if you really want to set that
<kentonv> you might actually want the log to be able to scale, you just don't want it to preallocate...
<kentonv> not sure
<kentonv> if you disable prealloc then you can set the file_max to a few megs, probably
<kentonv> --wiredTigerEngineConfig
<kentonv> that flag appears to be a thing
ak5 has quit [Quit: WeeChat 1.2]
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
<dwrensha> --wiredTigerEngineConfigString seems to work
jadewang has quit [Remote host closed the connection]
<kentonv> yay
jadewang has joined #sandstorm
<kentonv> btw please write changelogs in reverse chronological order
<dwrensha> oops
<dwrensha> now I'm down to a single 101MB WiredTigerLog file. "log=(prealloc=false)" got rid of the 101MB WiredTigerPreplog
<kentonv> so log applied to preplog but not to log?
<dwrensha> right
<ocdtrekkie> Is Oasis having issues?
<ocdtrekkie> I can upload/install to Alpha, but Oasis fails.
<ocdtrekkie> To do either.,
<dwrensha> ocdtrekkie: are you trying spks from the new app store?
<ocdtrekkie> Yes
<dwrensha> I think there are some issues with that
<dwrensha> regarding metadata
<ocdtrekkie> I also tried installing by URL to Oasis.
<ocdtrekkie> From the new app store.
<ocdtrekkie> And that didn't work either.
<dwrensha> the metadata is part of the spk
<dwrensha> and Oasis has an old incompatible schema, I think
<kentonv> ocdtrekkie: yeah the problem is Oasis hasn't been updated lately
<kentonv> and it doesn't understand some of the recent metadata changes
<ocdtrekkie> Ahhhhhh
<kentonv> so apps from apps.sandstorm.io don't work
<kentonv> Feel free to try on testrock, though. :)
<ocdtrekkie> I have Alpha (where most of my stuff is), I just thought it was odd.
<ocdtrekkie> Nonetheless, congrats on an awesome launch of a thing!
<kentonv> to be clear, it's not actually launched yet. It's up so that we can populate it for launch. :)
<ocdtrekkie> Well, I finally have my Internets again, so I'll be able to work on getting my ports updated.
xcombelle has quit [Read error: Connection reset by peer]
jadewang has quit [Remote host closed the connection]
simonv3 has quit [Quit: Connection closed for inactivity]
<PMT> oh good, jadewang already plugged hackpad
<ocdtrekkie> There isn't a good category for either Meteor Blocks or EtherDraw right now.
<ocdtrekkie> That I can see in the definition.
<ocdtrekkie> What do you recommend?
jadewang has joined #sandstorm
<ocdtrekkie> kentonv: Was meteor-spk ever released with the 'meteor build' fix, and will I currently be able to publish a meteor-spk app to the new app store?
<ocdtrekkie> Also: getting from "I have a keybase" to "the right stuff is in my package folder" would be really helpful information for the publishing guide.
<ocdtrekkie> Because I think I am probably done with my first port except for figuring out how to set up all the signing stuff.
<ocdtrekkie> And knowing what category to put it in.
jadewang has quit [Remote host closed the connection]
NOTevil has quit [Quit: Leaving]
<kentonv> ocdtrekkie: I think there was a release, yes, but hard to remember.
<ocdtrekkie> I don't see one in dl.sandstorm.io with a newer date than the PR.
<kentonv> hmm
<ocdtrekkie> Also, keybase setup makes me sad, I'm getting errors about gnupg config files being missing. Specifically, a /.gnupg folder.
<kentonv> it looks like there was never a release including the bug in the first place. (Using "meteor bundle" still works, it just complains about being deprecated.)
<ocdtrekkie> Yeah, it just complains, but it seemed weird it never got released. Will meteor-spk need an update for the publishing flow? Or will it 'just work'?
<kentonv> it will just work since it wraps spk
<kentonv> I mean, it wraps whanever version of spk you have
<kentonv> when it comes time to publish, use "spk publish", not "meteor-spk publish"
<kentonv> regarding keybase issues, is that when following Keybase's instructions or specifically when trying to follow Sandstorm's GPG instructions?
<ocdtrekkie> I used Keybase's instructions to install keybase.
<ocdtrekkie> Any attempt to execute like... keybase id ocdtrekkie or something like that, gives me the gnupg error.
<ocdtrekkie> Where is Sandstorm's GPG instructions?
<kentonv> in package.capnp
<kentonv> but if the keybase command doesn't work on its own then Sandstorm's instructions probably aren't going to work either.
<kentonv> are you running keybase directly on Windows? I wonder how much they've tested that.
<ocdtrekkie> This is all Ubuntu.
<kentonv> huh
<ocdtrekkie> Error message PM'd.
jadewang has joined #sandstorm
neynah has joined #sandstorm
bb010g has quit [Quit: Connection closed for inactivity]
natea_ has quit [Quit: natea_]
joshbuddy has quit [Quit: joshbuddy]
<paulproteus> Wow, https://apps.sandstorm.io/ looks _so good_.
<neynah> I hope that is not sarcasm! It needs tweaking.
<paulproteus> It looks super duper good to me.
<ocdtrekkie> I want to login! :(
<ocdtrekkie> I submitted my first app though. :D
<ocdtrekkie> I've just been, you know, making problems for kentonv.
<paulproteus> bd
<neynah> ocdtrekkie: yay! which one?
<ocdtrekkie> So far, Meteor Blocks.
<ocdtrekkie> Mostly because it was the most straightforward. No upstream changes besides updating Meteor.
<paulproteus> i,i Meatier
<kentonv> so I'm thinking it's definitely weird to show the upstream author name on the app tiles. Makes it look like they directly submitted it. So I guess I'm going to change it to show the port-er there and list upstream author as a metadata field.
simonv3 has joined #sandstorm
<paulproteus> BTW apparently there's healthy enthusiasm for storm.debian.net in #debconf on irc.oftc.net.
<kentonv> but I wonder if that's also going to look weird
<kentonv> yay!
<paulproteus> I might "have to" implement support for sso.debian.org.
<paulproteus> Enthusiasm _and_ skepticism. The best combination.
<kentonv> neynah: Yeah something like that.
<kentonv> though I kind of feel like highlighting either name is wrong somehow...
<kentonv> unless they're the same
<neynah> kentonv : what do you mean by highlighting? as in the colour?
<kentonv> I just mean displayed prominently
<kentonv> displaying the porter prominently feels like they are taking credit for upstream's work. Displaying upstream prominently feels like we've giving them responsibility for a port that they didn't necessarily approve.
<ocdtrekkie> Should I gitignore .meteor-spk?
<paulproteus> I don't remember what lives in there!
<paulproteus> Probably not, though, but I don't remember what lives in there.
<ocdtrekkie> Almost everything I would expect in .meteor that isn't in .meteor.
<ocdtrekkie> All of the stuff it downloaded based on the list of packages.
<paulproteus> Well I have no opinion for now; too tired here in .de
<ocdtrekkie> All the node modules and everything end up in .meteor-spk
<ocdtrekkie> Which is weird, because I thought they were supposed to be in .meteor.
<kentonv> ocdtrekkie: IIRC the meteor bundle is built in .meteor-spk
<kentonv> so that's the output of bundling your app
<ocdtrekkie> But I mean, you generally leave out all of that in the source repo.
<ocdtrekkie> Because when you meteor-spk, it recreates it.
<kentonv> right
<kentonv> IIRC, you should gitignore it, but I don't remember 100%
<kentonv> neynah: yeah that's nice, except needs more specificity an "authored by". I was going to use the term "upstream author".
<kentonv> also the tiled view of apps shows an author
<kentonv> and I'm more worried there because there's not much space to clarify what kind of author they are
<neynah> Btw, I noticed the app market's title is actually "Sandstorm App Store." We should probably change that
<paulproteus> neynah: pull request!
<neynah> kentonv : what if we didn't display a name on the tiles at all?
<paulproteus> You can probably edit it entirely from the github.com web app and submit that pull request.
<kentonv> neynah: that seems reasonable
<neynah> paulproteus : ok! :)
<kentonv> ehhh
natea has joined #sandstorm
<kentonv> don't send a pull request right now, they will ignore it
<kentonv> at least it seems that way
<neynah> lol
<kentonv> I'm going to take over the repo this weekend
<neynah> Ok I'll just make an issue just in case it's overlooked. *shrug.
<kentonv> I have it on my todo list
mnutt_ has quit [Quit: mnutt_]