News for hackers. Stuff that matters.
Re:How do you reason about a probabilistic distributed system? by hwayne on Friday September 11, 2020 @05:20PM (#24447426)
One thing I've started doing with my PRISM models that helps a lot is using formulas as a poor man's strings. Like instead of

     // Not-yet-flipped: 0, heads: 1, tails: 2
I'd do

    formula unflipped = 0;
    formula heads = 1;
    formula tails = 2;
Another thing that helps a lot is writing templates and then writing scripts that write out the spec for you. I'm doing this with a queueing problem and it's godsent.

There are no comments on this comment yet.