<kentonv>
johndoe123[m], let's say your wildcard is *.example.com, and Sandstorm is at sandstorm.example.com. But you don't have *.sandstorm.example.com.
<johndoe123[m]>
TimMc: the link you just post about wildcard :)
<kentonv>
johndoe123[m], but you do have a reverse proxy handling *.example.com
<kentonv>
johndoe123[m], you can actually set your WILDCARD_HOST to something like ss-*.example.com
<TimMc>
Oh! I think you should be thanking kenton. :-)
<kentonv>
johndoe123[m], and then configure your reverse proxy to proxy anything starting with "ss-" to your sandstorm server
<johndoe123[m]>
oh yes, sorry, thanks kentonv , I just switch to Riot, I not yet used to the interface, sorry for the mistake
<kentonv>
thus you can have Sandstorm share the wildcard with your other sites
<johndoe123[m]>
kentonv: it's an idea yes. But I guess I will have to generate the new certifictate because I have a certificate for the domaine toto.titi.com and my domaine name is zzzzzz.com
<johndoe123[m]>
and my reverse proxy just transform zzzzzz.com/sandstrom in localhost:6080
<johndoe123[m]>
so I guess (in fact I hope ! ) when the wildcard certificate will be generated, it will stop to redirect to zzzzzz.com rather than zzzzz.com/sandstrom
<kentonv>
johndoe123[m], you'll definitely need to run Sandstorm on its own host, not as a subdirectory on some other host.
<johndoe123[m]>
oh ok, so I will make a DNS entry like sandstorm.zzzzz.com rather than zzzz.com/sandstrom
<ocdtrekkie>
That would work
<johndoe123[m]>
oh yes, and so I will not have the need to add the reverse proxy
<johndoe123[m]>
ok let's go for it ! :)
<johndoe123[m]>
I don't know why I didn't think about that earlier
<ocdtrekkie>
And then your wildcard would need to be *.sandstorm.zzzzz.com
<johndoe123[m]>
yes indeed
<kentonv>
or *.zzzzz.com, and use ss-*.zzzz.com for Sandstorm
<johndoe123[m]>
It's just that I have lot's of stuff zzz.com/transmission zzz.com/console ....
<johndoe123[m]>
*.sandstorm.zzzzz.com for my wildcard will be good
<johndoe123[m]>
I prefer to KISS
<johndoe123[m]>
(Keep It Simply Stupid)
<johndoe123[m]>
thank you kentonv and ocdtrekkie :)
<kentonv>
no problem!
<ocdtrekkie>
Well, if you ever need a real world bikeshedding example... the new Apple Campus: "Debate over what doorknobs should look like went on for over a year and a half"
<kentonv>
well obviously they should have had star-trek-style auto-opening doors
<kentonv>
no knobs, but a sort of defibrillator-looking device stashed in a hatch next to each one that can be used to pull them open if they break down. Which they would all the time because Apple.
<ocdtrekkie>
I assume all the external doors are automatic, because it also talks about in the article that Apple was absolutely set on there not being even a :slight: raise between the outer ground level and the inside floor on a doorway. Because any adjustment in one's gait entering the building could disrupt thought processes or something.
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aldeka_limechat has quit [Remote host closed the connection]
leeola has quit [Quit: Connection closed for inactivity]
<strugee>
ocdtrekkie: (presuming you're ocdtr_web?) believe it or not I actually find Material Design quite nice
<strugee>
I liked the 4.0-4.4 Holo UI too though
<strugee>
I still miss it sometimes
mnutt_ has joined #sandstorm
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mnutt_ has joined #sandstorm
<ocdtrekkie>
strugee: I am the same. I loathe Material, mostly for it's poor use of space.
<ocdtrekkie>
Also, it seems like Google is explicitly designing their OS for poor battery and performance. There's no reason in an age of Super AMOLEDs being common for a stubborn insistence on bright white screens everywhere possible (black is preferance for night use too, but battery in general).
HeyItsMeUrIRC has joined #sandstorm
<ocdtrekkie>
And one of their recent bragging points was about UI animations that used the GPU and ran at like 60 FPS, and there's just no good justification for that.
<ocdtrekkie>
HeyItsMeUrIRC: Yo, I had a link for you.
<HeyItsMeUrIRC>
YOU *points at you*
<HeyItsMeUrIRC>
what shall it be
<ocdtrekkie>
I keep track of apps people are either currently porting or have tried porting, but isn't on the app market yet. IRC Idler and it's binary URL are in it.
<HeyItsMeUrIRC>
okay now I know something like pastebin is being ported
<HeyItsMeUrIRC>
I was going to start on hastebin
<ocdtrekkie>
I do not think it was ever finished in that case.
isd has joined #sandstorm
<ocdtrekkie>
You might want to check out the repo and see how far they got with it. The last update was 10 months ago.
<HeyItsMeUrIRC>
tfw no buildbots
<isd>
So, I'm working on the go.sandstorm libs, and I'm hitting this error on the console when trying to run one of the examples: http://pastebin.com/Lbr17PgB
<isd>
I built an spk and verified that the file in question is in fact there.
HeyItsMeUrIRC_ has quit [Ping timeout: 252 seconds]
<kentonv>
mnutt_ :D
TC04 has joined #sandstorm
pdurbin has quit [Ping timeout: 252 seconds]
TC01 has quit [Ping timeout: 252 seconds]
dcb has quit [Ping timeout: 252 seconds]
<mnutt_>
I think I have the schema file set up properly, now to actually test it
<kentonv>
Note: That document is probably full of typos.
TC04 is now known as TC01
<kentonv>
but yes, full documentation on app-to-app powerbox is now live!
aeternity has quit [Ping timeout: 240 seconds]
dcb has joined #sandstorm
pdurbin has joined #sandstorm
<ocdtrekkie>
And I found a typo in it! :D
<isd>
huzzah, irc-idler is fixed.
<mnutt_>
so in creating a request, I specify ApiSession's id (describing the interface I'm going to use, in this case http) and a value that matches the PowerboxTag type I'd like to receive (in the example, a calendar
<isd>
I think
<dwrensha>
isd: you figured out what was going wrong?
<isd>
With the thing I was just talking about? No.
<mnutt_>
is it expected that I'd generate a new query for every powerbox connection I establish?
<isd>
separate issue
<kentonv>
mnutt_, in most cases you have one static query string that you use every time
<mnutt_>
I originally had a crazy idea that someone might be able to establish a powerbox connection client-side, but as I think about it more, it likely isn't feasible
<mnutt_>
just to make requester implementations super easy with a js library or something
<kentonv>
mnutt_, yeah, I dunno, maybe we could support something like that someday, but not today
<mnutt_>
got it
isd2 has joined #sandstorm
<kentonv>
mnutt_, though maybe sandstorm-rawapi-example should be extended to support some sort of proxying of requests, so that a 100%-client-side app building on it can take advantage....
isd2 is now known as isd
<isd>
Ok it's not fixed. Seems to just be working on OFTC, which is weird.
<mnutt_>
that would be interesting. I'm probably getting ahead of myself but I'm just thinking of what a tutorial would look like for "you want to port a sandstorm app and you want access to a user's files, you can add it in these three steps"
<dwrensha>
isd: I tried running your example app on some old versions of sandstorm and I got the same error
<isd>
hrm.
<isd>
I'm really not sure what to try next. The file is clearly there.
<isd>
It dies too quickly to do an enter-grain
<dwrensha>
isd: I'm not seeing a "ipNetwork-hello" file
<dwrensha>
just a main.go
<dwrensha>
is there a build step that I'm missing?
<isd>
dwrensha: you have to build outside the vm
<isd>
go build should do it, assuming you've got your GOPATH set up correctly
<dwrensha>
oh heh, I'm not gonna try that
<dwrensha>
installing go does not sound fun
<mnutt_>
"install this js lib, call requestFile(function(file) { })"
<isd>
It's never been that bad in my experience
<isd>
what platform are you running on?
<isd>
(I didn't bother putting it in build.sh basically because it's generally that easy.
<isd>
dwrensha: If I post the spk I built somewhere, can you test it?
<HeyItsMeUrIRC>
sometimes the whole '/var/-is-the-only-thing-you-can-write-to' thing is a PITA
ecloud is now known as ecloud_wfh
<ocdtrekkie>
Well, the whole point is stuff like mkdir /opt/app/bin should never be run when the app loads, because it should already exist.
jemc has joined #sandstorm
<ocdtrekkie>
If it didn't give you the error now, if it let you do it, you would probably let it, and the app would try to run those installation-type steps every time someone made a file, which would be bad.
HeyItsMeUrIRC has quit [Ping timeout: 240 seconds]
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Aurelius has quit [Ping timeout: 240 seconds]
Aurelius has joined #sandstorm
wolcen has joined #sandstorm
jemc has quit [Ping timeout: 240 seconds]
wolcen has quit [Ping timeout: 240 seconds]
Lionel_Debroux_ has quit [Ping timeout: 240 seconds]
dagelf has quit [Remote host closed the connection]
dagelf has joined #sandstorm
elensil has joined #sandstorm
JonTheNiceGuy[m] has joined #sandstorm
<JonTheNiceGuy[m]>
Hey mnutt, just to let you know, I created a PR yesterday to bubble up that Davros does WebDav in the "clients" page :) I resorted to using my OwnCloud instance instead for a thing, instead of Davros because I couldn't see how to squirt a file at it.
<JonTheNiceGuy[m]>
I should note, it's just a template change, and I've not tested it locally, so I don't know whether it does what I think it will do, but it seems like it probably should :)
astuce has quit [Remote host closed the connection]
harish has quit [Ping timeout: 240 seconds]
jadewang has quit [Remote host closed the connection]
afuentes has joined #sandstorm
wolcen has joined #sandstorm
wolcen has quit [Ping timeout: 240 seconds]
wolcen has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
neynah has quit [Ping timeout: 260 seconds]
wolcen has quit [Ping timeout: 240 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 240 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 264 seconds]
TC02 has joined #sandstorm
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
zopsi has quit [Ping timeout: 252 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 245 seconds]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 240 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
bennyw has joined #sandstorm
bennyw has quit [Client Quit]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 240 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
leeola has joined #sandstorm
harish has joined #sandstorm
<leeola>
If i wanted to have a central datastore for several apps, would that be possible in Sandstorm? Eg, i wrote my own versioned content addressable datastore and would like to write several apps ontop of it. I'm looking at Sandstorm as a possible solution for this.
<leeola>
I suppose i could have one instance of the datastore per app, but that seems a bit silly on a content addressable world
jemc has joined #sandstorm
<leeola>
Hmm, an IRC bouncer app would be nifty too, surprised there isn't one
<leeola>
Why is it not an app on the market? Out of curiosity
wolcen has joined #sandstorm
<leeola>
Also i think i'd want a UI/UX more like what IRCCloud offers, but that is a start
isd has joined #sandstorm
<zarvox>
leeola: it requires admin network permissions, so it won't work on Oasis (where we don't give out raw network access), so for many users it wouldn't work correctly if it were on the app market
<leeola>
Ah gotcha. So something like an IRC bouncer/client wouldn't work, because there's no way to give out constant internet access?
<isd>
leeola:
<isd>
correct
<isd>
(I am the author of such a thing)
<isd>
Though, apps can respond to powerbox requests now, right? I suppose someone could write an app that offered ipNetwork, and you could rig up something weird with a websocket and hooking into some other machine's network (maybe on a PaaS or such). Though that's a rather complex solution
jadewang has joined #sandstorm
mnutt_ has joined #sandstorm
<isd>
I did manage to fix the problem I was having last night. Built it with the system go instead of the one from nix.
TheJH has quit [Ping timeout: 252 seconds]
jadewang has quit [Ping timeout: 260 seconds]
mnutt_ has quit [Ping timeout: 245 seconds]
TheJH has joined #sandstorm
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 240 seconds]
elensil has quit [Quit: Leaving.]
aldeka_limechat has joined #sandstorm
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 240 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
Lionel_Debroux_ has joined #sandstorm
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 255 seconds]
syb has joined #sandstorm
<syb>
Hey! I have a Sandstorm instance installed on a server. Is there a way to increase the maximum size of the files to upload? Actually it is set to 2 Mib.
afuentes has quit [Ping timeout: 264 seconds]
FredFredFred has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 256 seconds]
prettyvanilla has quit [Quit: Konversation terminated!]
prettyvanilla has joined #sandstorm
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
mnutt_ has joined #sandstorm
ocdtr_web has joined #sandstorm
<ocdtr_web>
isd: People do keep asking for your app though. I wonder if it's worth submitting with a clearly marked description that it doesn't work unless you are the admin of the Sandstorm server you install it on.
<ocdtr_web>
kentonv said the reason it wasn't on the market before was simply that you have never submitted it, IIRC.
<ocdtr_web>
Android apps which require root are often in the market, and visible to devices which are not rooted. But they're clearly marked in the description that they require root.
<ocdtr_web>
syb: What are you trying to upload? There is not a 2 MB upload limit on either grains or apps, AFAIK.
<mnutt_>
I saw in the logs there was a mention of a sandstorm-the-startup-winding-down/sandstorm-community party. I'd totally fly out for that, given 2-4 weeks' notice
<ocdtr_web>
mnutt_: Awesome! Hopefully a date can be set with time for both of us to schedule.
<neynah>
ocdtr_web: Yeah, I spent some time poking at it and decided to approve it. :)
<ocdtr_web>
I had tested the first version of it, and it seemed sensible, and the whole powerbox project Kenton's working on is supposed to tie into it and such.
<johndoe123[m]>
so now I have setup a subdomain for sandstorm.exemple.com, I have created a wilcard certificate for *.sandstrom.exemple.com, my reverse proxy does the translation between / and http://localhost:6080/ I have 2 DNS entry, one for sandstrom.exemple.com and an other for *.sandstorm.exemple.com but I still get my WILDCARD_HOST misconfigured error :/
<johndoe123[m]>
and I have configured sandstorm.conf with the right BASE_URL and WILDCARD_HOST I think
<johndoe123[m]>
someone have a clue how I can resolve my problem please ?
<TimMc>
What do those vars look like in your config? It's important to make sure e.g. the ports match.