Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Post History

66%
+2 −0
Meta Default Rules: Random

My thoughts on the matter Does randomness need to be uniform? Nope, although it has to follow the specifications of the challenge (but if the challenge is too demanding with its randomness yo...

posted 3y ago by AndrewTheCodegolfer‭  ·  edited 3y ago by AndrewTheCodegolfer‭

Answer
#2: Post edited by user avatar AndrewTheCodegolfer‭ · 2021-07-26T11:13:42Z (almost 3 years ago)
  • ## My thoughts on the matter
  • > Does randomness need to be uniform?
  • Nope, although it has to follow the specifications of the challenge (but if the challenge is too demanding with its randomness you may freely vote on the matter).
  • > Can you use unseeded PRNG?
  • For functions, sure thing, but for programs not at all - programs would create the same output every time and thus not be random.
  • > Can you use user input as a source of randomness (eg PRNG seed)?
  • Not at all - the only input which should be used is input which the challenge mentions and randomness can usually be gained through other means. If all randomness must be gained through user input, your language is incapable of giving "true" randomness (as far as that would be true to determinists) and thus should not compete.
  • > Should we treat all languages as equals in this regard or be forgiving to languages with lesser randomness capability?
  • Treat them as equals. No good ever comes from compromising to other languages, as it just introduces loopholes that other languages can abuse.
  • ## My thoughts on the matter
  • > Does randomness need to be uniform?
  • Nope, although it has to follow the specifications of the challenge (but if the challenge is too demanding with its randomness you may freely vote on the matter).
  • > Can you use unseeded PRNG?
  • For functions, sure thing, but for programs not at all - programs would create the same output every time and thus not be random.
  • > Can you use user input as a source of randomness (eg PRNG seed)?
  • Not at all - the only input which should be used is input which the challenge mentions and randomness can usually be gained through other means. If all randomness must be gained through user input, your language is incapable of giving "true" randomness (as far as that would be true to determinists) and thus should not compete.
  • > Should we treat all languages as equals in this regard or be forgiving to languages with lesser randomness capability?
  • Treat them as equals. No good ever comes from compromising to other languages, as it just introduces loopholes that other languages can abuse.
  • > Are these rules eternal and universal?
  • Nope... if your challenge is good enough. Rules should only be broken for challenges which have a lot of thought put behind them to make them work in spite of the rule breaking.
#1: Initial revision by user avatar AndrewTheCodegolfer‭ · 2021-07-26T11:11:33Z (almost 3 years ago)
## My thoughts on the matter

> Does randomness need to be uniform?

Nope, although it has to follow the specifications of the challenge (but if the challenge is too demanding with its randomness you may freely vote on the matter).

> Can you use unseeded PRNG?

For functions, sure thing, but for programs not at all - programs would create the same output every time and thus not be random.

> Can you use user input as a source of randomness (eg PRNG seed)?

Not at all - the only input which should be used is input which the challenge mentions and randomness can usually be gained through other means. If all randomness must be gained through user input, your language is incapable of giving "true" randomness (as far as that would be true to determinists) and thus should not compete.

> Should we treat all languages as equals in this regard or be forgiving to languages with lesser randomness capability?

Treat them as equals. No good ever comes from compromising to other languages, as it just introduces loopholes that other languages can abuse.