Skip to content

Commit d794529

Browse files
committed
Revert commits wrt to "closed compounds" comment
1 parent 04c8944 commit d794529

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

authors-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ A typical cookbook page will have three sections (four if you count the title):
2626

2727
## Copyright Issues
2828

29-
Do not post code that is copyrighted by another user, unless you have permission to use that code AND to re-license that code under the [CC BY 3.0](/license) license. If you DO have permission and the author would like credit, please add them to the [authors](/authors) page.
29+
Do not post code that is copyrighted by another user, unless you have permission to use that code AND to relicense that code under the [CC BY 3.0](/license) license. If you DO have permission and the author would like credit, please add them to the [authors](/authors) page.
3030

3131
Also, just a stylistic note, please do not yank code directly from [http://coffeescript.org/](http://coffeescript.org/) and post it with little or no discussion. The CoffeeScript Cookbook is not affiliated with them. We think they're awesome and want them to like us, too! Make sure that anything taken from [http://coffeescript.org/](http://coffeescript.org/) is permissible use and that it stands alone as a valid recipe. If the recipe is too terse, consider adding more examples and discussion.
3232

chapters/math/generating-predictable-random-numbers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Rand
4646

4747
## Discussion
4848

49-
JavaScript and CoffeeScript do not provide a seed-able random number generator. Writing your own will be an exercise in trading off the amount of randomness with the simplicity of the generator. A full discussion of randomness is beyond the scope of this cookbook; for further reading consult Donald Knuth's _The Art of Computer Programming_, Volume II, Chapter 3, "Random Numbers", and _Numerical Recipes in C_, 2nd Edition, Chapter 7, "Random Numbers".
49+
JavaScript and CoffeeScript do not provide a seedable random number generator. Writing your own will be an exercise in trading off the amount of randomness with the simplicity of the generator. A full discussion of randomness is beyond the scope of this cookbook; for further reading consult Donald Knuth's _The Art of Computer Programming_, Volume II, Chapter 3, "Random Numbers", and _Numerical Recipes in C_, 2nd Edition, Chapter 7, "Random Numbers".
5050

5151
A brief explanation of this random number generator is in order, however. It is a Linear Congruential Pseudorandom Number Generator. LCPRNG's operate on the mathematical formula `I<sub>j+1</sub> = (aI<sub>j</sub>+c) % m`, where a is the multiplier, c is the addition offset, and m is the modulus.
5252
Each time a random number is requested, a very large multiplication and addition are performed -- "very large" relative to the key space -- and the resulting number is modulused back down into the keyspace.

developers-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ bundle install
4040
#### Install pygments
4141

4242
You'll need python installed for this.
43-
Macs and most Linuces come with it pre-installed.
43+
Macs and most Linuces come with it preinstalled.
4444

4545
{% highlight bash %}
4646
easy_install pygments # for syntax highlighting
@@ -55,7 +55,7 @@ foreman start
5555
{% endhighlight %}
5656

5757
Leave this window running while you work.
58-
Any time you change a file, jekyll will re-render it into the `_site` folder.
58+
Any time you change a file, jekyll will rerender it into the `_site` folder.
5959

6060
Open a browser and visit <http://localhost:4000/> and you should see the site.
6161

0 commit comments

Comments
 (0)