funwhilelost has joined #sandstorm
funwhilelost has quit [Client Quit]
KaZeR_ is now known as KaZeR
<asheesh> BTW I realized that in addition to a Sandstorm app triggering "Share", it makes sense [to me] for an app to be able to trigger "New grain [of this app]", at least if you have the app installed etc.
<mnutt> asheesh: for the web-publishing docs, maybe just reference a non-www subdomain. so set up site.example.com as sandstorm-www.site.example.com.
jacksingleton has joined #sandstorm
<asheesh> Gotcha
bb010g has joined #sandstorm
neynah has joined #sandstorm
<mnutt> kentonv: you probably see davros 0.11.3 and 0.11.4 in the queue. you can ignore 0.11.3, it’s a bad release
<kentonv> 0.11.4 approved!
<mnutt> 0.11.4 contains fixes for web publishing instructions and upload button, which I think were the major bugs found so far.
<mnutt> thanks!
<asheesh> such goodness!
<kentonv> mnutt: minor nitpick, a lot of people probably won't know what "apex domain" means. I'd say not urgent to fix but maybe worth tweaking the language in a future release. Otherwise, the warning is pretty great.
<mnutt> cool, yeah. is “top-level” more descriptive?
<kentonv> yeah I think most people would understand that
<asheesh> second-level in theory
<kentonv> hmm
<asheesh> Can't set TXT records on COM
<kentonv> yeah I guess technically "com" is the top-level
<mnutt> ahh, true. TLD means something.
<asheesh> "Works for subdomains, but not your main domain name" or something. I dunno.
<mnutt> yeah, maybe “not a subdomain” is best
<kentonv> maybe give an example
<kentonv> like, you could explicitly suggest "www.<whatever they typed>"
<mnutt> in fact, that’s what it does :)
<kentonv> oh yeah
<kentonv> so it does
<kentonv> I forgot. :)
<kentonv> you're one step ahead of me
<mnutt> two-way bindings are cool
<mnutt> (mostly)
<asheesh> nooo don't tell zarvox
<mnutt> haha, I know, data down, actions up, etc. sometimes a nice two-way binding really hits the spot though.
<kentonv> hmm is it possible for me to create folders without setting up sync?
<asheesh> "yes, use a command line webdav tool"
<mnutt> I had not thought of that until literally 5 minutes ago when I was testing out file uploads
<mnutt> nor is it possible to delete a directory from the web UI
<mnutt> it’s on the roadmap
<ckocagil> so I was writing a little document on sandstorm app porting in markdown. then I realized there wasn't a good sharable markdown editor on sandstorm. now I'm porting one
<ckocagil> dammit sandstorm, I need my life back
<mnutt> ckocagil: porting dillinger? or something else?
<ckocagil> dillinger, yep
<mnutt> i,i I wonder if it would be possible to write a localstorage shim + a small backend stack so that frontend-only apps could persist
<asheesh> I would love that.
<kentonv> ckocagil: Is it real-time collaborative?
<asheesh> It could live in the "static" vagrant-spk stack.
<jparyani> mnutt: i wrote something like that already for laverna
<kentonv> mnutt: that's basically what sandstorm-rawapi-example is
<ckocagil> kentonv: nope. for real-time markdown I plan to build something with etherpad + its markdown plugin
<kentonv> ckocagil: etherpad's markdown plugin unfortunately does the opposite of what you might expect: it takes rich-text etherpad content and renders it as markdown markup
<asheesh> literally lol
<ckocagil> oh...
<jparyani> mnutt: it doesn’t use a shim. it instead runs an invisible iframe for the purpose of tracking “localStorage” events. see https://github.com/jparyani/laverna/commit/e454674bf0e621a14ebb8c34b0c69dd3be8dc933
<mnutt> wow, even better
<mnutt> way ahead of me :)
<zarvox> did somebody say two-way data binding? O_O
<zarvox> *grumble* :P
<mnutt> heh
<ckocagil> mnutt: you'd need to use sync XHR for the localstorage shim :(
<mnutt> so now we’re allowed to talk about sync xhr, but two-way data bindings is off-limits??
<asheesh> more literal lol
<mnutt> but yeah, localstorage being synchronous means a shim isn’t straightforward
<asheesh> Actually what's going on is zarvox is talking IRL to dwrensha and jparyani about two/one-way binding
<asheesh> so you're safe
<ckocagil> i,i sandstorm should support folders so people can organize their grains
<zarvox> mnutt: I'm a pragmatist, so all these things are acceptable given desperate enough (or simple enough) contexts
<mnutt> yeah, <input value={{domain}}> set record {{domain}} CNAME… seems pretty benign. with big apps you can get into trouble with it.
<asheesh> ckocagil: it definitely should.
<asheesh> We will get there!
eternaleye has quit [Ping timeout: 265 seconds]
jacksingleton has quit [Ping timeout: 260 seconds]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<mnutt> I had an idea for a screensharing app (original user uses webRTC to send screen share to grain over websockets, using sandstorm sharing, “view only” users just see output) but sadly chrome requires an extension for screen sharing.
<mnutt> also, I have no idea how performant it would be
<kentonv> hmm I thought google hangouts operated with no plugins on Chrome
<kentonv> and it does screen sharing
<kentonv> but I guess maybe the screen sharing part in particular requires a plugin? But I don't remember installing it...
<geofft> Google Chrome ships the required plugin for Hangouts (or auto-fetches it or something)
<geofft> but hm, yeah, I think recent webrtc supports this natively
<zarvox> I wonder what the confinement story for webrtc looks like <_<
<mnutt> chrome actually allowed you to turn it on with a flag, but then removed that and now requires an extension
<zarvox> https://github.com/kanaka/noVNC might be interesting as a client thing
<mnutt> for security reasons, but now you have to carry around this extension that can access your screen at any time, I guess
<kentonv> zarvox: I think not so bad actually. You need to exchange some tokens through some other means before you can start a WebRTC connection, which actually makes it fairly capability-ish
<mnutt> webrtc includes p2p access and that would likely go against confinement, right?
simonv3 has quit [Quit: Connection closed for inactivity]
<kentonv> mnutt: well, it only goes against confinement if it allows the app to communicate with something it couldn't already communicate with.
<mnutt> ah, yeah
<kentonv> if a token exchange is needed before setting up the connection then that implies a communication link already exists
<kentonv> that said I don't know if WebRTC's tokens are unforgeable
funwhilelost has joined #sandstorm
neynah has joined #sandstorm
eternaleye has joined #sandstorm
funwhilelost has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
funwhilelost has joined #sandstorm
mnutt has quit [Quit: mnutt]
funwhilelost has quit [Client Quit]
home has joined #sandstorm
rhapsodhy has quit [Remote host closed the connection]
rhapsodhy has joined #sandstorm
ArcTanSusan has joined #sandstorm
mnutt has joined #sandstorm
ArcTanSusan has quit [Quit: ArcTanSusan]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mnutt has quit [Quit: mnutt]
ArcTanSusan has joined #sandstorm
jacksingleton has joined #sandstorm
neynah has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
home has quit [Remote host closed the connection]
neynah has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ArcTanSusan has quit [Quit: ArcTanSusan]
jadewang has quit [Remote host closed the connection]
jacksingleton has quit [Ping timeout: 250 seconds]
jadewang has joined #sandstorm
dwrensha has quit [Ping timeout: 260 seconds]
jadewang has quit [Ping timeout: 255 seconds]
kentonv has quit [Ping timeout: 260 seconds]
jadewang has joined #sandstorm
dwrensha has joined #sandstorm
kentonv has joined #sandstorm
jadewang has quit [Remote host closed the connection]
neynah has joined #sandstorm
mnutt has joined #sandstorm
gillisig has quit [Ping timeout: 240 seconds]
aldeka has quit [Quit: No Ping reply in 180 seconds.]
warren has quit [Ping timeout: 250 seconds]
aldeka has joined #sandstorm
warren has joined #sandstorm
XgF has quit [Quit: No Ping reply in 180 seconds.]
XgF has joined #sandstorm
<XgF> mnutt: Hey, Davros is cool :-)
<mnutt> XgF: thanks!
_iwc has joined #sandstorm
<XgF> kentonv: before WebRTC is really usable on Sandstorm, Sandstorm will need a TURN server =/
_iwc has quit [K-Lined]
<XgF> (also a STUN server, but STUN and TURN are kinda tightly linked)
gillisig has joined #sandstorm
mnutt has quit [Disconnected by services]
mnutt__ has joined #sandstorm
mnutt__ is now known as mnutt
simonv3 has joined #sandstorm
<simonv3> Hey all, I’m a bit confused by the pricing on Sandstorm - I’ve been using the free tier for a while, and just ran out of space after installing Davos and syncing with my local owncloud folder (awesome stuff by the way, this is killer-feature for me)
<simonv3> So I was looking if I can upgrade my plan
<simonv3> I’m happy to purchase, but it also says "free during beta"
<simonv3> Davros rather
<offby1> heh. That's some catch, that Catch-22.
<dwrensha> simonv3: the free plan will be free even once we're out of beta. The other plan won't be.
<dwrensha> other plans*
<XgF> simonv3: So basically you enter your card details but won't be billed until Sandstorm exits beta
<simonv3> XgF: dwrensha cool, thanks for clarifying!
<simonv3> I will wait until I’m not on a public wifi connection to do so :)
chris_severs_ has joined #sandstorm
tdfischer_ has joined #sandstorm
<simonv3> Are there bandwidth limits to Sandstorm plans?
<simonv3> (not that I’m thinking of over using it, just curious)
spangatt1ck has joined #sandstorm
spangatt1ck has quit [Changing host]
spangatt1ck has joined #sandstorm
dvn- has joined #sandstorm
<simonv3> Or is that even a question that makes sense?
surd_ has joined #sandstorm
dlitz has joined #sandstorm
dcb has joined #sandstorm
<offby1> Makes sense to me; they're hosting for you, so they need to pay for your bandwidth.
<mnutt> I thought about that a bit too, when thinking about a webrtc-enabled screensharing app. doesn’t hit any disk quotas, but could use tons of bandwidth
<mnutt> btw, you’re welcome sandstorm for davros hitting everyone’s disk quotas :)
itscassa has quit [Ping timeout: 264 seconds]
M-hrjet1 has joined #sandstorm
preilly_ has joined #sandstorm
<dwrensha> mnutt: my (admittedly limited) understanding was that webrtc would only use the server for coordinating a direct connection between peers. Is that not the case?
<mnutt> dwrensha: yeah what I was thinking of would most likely route through the server for reliability/containment reasons, but I may have misunderstood webrtc security
rollig has joined #sandstorm
nwf has quit [*.net *.split]
dcb_ has quit [*.net *.split]
rolig has quit [*.net *.split]
spangattack has quit [*.net *.split]
chris_severs has quit [*.net *.split]
M-hrjet has quit [*.net *.split]
tdfischer has quit [*.net *.split]
mrdomino has quit [*.net *.split]
preilly has quit [*.net *.split]
dlitz_ has quit [*.net *.split]
dvn has quit [*.net *.split]
rollig is now known as rolig
chris_severs_ is now known as chris_severs
preilly_ is now known as preilly
preilly is now known as Guest88471
Guest88471 has quit [Changing host]
Guest88471 has joined #sandstorm
Guest88471 is now known as preilly
itscassa|away has joined #sandstorm
nwf has joined #sandstorm
<XgF> dwrensha: WebRTC tries to form a direct connection
<XgF> dwrensha: Because of NATs that fails surprisingly often in which case you end up needing a TURN server to relay
<dwrensha> XgF: interesting, thanks
notevil has joined #sandstorm
<ckocagil> I need a guinea p-- I mean is anyone willing to test my ported app?
zeroish has joined #sandstorm
<asheesh> ckocagil: Sure maybe, what's the app?
<asheesh> Also sandstorm-dev the email list can be good for this too.
<asheesh> But I do love me some alpha testing.
<ckocagil> asheesh: dillinger. I can send the apk, or maybe you can allow me on your sandstorm? :-)
<ckocagil> s/apk/spk/
<asheesh> My preerence is you send me e.g. a filedrop of the SPK
<asheesh> +/- typos
<asheesh> : D out.spk
<ckocagil> I'm a huge out.spk fan
<asheesh> It's my favorite app too
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<asheesh> one-to-three-words
<ckocagil> not to compare it with classics like a.out, avsec01.dat or various artists
<ckocagil> I don't add the metadata until the app is done
* asheesh laughs out loud
<asheesh> Various Artists
<asheesh> Such a classic
<asheesh> Works great fwiw
<ckocagil> I know! Unknown track is fantastic
<dwrensha> does `vagrant-spk pack` use "out.spk" as the default name?
<ckocagil> nope, it require you to name it
<dwrensha> `vagrant-spk pack out.spk`
<ckocagil> asheesh: try sharing it
<asheesh> Only read-only sharing, seemingly
<asheesh> Which is maybe great
<asheesh> I guess since it has no collab features you were saying? so read-only makes sense to avoid catastrophic data loss
<asheesh> "Untitled Dillinger document" is a pretty reasonable grain title
<ckocagil> asheesh: yep, no collab at all
<asheesh> But you can see what I type, yeah?
<asheesh> Oh I can test that incognito brb
<ckocagil> asheesh: only when I refresh
<asheesh> Gotcha, yeah
<asheesh> I guess that's unusual for a Sandstorm app
<ckocagil> I don't want to add any more features to this app though.
<asheesh> So it surprised me when I experienced it (just now testing)
<asheesh> Yeah, I'm wondering if there's a way to make it clear
<asheesh> "PREVIEW" => "PREVIEW (you can refresh in your browser)"
<asheesh> ?
<asheesh> In the externally-shared view
<ckocagil> sounds good to me
<dwrensha> have we gotten to a point where "refresh page to see the latest version" is a non-intuitive thing?
<asheesh> Apparently for me we have
<asheesh> simonv3: Sorry that we confused you via the UI for upgrading plan.
<asheesh> I wonder if you have any suggestions on how we could make it less confusing.
<asheesh> Feel free not to have any advice, but if you do, I'll be happy to hear the advice.
<ocdtrekkie> ckocagil turn issues on your repo
<asheesh> I may wander off for a bit.
<simonv3> asheesh: It wasn’t really that confusing
<simonv3> I just wanted clarification
<simonv3> The answer to my question was what I expected to be the answer
XgF has quit [Read error: Connection reset by peer]
<simonv3> It might be an idea to say “upgrade plan” instead of this "Cannot start grain because owner's storage is exhausted. [402]"
<simonv3> You all need some better error pages :)
XgF has joined #sandstorm
<simonv3> And maybe instead of “Free during beta” something along the lines of “Free during beta - we won’t charge your card"
<simonv3> I would like to know about bandwidth though :)
<simonv3> This is kind of relevant to you all here I suspect: http://boingboing.net/2015/11/03/fighting-ubers-death-star-wi.html
<ckocagil> ocdtrekkie: woops, i thought that was on by default
funwhilelost has joined #sandstorm
<dwrensha> ckocagil: yeah, Github's issue tracker is off by default for forks
jacksingleton has joined #sandstorm
jadewang has joined #sandstorm
neynah has joined #sandstorm
jacksingleton has quit [Ping timeout: 260 seconds]
<ckocagil> neynah: hi!
<neynah> hi ckocagil!
<ckocagil> may I trouble you with another app store icon request?
<neynah> Yes! But it's no trouble at all. :D
<neynah> What would you like to request?
<asheesh> Various Artists - Out.spk.mp3
<ckocagil> neynah: I'm working on a port of http://dillinger.io/
<ckocagil> asheesh: speaking of out.spk, can I trouble you with another spk install? https://oasis.sandstorm.io/shared/CqJwa5PeTuJn0xZ5yq14PwrxBhJZxwq5j35jtw5WG4W
<asheesh> literal LOL for a second out.spk
<neynah> Wow! Great app. :D
<asheesh> BTW I need to make a "micro app store" app
<asheesh> I or someone
<asheesh> There's no point in me downloading this to my laptop when the next thing I do is upload it to a differnet server
<asheesh> +/ typos
<asheesh> ...that typo occurred because I'm making the 'net connection here packet-lossy
<asheesh> Still says "Preview" not "Preview (reload for whatever)" but OK
<asheesh> Is there a difference I should be able to perceive?
<ckocagil> nope, I made a workaround for MS Edge
<asheesh> Yay (-:
<asheesh> Weirdly when I update the doc and then reload the sharing link, I don't see the updated text
<asheesh> Can you repro that?
<ckocagil> the sync logic is actually horrible
<ckocagil> it saves every 5 seconds
<asheesh> I'm in tears (but only because of a cold)
<asheesh> Anyway I have waited >5 sec fwiw
<ckocagil> weird...
<asheesh> https://rose.sandcats.io/shared/q3XqX9ccKvRpA92h38IzVIdzRYi4aCk_T3pNbX8Nl_O should say "donuts" at the bottom but doesn't
<asheesh> I can double-check I'm on the new code by making a new grain
<neynah> Haha, under the settings gear on dillinger.io "WTF is Dillinger?"
funwhilelost has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ckocagil> asheesh: yeah I can repro. saving is broken. somehow.
<asheesh> Fascinating.
jacksingleton has joined #sandstorm
<neynah> thanks for linking your repos btw ckocagil, makes my life easier
offby1 has left #sandstorm ["ERC (IRC client for Emacs 25.0.50.2)"]
<neynah> ckocagil, there's a PR for you! :)
<ckocagil> that was fast!
<neynah> :D Feel free to poke me again for more icons. (That goes for everyone else as well)
funwhilelost has joined #sandstorm
<asheesh> TW ckocagil I don't see it (in the network tab) actually making any requests to do the save, weirdly
<asheesh> s/TW/BTW/
<ckocagil> asheesh: I fixed that. somehow.
<asheesh> Great!
<ckocagil> I'm thinking if I should do auto refresh every n seconds in read-only mode
<asheesh> The only reason not to is if it causes a page refresh rather than just a data refresh
<asheesh> If it causes a full page reload that changes scroll position on the page, then yuck IMHO
<ckocagil> I can do a data refresh, but I'm not sure about the scroll position
<zarvox> Thoughts on frontend styles - as we modularize our styles and try to reuse widgets, we wind up specifying dependencies to make the JS side of things happy, and specifying an duplicate, explicit, possibly-inconsistent load order (which needs to respect those dependencies) in the shell.scss's imports.
notevil has quit [Quit: Leaving]
<zarvox> No changes required for now, since it's not that much to keep track of at the moment, but something to be aware of as we try to DRY up frontend things and make reusable frontend components.
chris_severs has quit [Ping timeout: 240 seconds]
PMT has quit [Quit: leaving]
chris_severs has joined #sandstorm
<kentonv> btw mnutt you should consider posting a Show HN -- "Show HN: Davros: Dropbox-like file sync on Sandstorm". Link to app market page, or link to github and have its readme link to the app market page.
<mnutt> good idea. I should be linking to the app market page, maybe create a short screencast of getting syncing set up
<mnutt> sandstorm’s “demo this” functionality is really, really awesome
<kentonv> :)
<asheesh> (-:
<zarvox> Is there a way to invert a value in Blaze templates? I want to pass {{>appDetailsWidget ... showUninstall=!isAppInDevMode }}
<zarvox> but I appear to need to define another template helper to invert isAppInDevMode, which is itself a helper :/
<dwrensha> maybe offtopic: has anyone *ever* wanted "backspace" to mean "browse to the previous state in my browsing history"?
<zarvox> A lot of people see a key with a left arrow on it and infer that it must go back
<asheesh> Yeah, when I was an IE 4 user I used that all the time.
<zarvox> Thankfully this behavior is not the default on Linux
<zarvox> where instead you can use Alt-Left
<kentonv> zarvox: sure is the default in chrome
<asheesh> I think I learned Alt-Left Alt-Right from Netscape 4 on Linux, from the menu item listing the keyboard shortcut.
bb010g has quit [Quit: Connection closed for inactivity]
<zarvox> Oh, huh. Guess I'm a Firefox user through and through.
<gwillen> minor nit in the wekan port: it really insists that your sandstorm profile pic has a square aspect ratio
<gwillen> otherwise it squashes it
<dwrensha> maybe sandstorm should pad non-square profile images
<gwillen> that would fix it, yeah
simonv3 has quit [Quit: Connection closed for inactivity]
funwhilelost has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
funwhilelost has joined #sandstorm
<zarvox> Yeah, I guess most of the avatar services guarantee square aspect ratio, and let you pick the desired image size
<kentonv> dwrensha, gwillen: Sandstorm should do a bunch of image processing on avatars... but if we're going to process user-provided images on the server I want it happening in a sandbox, which makes it a non-trivial project.
<kentonv> actually what might even be easier would be to do the image processing in the user's browser before upload
<asheesh> Every Sandstorm ships with an imagemagick app which exports a capability to the shell!!!?
<kentonv> asheesh: probably more like what we do for zip/unzip right now.
<asheesh> I'm semi-joking, yeah.
jadewang has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
<gwillen> kentonv: understood
<gwillen> kentonv: are you already aware of the EXIF rotation issue, when you get around to doing this?
<kentonv> gwillen: no, what's that?
<gwillen> when you take a photo with a phone camera (or some other cameras), the pixels are oriented upright with respect to the image sensor, and an enum in the header describes the orientation of the image sensor with respect to gravity
<kentonv> right
<gwillen> desktop image editors generally respect that header and treat it as meaning which way the image is "actually facing"
<gwillen> browsers don't
<kentonv> ah
<asheesh> hopelessness ensues
<gwillen> because at some point chrome said "wontfix, that's not what that means"
<gwillen> so ff had to copy it
<gwillen> and it's set in stone now
<gwillen> yes, hopelessness indeed ensues
<ckocagil> wouldn't that have a very low priority anyway?
<gwillen> (this is extra weird to debug because chrome _does_ respect the EXIF tag when displaying an image in a browser window by itself, but NOT in an img tag)
jadewang has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
<kentonv> considering rotation of jpeg is lossless, it's sad someone decided adding metadata was a good idea
<gwillen> presumably they didn't want to have to compute the rotation while saving the image on the camera with its tiny CPU
<gwillen> (I didn't know it was lossless, that does make it sillier)
<ckocagil> I really don't think the overhead would be more than a hundred millisec or so
<ckocagil> if that
<kentonv> hmm, technically only lossless if the dimensions are multiples of 16 (or 8 in some cases). It seems like most standard dimensions would qualify but maybe that's a consideration.
<gwillen> that's huge if you're already limited by your ability to stream photos onto flash though
<gwillen> ahh, *nods*
chris_severs_ has joined #sandstorm
chris_severs has quit [Ping timeout: 264 seconds]
chris_severs_ is now known as chris_severs
jadewang has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
itscassa|away has quit [Ping timeout: 264 seconds]
jadewang has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
itscassa|away has joined #sandstorm
itscassa|away has quit [Excess Flood]
itscassa|away has joined #sandstorm
<XgF> dwrensha: I use backspace to go back all the time