Commits on Oct 28, 2013
1. ```Explanation of a possible risk calculation:
Since we are in the meth business, risk start from 0.5.

Every time we purchase an facility, our risk increases or decreases proportional to the risk of the facility we have bought.

Some examples:
Default risk = 0.5
-> 50%

One +10% risk facility = 0.5 * (1 + 0.1) = 0.55
-> 55%

Five +10% risk facilities = 0.5 * (1.1)^5 = 0.805255
-> 81%

One -5% risk facility = 0.5 * (1 - 0.05) = 0.475
-> 48%

Five -5% risk facilities = 0.5 * (0.95)^5 = 0.38689046875
-> 39%

Five +10% risk facilities and five -5% risk facilities = 0.5 * (1.1)^5 * (0.95)^5 = 0.62309096882
-> 62%

In case we have 710 'Sleazy Lawyers' along with other the risk factors, the final risk somewhere around is 1.7e-100 instead of -19,432.5%    :-)```
committed Oct 28, 2013
Commits on Oct 27, 2013
1. nullism committed Oct 27, 2013
2. `Thanks, merged.`
nullism committed Oct 27, 2013
3. nullism committed Oct 27, 2013
4. atomicstack committed Oct 27, 2013
Commits on Oct 26, 2013
1. nullism committed Oct 26, 2013
2. `… all`
nullism committed Oct 26, 2013
3. nullism committed Oct 26, 2013
4. nullism committed Oct 26, 2013
5. nullism committed Oct 26, 2013
Commits on Oct 25, 2013
1. nullism committed Oct 25, 2013
2. nullism committed Oct 25, 2013
3. nullism committed Oct 25, 2013
4. `…esh. Performance gain on site of about 15% with last nights test`
nullism committed Oct 25, 2013
5. nullism committed Oct 25, 2013
6. nullism committed Oct 25, 2013
7. nullism committed Oct 25, 2013
8. nullism committed Oct 25, 2013
9. nullism committed Oct 25, 2013
10. `Well done. I've merged and will test tonight. I am a little worried about Chrome's 2.5MB `localStorage` limitation, but I suspect we'll be well under that. Thanks again for the commit. Your base64.js is MIT, right?`
nullism committed Oct 25, 2013
11. ```The save format is base64-encoded JSON. This makes the tamper potential
less obvious to non-technical users. (Technical users can already just
inject javascript to make the game do what they want, so there's little
reason to use actual encryption on the save files.)

alerts on some platforms have maximum lengths less than the required
size of the save data, which causes corruption!```
Pringley committed Oct 25, 2013
12. ```Encoding library base64.js written by Fred Palmer and released under the
Pringley committed Oct 25, 2013
13. `Good call. Merged.`
nullism committed Oct 25, 2013
14. cody.stevens committed Oct 25, 2013
15. nullism committed Oct 25, 2013
16. nullism committed Oct 25, 2013
17. nullism committed Oct 25, 2013
18. nullism committed Oct 25, 2013
19. nullism committed Oct 25, 2013
Commits on Oct 24, 2013
1. nullism committed Oct 24, 2013
2. `Merged`
nullism committed Oct 24, 2013
3. cody.stevens committed Oct 24, 2013
4. nullism committed Oct 24, 2013
5. nullism committed Oct 24, 2013
6. nullism committed Oct 24, 2013