<MatheusRV>
@JonTheNiceGuy but kiwirc is booring .. move to mattermost or rocket.chat it incentivate the project.. my english is trash.. i use gramatic and here it does not work
MatheusRV has quit [Client Quit]
<pdurbin>
MatheusRV: which one do you prefer, mattermost or rocket.chat?
nicoo has joined #sandstorm
efishta has quit [Ping timeout: 246 seconds]
wolcen has joined #sandstorm
<kentonv>
MatheusRV, you don't have to use kiwi... you can use any IRC client. Arguably we should switch to Rocket.Chat on Sandstorm, but a lot of people who are happy to keep a channel open in IRC won't be as happy to keep a browser tab open for us. :/
jemc has joined #sandstorm
<compuguy>
kentonv: you can also self host thelounge
funwhilelost has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
funwhilelost has joined #sandstorm
funwhilelost has quit [Client Quit]
wolcen has quit [Ping timeout: 240 seconds]
<ocdtrekkie>
kentonv: Did you by chance see the Content-Range question on the list in the Kiwix thread?
Aurelius has quit [Quit: Aurelius]
ill_logic has quit [Quit: ill_logic]
TC02 has quit [Ping timeout: 264 seconds]
TC02 has joined #sandstorm
_whitelogger has joined #sandstorm
_whitelogger has joined #sandstorm
jemc has quit [Ping timeout: 240 seconds]
IRCFrEAK has joined #sandstorm
IRCFrEAK has quit [K-Lined]
jadewang has quit [Remote host closed the connection]
NwS has joined #sandstorm
jadewang has joined #sandstorm
Telesight has joined #sandstorm
harish has quit [Read error: Connection reset by peer]
harish has joined #sandstorm
Telesight has quit [Remote host closed the connection]
samba_ has joined #sandstorm
samba_ has quit [Ping timeout: 260 seconds]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Ping timeout: 240 seconds]
matheusrv has joined #sandstorm
<matheusrv>
I agree with @compuguy The Lounge is perfect solution..
<TimMc>
Yeah, definitely wouldn't keep a browser tab open for this. It's not worth the tens of MiBs of memory that would require. :-P
<matheusrv>
TheLounge is a self-hosted IRC server.. if you prefer use the IRC client no problem
<TimMc>
Ah, OK.
<matheusrv>
i think in change for the lounge cause the chat isnt clear everytime you enter
<pdurbin>
I use Shout, the previous version of The Lounge, to make it easy for my users to join my projects IRC channel, and people use it a lot. Without it, I think I'd have way less participation in IRC.
<matheusrv>
and the chat could flow with this
<TimMc>
IRC bridges are fine by me, as long as they work...
<matheusrv>
@TimMc do you know Franz? www.meetfranz.com is a nice away to run from tabs
<TimMc>
ehhhh, don't need more apps
<TimMc>
One of the important things about IRC is that I can run it on my home server, and I can be logged into that from either home or work.
<mrdomino>
kentonv: what's the rationale behind having a Runnable on the cron interface, rather than just waking up the grain?
<kentonv>
mrdomino, well, two reasons. First, if Sandstorm only woke up the grain, the grain would have to have its own possibly-complicated logic to figure out what tasks are scheduled. Having Sandstorm call it is a lot more convenient for app developers.
<kentonv>
mrdomino, second, Sandstorm needs some way to know when it's safe to shut the grain down again
<mrdomino>
ok, great
<kentonv>
mrdomino, also keep in mind that we want to display some information in the notifications UI about scheduled tasks. Hmm, it occurs to me that my API proposal doesn't include any display info...
<mrdomino>
yeah, i was wondering if that'd be included later on
<mrdomino>
i'm noticing some confusion about how you'd get a runnable to persist across grain runs, but maybe i just haven't looked closely enough at it
<kentonv>
mrdomino, it would need to implement the AppPersistent interface, and the app's MainView needs to implement restore()
<mrdomino>
okay, so capnproto generic types make a little more sense now... i have a question that's something like "how do you specify what AppObjectId is?" or "how do you implement AppPersistent over a Runnable?" although both of those might be resolvable by staring at the code longer
<kentonv>
mrdomino, AppObjectId is entirely up to the app. It can specify whatever type it wants to use to identify objects. Sandstorm obtains these values by calling save() on AppPersistent objects and then sends the value back to the app when calling MainView.restore().
<kentonv>
mrdomino, to have one object implement both interfaces, you'll want to create a capnp file with a definition like "interface MyRunnable extends(AppPersistent(MyObjectId), Runnable) {}"
<kentonv>
then implement that interface in your app code
<kentonv>
(or instead of "MyRunnable" I might name it "PersistentRunnable" -- you can see versions of this pattern in the various -impl.capnp files in the Sandstorm source tree)
<mrdomino>
ok, great
<mrdomino>
i can't yet see how i'd thread that all the way into a bridge definition to expose the API to general-purpose webapps, but i think i have enough to start a first pass
<mrdomino>
(i mean, i probably will have more questions, but this is helpful)
<kentonv>
mrdomino, for sandstorm-http-bridge, you'll want to build on the object ID format it defines for HTTP API purposes. Probably you'll introduce a new type of object ID which acts like a webhook of sorts. http-bridge would implement a Runnable which, when called, makes an HTTP request against the app.
<kentonv>
in order for the app to set up the recurring event in the first place, I suppose we'd need to expose a new HTTP API on the internal-facing HTTP proxy, for the app to call to. See the docs on powerbox HTTP APIs...
Darude has joined #sandstorm
<Darude>
Hi there. Can anyone advise me on the simplest way to set up a limited number of user accounts and disallow all other logins. I understand this has to be via an authentication provider of some kind.
<Darude>
Would self-hosting some kind of simple LDAP be the easiest method?
<TimMc>
Darude: You also want to disallow creation of sharing links?
<TimMc>
Because if not, you could just rely on how Visitor accounts can't create grains.
<kentonv>
Darude, send invites via the admin panel to the people you want to have accounts. Anyone else will only be "visitors", meaning they can't see anything unless a real user shared with them.
<kentonv>
Darude, if you want to prohibit your users from sharing with visitors, then you'll need to set up an organization and choose the "disallow collaboration with people outside the organization" option. For this purpose, LDAP may be the way to go, unless all your users happen to be under a single e-mail domain already.
<Darude>
Thanks for the advice. I'm having trouble completing the final set-up stage now. Whenever I try to create an account with Google at the 'Admin account' stage of set-up I'm constantly being redirected to the same page, only to repeat those steps again with the same result. I've tried Chrome and Firefox, both without any extensions.
<Darude>
Never mind, I figured out the issue. I had ticked the "disallow collaboration with people outside the organization" option without configuring an organization, meaning the OAuth request looped back to the set-up page instead of making me an admin.
Telesight has quit [Remote host closed the connection]
jadewang has quit [Remote host closed the connection]