How MODeration works

0 Conversations


Every time you add an entry, you see the Anumber thing appear.

These numbers are used by a MODerator function to check for legetimacy.

Numbers of the entry are simply added and the MODerator confirms the outcome. No other remains should exist after the MODerator has done the work. This is a good thing, what if all those entries had leftovers? They would cover the Guide with garbage and unpredicteable behaviour of a link.

Easy:
First we add all the digits.
Then we MODerate the number by 19 a legal entry will produce (as predicted) zero. Any other has some value left.

Eggsamples:

first we got a number
3456789 >>

then we add all digits
3+4+5+6+7+8+9 = 42 >>

now we release the magic MODerator function
42 MOD 19 = 4

BAD entry, will be returned to the holy bitbucket


Now lets take another number
530560 >>

then we add all digits
5+3+0+5+6+0 = 19

now we release the magic MODerator function
19 MOD 19 = 0


Off topic
Perhaps a more easy eggsample using 10:
10 MOD 10 = 0
9 MOD 10 = 9
11 MOD 10 = 1
42 MOD 10 = 2

The remainder, the leftover of the division is the MODulo



Bookmark on your Personal Space


Conversations About This Entry

There are no Conversations for this Entry

Entry

A1899697

Infinite Improbability Drive

Infinite Improbability Drive

Read a random Edited Entry


Disclaimer

h2g2 is created by h2g2's users, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the Not Panicking Ltd. Unlike Edited Entries, Entries have not been checked by an Editor. If you consider any Entry to be in breach of the site's House Rules, please register a complaint. For any other comments, please visit the Feedback page.

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more