prettyvanilla has quit [Ping timeout: 264 seconds]
frigginglorious has joined #sandstorm
jemc has quit [Ping timeout: 244 seconds]
frigginglorious has quit [Quit: frigginglorious]
dwrensha has joined #sandstorm
<eternaleye>
kentonv: To revive a months-old discussion, in which I wondered about ways in which the pointer-chase limit heuristic could be revised to a guarantee-of-termination, I just had a thought - could the forwards/backwards pointers always carry with them an "extent", referring to the space the pointee is allowed to carry pointers into, that must-shrink with each dereference?
<eternaleye>
Would bloat every pointer by possibly 3x, but might be interesting for some use cases
<kentonv>
eternaleye: I think you'd also need to prohibit sibling pointers from having overlapping extents to get meaningful protection, but that would pretty much force the message to be constructed either in pre-order or post-order, whereas currently you can interleave modifications to multiple branches
<eternaleye>
Hm, yeah, I hadn't fully considered the sibling pointers concern - I'd thought that "pointee not in its own extent" being permitted would handle the nonoverlapping case, but now I'm realizing that any tree beyond two levels doesn't quite work with that
<eternaleye>
Hm, although, a more general rule (a pointee carries a "set of extents" that just be a strict subset of its parent's set of extents) may work
<eternaleye>
*must be
<kentonv>
it's probably easiest to require strict pre-order or strict post-order. That's easy to enforce and doesn't require any extra info in the message body.
<eternaleye>
Yeah
<kentonv>
but it means code has to be written in a certain way
<eternaleye>
I wonder if strict pre- or post-order is easier to write. I presume the former means the message must be built "top down" and the latter "bottom up"?
<kentonv>
you'd probably end up with something that looks like SBE, actually
<kentonv>
right
<eternaleye>
Kind of suspect post-order would be very natural for FP languages
<kentonv>
yes, probably
<kentonv>
but I've found pre-order useful many times, too. It depends on the use case.
* eternaleye
ponders the crazy thought of a Cap'n Proto implementation in Morte
<kentonv>
either way, though, being forced to order your code according to the order of the fields is likely to be annoying
<kentonv>
in fact it would be a big problem in functional languages where you'd really like to avoid specifying an order in which seemingly-unrelated computations occur
<kentonv>
you'd need to do everything in monads, I suppose
<kentonv>
to be fair, you probably have to do that anyway for Cap'n Proto in the absence of some huge magic
<eternaleye>
Arrows could work, too
* eternaleye
likes their more function-like composition behavior
dullthursday has joined #sandstorm
<dullthursday>
hello, I have a few n00b questions about developing a sandstorm.io app
<dullthursday>
i'm used to the traditional model of getting the database all together and deploying those scripts that separating from the app itself
<dullthursday>
how do it convert this model into the sandstorm.io model with self deployments without reworking the scripts
<dullthursday>
i'll be doing a php - mysql setup
<kentonv>
Hi dullthursday! On Sandstorm, you would include MySQL as part of your package -- it runs in the container with your web server. There is a tutorial here which uses an nginx-php-mysql arrangement: https://docs.sandstorm.io/en/latest/vagrant-spk/packaging-tutorial/
sydney_untangle has quit [Ping timeout: 264 seconds]
sydney_untangle has joined #sandstorm
Lionel_Debroux has joined #sandstorm
Lionel_Debroux_ has quit [Ping timeout: 276 seconds]
ecloud_wfh is now known as ecloud
lukexj has quit [Quit: Leaving]
lukexj has joined #sandstorm
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dwrensha has joined #sandstorm
jemc has joined #sandstorm
frigginglorious has joined #sandstorm
rickshawjim has joined #sandstorm
rickshawjim has quit [Client Quit]
mnutt has joined #sandstorm
Telesight has joined #sandstorm
* asheesh
waves, morning
<JonTheNiceGuy[m]>
Evening ;)
<asheesh>
Random thought: Maybe we should rename "grain" to "activity"
<asheesh>
Except then the list on the sidebar would say "Activities" and maybe that's not great.
<asheesh>
I also mulled over wanting to rename "grain" to "item".
<JonTheNiceGuy[m]>
Or content?
<asheesh>
"Content" is interesting
<asheesh>
"New {{appName}} content" is a little odd though for a default noun phrase for apps
<asheesh>
OTOH "Create {{appName}} content" is maybe OK.
<asheesh>
A little odd still I think.
<JonTheNiceGuy[m]>
Really? "New WordPress content"
<JonTheNiceGuy[m]>
"new etherpad content"?
<asheesh>
"New Rocket.Chat content" is a little weird, but after all, they can pick their own sensible noun phrase (-:
<theSoenke>
what about instance?
<theSoenke>
"New Rocket.Chat instance" sounds good i thing
bodisiw has joined #sandstorm
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
sydney_untangle has quit [Read error: Connection reset by peer]
mnutt has quit [Ping timeout: 276 seconds]
sydney_untangle has joined #sandstorm
sydney_untangle has quit [Read error: Connection reset by peer]
<asheesh>
Whatever word we switch "grain" to, it should presumably also work as a plural noun on the left side. I think "Instances" as a user-facing navigation item is more technical than I think I want users to be seeing frequently for their Etherpads.
sydney_untangle has joined #sandstorm
jemc has quit [Ping timeout: 276 seconds]
<Lord>
grain is nice
<Lord>
it's not technical. it means something which starts empty then grow with content
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
[d__d] has quit [Remote host closed the connection]
[d__d] has joined #sandstorm
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
[d__d] has quit [Remote host closed the connection]
[d__d] has joined #sandstorm
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
au has quit [Remote host closed the connection]
bodisiw has quit [Quit: Leaving]
jemc has joined #sandstorm
<frew>
asheesh: fwiw I agree. Even as a technical user I always get confused about which is which.
<frew>
instance is more clear to me, but I suspect the lay person would think of an app like an app on their phone and that is also an instance
<frew>
asheesh: it might be reasonable to consider making the left bar, if the user has few enough, simply list the instances
_whitelogger has joined #sandstorm
<JonTheNiceGuy[m]>
Or at least, your most recent X
<frew>
yeah good idea
<JonTheNiceGuy[m]>
But, it should be configurable. Option to turn off should be key. Imagine you work in HR and you open the screen, and it says "Joe Bloggs Dismissal"....
<JonTheNiceGuy[m]>
Or like Win 7, you list the applications, and there are pop-outs which show your recent grains.
<frew>
lol
<frew>
sure
<zarvox>
the sidebar also acts as a hint to Sandstorm about which grains to keep alive and which ones to kill off in the background to make the appearance of "everything always open" feasible
<zarvox>
in theory, apps should be designed so they can be stopped and started whenever. in practice, unlike on Android/iOS, most apps weren't built that way from the get-go, and will do much better in terms of user experience if they're running for the duration of the user's usage.
<frew>
oh yeah I forget that they are there in the sidebar if they are active
<zarvox>
other way around, but yeah
<zarvox>
(presence in sidebar is sufficient, but not a necessary condition for the grain to be running)
<zarvox>
(could be opened by another user, for an API session, or in a different browser window of your own)
<frew>
right I mean as a user that's what it tells me, not that it causees it to happen
<frew>
could ofc be out of date info etc
Telesight has quit [Remote host closed the connection]
frigginglorious has quit [Quit: frigginglorious]
isd has joined #sandstorm
wolcen has quit [Ping timeout: 250 seconds]
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
sydney_untangle has quit [Read error: Connection reset by peer]
sydney_untangle has joined #sandstorm
sydney_untangle has quit [Read error: Connection reset by peer]