<asheesh>
Oh, but I guess the WebKey button does *also* use the host-specific subdomain, so never mind.
<asheesh>
Yeah, so offer templates aren't important; using the host-specific subdomain is something you can do via the webkey button.
<asheesh>
frew: Can you explain why you think it's needed to add something to the whitelist? It could be "merely" a UX bug where the TTRSS app implied you should sync it one way, which is not the real way.
<dwrensha>
asheesh: I suspect it's because of a doc comment in proxy.js
<asheesh>
frigginglorious: You're gone but https://docs.sandstorm.io/en/latest/search.html?q=BIND_IP might be useful; the first hit is in some relatively new docs that explain the full meaning of the various possible sandstorm.conf entries.
<asheesh>
frew: re: "the TTRSS mobile app which doesn't know about the extra Authorization header" - you can use HTTP BASIC auth.
<asheesh>
re: weechat etc: One option is to bind to a TCP port, which Sandstorm will eventually (soon?) let you do, on a per-grain basis, with a prompt to the user.
<asheesh>
Another option is to layer the weechat protocol on top of HTTP WebSockets where authorization is handled by Sandstorm. I think this option is really good, if you can get away with it.
<asheesh>
re: importing data into grains: The best options I have for you, for now, are (a) manually monkey with a grain backup, see https://docs.sandstorm.io/en/latest/administering/backups/#to-back-up-one-individual-grain for details (b) use built-in import/export within the app (c) connect to the grain's private storage at /opt/sandstorm/var/grains/{{grainId}}/sandbox but be careful if you do that.
<cmr>
I have embedded Share links to some of my other grains into a DokuWiki grain. However, when clicking those links, it either (a) does seemingly nothing, or (b) loads a blank page. Help?
sydney_untangle has quit [Ping timeout: 260 seconds]
jadewang has quit [Remote host closed the connection]
sydney_untangle has joined #sandstorm
frigginglorious has joined #sandstorm
sydney_u1tangle has joined #sandstorm
sydney_untangle has quit [Quit: leaving]
sydney_u1tangle is now known as sydney_untangle
<asheesh>
cmr: Hi! Hmm. Do you see any error logged in the JS console?
<asheesh>
You might need to make them target=_blank links, which is arguably a DocuWiki bug that it doesn't.
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
Mitar has quit [Ping timeout: 240 seconds]
frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
halindrome has quit [Ping timeout: 276 seconds]
halindrome has joined #sandstorm
<cmr>
asheesh: I get a bunch of errors in the JS console, the one that looks relevant is an X-Frame_options denial for the share link ("<link> does not permit framing")
<cmr>
asheesh: So, yes it looks like exactly that issue.
<cmr>
asheesh: As a grain owner, is there any quick fix for this?
<frew>
well this is exciting; I think I can replace my linode with sandstorm and also not have to like... deal with a vm anymore :)
jadewang has joined #sandstorm
jadewang has quit [Remote host closed the connection]
frankier has joined #sandstorm
rolig has quit [Ping timeout: 260 seconds]
Mitar has joined #sandstorm
rolig has joined #sandstorm
msoucy has quit [Ping timeout: 260 seconds]
msoucy has joined #sandstorm
frankier has quit [Ping timeout: 276 seconds]
frankier has joined #sandstorm
halindrome has quit [Ping timeout: 240 seconds]
halindrome has joined #sandstorm
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
ocdtrekkie has joined #sandstorm
aldeka has joined #sandstorm
frankier has quit [Ping timeout: 244 seconds]
digitalcircuit has quit [Remote host closed the connection]
digitalcircuit has joined #sandstorm
dograt has quit [Quit: No Ping reply in 180 seconds.]
dograt has joined #sandstorm
rgrinberg has joined #sandstorm
rgrinberg has quit [Client Quit]
rgrinberg has joined #sandstorm
sydney_untangle has quit [Remote host closed the connection]
frankier has joined #sandstorm
aaronr has joined #sandstorm
aaronr has left #sandstorm [#sandstorm]
aldeka has quit [Remote host closed the connection]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
pdurbin has quit [Quit: WeeChat 0.4.2]
pdurbin has joined #sandstorm
halindrome has quit [Ping timeout: 244 seconds]
halindrome has joined #sandstorm
sydney_untangle has joined #sandstorm
frankier has quit [Ping timeout: 250 seconds]
frigginglorious has joined #sandstorm
frankier has joined #sandstorm
<mrdomino>
asheesh: re my earlier thing on the flight fund sandstorm app, we're currently planning to do it non-sandstorm because it's basically just a big ball of API integrations
frigginglorious has quit [Quit: frigginglorious]
amyers has joined #sandstorm
amyers has quit [Remote host closed the connection]
jemc has joined #sandstorm
<asheesh>
Howdy all
<asheesh>
mrdomino: Yeah, I can see why you'd pick that for now. OK!
frigginglorious has joined #sandstorm
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
gambatte has joined #sandstorm
gkoz has quit [Read error: Connection reset by peer]
gkoz has joined #sandstorm
sydney_untangle has quit [Quit: bbl]
amyers has joined #sandstorm
<ocdtrekkie>
So, possible concern about GBrh.
<ocdtrekkie>
An anonymous user has had my Wekan open for like five days.
<cmr>
seems like the solution to that, if the resource drain becomes problematic, is revoke the link they're using and be more careful about handing out sharing links.
<asheesh>
FWIW I have come to dislike GBrh even though I know that metered pricing is theoretically important to us, or something.
<kentonv>
ocdtrekkie: eventually we plan to shut down grains that are open but not actively being used, which will probably solve the "opened a tab and left it in the background forever" issue
<asheesh>
It seems like GBrh is our problem, not the user's problem, unless we're selling a service to developers, basically.
Jan\ has joined #sandstorm
<asheesh>
But anyway.
<asheesh>
Yeah +1 to kentonv's idea.
<kentonv>
We might also "subsidize" sharing, since we like sharing.
<kentonv>
and, yeah, you'll be bale to see what grains are using a lot of resources so that you can decide to do things like revoke links
rustyrazorblade has joined #sandstorm
<ocdtrekkie>
cmr: It's a public link I want to be public, so revoking the link would be bad. And mean to lots of people.
<ocdtrekkie>
kentonv: Shutting down grains not actively being used would be cool.
<kentonv>
also snappy-start will make grains take much less RAM, so it may turn out CU are mostly irrelevant
rustyrazorblade has quit [Quit: rustyrazorblade]
sydney_untangle has joined #sandstorm
rustyrazorblade has joined #sandstorm
astraw has joined #sandstorm
rustyrazorblade has quit [Quit: rustyrazorblade]
astraw has quit [Client Quit]
amyers has quit [Ping timeout: 276 seconds]
amyers has joined #sandstorm
amyers has quit [Ping timeout: 272 seconds]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
ocdtrekkie has joined #sandstorm
aldeka has joined #sandstorm
<frew>
kentonv: how would something like, say, TTRSS work if it were shut down with no tabs open?
<frew>
would you add some kind of scheduler option to be able to have the grain run a task periodically (maybe hourly?)
<frew>
so I had assumed that Filippo Valsorda somehow got piwik on the same domain as his blog, with sandstorm
rustyrazorblade has joined #sandstorm
<frew>
but he didn't, which I figured was why ad blockers wouldn't use the google tracker, as opposed to a simple blacklist
<frew>
oh also, I meant to mention
<frew>
the TTRSS people say that it should be faster / more efficient when run on Pg instead of MySQL
<frew>
but I suspect that because a non-zero number of people already use TTRSS on sandstorm with MySQL a switch is... hard
<frew>
I don't care a lot but it's something to think about.
<kentonv>
both are horribly heavyweight for Sandstorm. sqlite would be best.
<frew>
I know
<frew>
I was surprised that the free tier allowed them to be used
<kentonv>
well they'll eat a bunch of storage, which is heavily limited in the free tier
<frew>
fwiw my personal TTRSS on my linode never went over 150M for feeds iirc
<frew>
and I susbscribe to a lot
<frew>
but yeah I hear you
<frew>
I bet I could use AWS Lambda + their cron thing as a shim before atd/cron are integrated into sandstorm
<cmr>
speaking of free tier, when will my subscription actually start putting money in your coffers? it makes me feel bad ;)
tdfischer has quit [Ping timeout: 260 seconds]
tdfischer has joined #sandstorm
rustyrazorblade has quit [Quit: rustyrazorblade]
<cmr>
dwrensha: the sharelatex app seems to be missing large swathes of texlive.
isd has joined #sandstorm
<cmr>
notably, algorithmicx and biblatex.
<dwrensha>
cmr: hm. Looks like I can pull those in with the archlinux packages texlive-bibtexextra and texlive-science
<dwrensha>
which are mercifully smallish
<cmr>
I always use the texlive-most metapackage on Arch, but smallish is not a word I'd use to describe it ;)
<cmr>
err, group, not metapackage.
<dwrensha>
yeah, I'd pull in everything, but I think that would make the sharelatex spk huge
<isd>
So, I know sandstorm is supposed to do stuff with randomized domain names, but I'm noticing browsing my sandstorm instance that it doesn't seem to have any subdomain of the main domain in the URL bar at all. What gives?
<kentonv>
isd: it's all hidden in an iframe
<kentonv>
each grain is inside an iframe pointed to a random subdomain
<cmr>
dwrensha: if I open a PR, does that help any?
<dwrensha>
I should probably vagrant-spk-ify sharelatex, so that this kind of change would be trivial
<dwrensha>
right, once it's moved to vagrant-spk, you would be able to open a PR that adds some packages
<cmr>
ah
<dwrensha>
but today, unfortunately, it's rather tied to the config on one particular machine I have
<isd>
kentonv: ah, I see.
<isd>
related random UX observation: the fact that the URL path is also hidden behind the iframe is in some ways annoying, since it makes it not possible to e.g. bookmark links to specific pages within an app.
<cmr>
isd: I also observed this when trying to link someone to a specific page in a DokuWiki grain.
<isd>
Unrelated: is there a writeup somewhere of what an app actually needs to to offer a web UI via the sandstorm API directly?
<cmr>
isd: The comments inside of the various .capnp files are good.
<isd>
I'm figuring it out bit by bit (and I'm currently blocked on what appears to be a limitation in go-capnpc), but it would be nice to have a summary of that out there.
<cmr>
Or, as good as I've been able to find.
<kentonv>
there is actually an API by which multi-page apps can adjust the path displayed in the address bar (they can control anything after the grain ID) so that you can bookmark specific pages
<kentonv>
MediaWiki uses it
<isd>
cmr: yeah, they are; I'm managing, it's not that bad, but it'd be nice if a basic hello-world setup was described as a whole.
<isd>
cmr: given that I'm currently building the go bindings to the API I suspect not, but wasn't looking for language specific things.
<cmr>
Ah :)
<isd>
cmr: thanks for the link.
<kentonv>
isd: what do you mean about "building the go bindings to the API"?
<isd>
kentonv: Nicely packaged generated capnproto code (so you can just link to it, instead of rigging up the build goop yourself), plus some convienence stuff
<kentonv>
was worried you might be working on another Go Cap'n Proto implementation. :)
<isd>
kentonv: no, I'm using Rich Light's.
<asheesh>
cmr, isd: For better or for worse, "Navigating to paths within a grain" and "Updating the URL & page title from your app" at https://docs.sandstorm.io/en/latest/developing/path/ indicate some stuff related to what you're saying.
<ocdtrekkie>
cmr: I think they are going to start charging for Oasis when it's no longer a "beta". Mind you, if they sold Sandcat merchandise, I think they could support the entire thing on that alone. Because I'd buy Sandcats for everything.
_iwc_ is now known as _iwc
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]