Skip to main content

Timeline for Sandbox for Proposed Challenges

Current License: CC BY-SA 4.0

14 events
when toggle format what by license comment
Mar 1, 2022 at 11:33 history edited pxeger CC BY-SA 4.0
deleted 1019 characters in body
Feb 25, 2022 at 9:50 comment added pxeger @tsh "You may choose whether to include the empty string as a possible output"
Feb 25, 2022 at 9:08 comment added tsh Does "Every possible length of xs" includes 0 (empty output)?
Feb 25, 2022 at 7:44 comment added pxeger @tsh Well obviously nothing can output an infinite precision number of any kind, but I'm allowing it as an assumption because I think it should be considered a valid possible solution.
Feb 25, 2022 at 7:20 comment added tsh @pxeger I cannot understand how random_between_0_and_1 output a "infinite precision" number in finite time (so program will halt with with probability 1). But regardless this, the rule seems clear to me.
Feb 24, 2022 at 16:20 comment added pxeger @tsh @Bubbler Do you think the rule I just added is adequate? (I think tsh's suggested repeat("x", floor(1/random_between_0_and_1())) should be considered valid as long as it never causes a division by zero.)
Feb 24, 2022 at 16:19 history edited pxeger CC BY-SA 4.0
added 153 characters in body
Feb 23, 2022 at 23:56 comment added Bubbler Looks like "the RNG in use has perfect random distribution" is a necessary assumption, but allowing the return value of RNG to be of infinite precision sounds a bit weird, as tsh pointed out. You may want to clarify these points in the challenge rules. (I'm not entirely against it though; in some langs the only source of randomness is a random real number in [0,1), which makes some compromises like "you can only use RNGs that return a finite number of integers" unsuitable)
Feb 23, 2022 at 10:32 comment added tsh Since most languages random number generator (RNG) only have finite state, The program won't output infinity number of different outputs. You may argue that we may consider (assume) RNG have infinity digits (precision). But then, someone would argue that repeat("x", floor(1/random_between_0_and_1())) is a valid submission as we can consider the output of random_between_0_and_1 have infinity precision. It is not very clear which is valid and which is not to me.
Feb 23, 2022 at 8:19 history edited pxeger CC BY-SA 4.0
added 26 characters in body
Feb 23, 2022 at 3:43 comment added DialFrost i have no idea what this challenge is about but +1
Feb 22, 2022 at 21:12 history edited pxeger CC BY-SA 4.0
added 224 characters in body
Feb 22, 2022 at 20:43 comment added rydwolf Would printing an infinite stream of separators or xs be valid? It's an infinitesimally small chance that just, e.g., one x is ever printed for the rest of time, but does that count (I'd be inclined to say no)?
Feb 21, 2022 at 20:59 history answered pxeger CC BY-SA 4.0