Comments (3)
Also, "both sides of the book" gives an interesting twist. Perhaps a reader could read only an odd page with an available light on the left hand side and an even page with an available light on the right hand side. And they can only read "page after page" (continuously) while both light sources are available, or the next page once that light is available. So then, if it takes one reader 1 min to read each page, and his neighbors take 2 min to read each page, then that leaves interesting opportunities to optimize and alternate resource usage.
So variable factors:
- Reader's reading speed
- Current page #
- Light source spent, ie candle burnt out (dirty / clean fork)
- Neighbors' speed and page #
- Book length (if they're reading the same book, perhaps... or perhaps they're discussing multiple books, since it's a reading circle)
- Messages that can help optimize the reading circle's night
- ...Patience (some books or parts of a book are real page turners)..
from chymyst-core.
Would you like to implement this example in Chymyst? Let me know if something is unclear in the documentation, by the way. Always looking to improve things.
from chymyst-core.
you have 5 people sitting at a table who have candles between each them, 5 total. to read their books, they need to pull the candle closer, but this this takes it away from the person next to them. since they need both sides of their book lit, how can they efficiently take the candles and put them back for optimal reading by the group?
/note to self and other diners
from chymyst-core.
Related Issues (14)
- Livelock detection should support nonlinear input
- Support patterns with type ascription
- Merge guard conditions that constrain the same subsets of molecules HOT 1
- Use static checks for static molecule emission
- Support nested `if` statements as output environments HOT 1
- Implement granular locking HOT 1
- Molecule search DSL
- How does this compare to Futures? HOT 2
- Terminology nitpick: recursive molecule ~> chain reaction? HOT 1
- Comparison to Temporal Logic , FRP , TLA+ HOT 2
- Failure to detect livelock with refutable tuple pattern HOT 1
- Failure to compile a one-molecule guard that uses `Array` type HOT 1
- Failure to compile reactions with compound grouped pattern variables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chymyst-core.