Activity for trichoplax
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #292348 | Initial revision | — | 9 months ago |
Answer | — |
A: Default Rules: Code Golf Answer Types Complete program A code golf answer can be a complete program. This means that the code can be interpreted or compiled (as appropriate) without any additional source code. (more) |
— | 9 months ago |
Edit | Post #292347 |
Post edited: Link to code-golf tag |
— | 9 months ago |
Edit | Post #292347 | Initial revision | — | 9 months ago |
Question | — |
Default Rules: Code Golf Answer Types When answering a code-golf challenge, what types of answer are acceptable by default? Can an answer be a complete program, a function, an anonymous function, a snippet of code? Please add one type per answer. An answer can express that a particular type is acceptable, or that it is not acceptable.... (more) |
— | 9 months ago |
Edit | Post #292344 | Initial revision | — | 9 months ago |
Article | — |
How many odd digits? [FINALIZED] Now posted: How many odd digits? Given a positive integer, count its odd digits. Input - An integer from 1 to 999,999,999, inclusive. Output - The number of odd digits in the input. Test cases Test cases are in the format `input : output`. ```text 1 : 1 2 : 0 3 : 1 4 : 0 5 ... (more) |
— | 9 months ago |
Comment | Post #291891 |
> Should execute up to 870 or so.
Although the test suite times out before reaching 1000, this is only because it is trying to run all of the test cases consecutively.
Running individual test cases works correctly all the way up to 1000, as required. Mentioning for future voters. (more) |
— | 9 months ago |
Edit | Post #292333 |
Post edited: Label equation for clarity |
— | 9 months ago |
Edit | Post #292333 | Initial revision | — | 9 months ago |
Answer | — |
A: Hex detector Rust, 35 bytes ```rust |n:f64|(12.n-3.).sqrt().fract()>0. ``` Counterintuitively, this outputs `false` for a hex number, and `true` otherwise, but this is consistent with the output requirement: > - One of 2 distinct values, indicating whether the input is a hex number. This allows usin... (more) |
— | 9 months ago |
Comment | Post #292279 |
I defined the Fibonacci numbers to be zero-indexed for clarity, but seeing your answer makes me realise this may disadvantage some languages, which was not my intention.
I have now edited the challenge to allow either zero-indexed or one-indexed Fibonacci numbers, while still requiring that the in... (more) |
— | 10 months ago |
Edit | Post #290870 |
Post edited: Allow either zero-indexed or one-indexed Fibonacci numbers |
— | 10 months ago |
Comment | Post #292000 |
Do you mean keep it greyscale but allow accepting input with a grey value as something like (128, 128, 128) or #808080 instead of just 128?
I was considering allowing RGB or RGBA for the output colours but I hadn't thought of this for the inputs. (more) |
— | 10 months ago |
Comment | Post #291889 |
Thanks for pointing this out. I've now added a footnote linking to it. (more) |
— | 10 months ago |
Edit | Post #291889 |
Post edited: Add link to OEIS |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Collapse example implementations because they are optional |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Separate accuracy section from test cases section |
— | 10 months ago |
Edit | Post #292171 |
Post edited: Mark as finalized |
— | 10 months ago |
Edit | Post #292173 | Initial revision | — | 10 months ago |
Question | — |
Net or not? Given a [hexomino], indicate whether it is a net of a cube. Input - A 6 by 6 grid containing exactly 6 filled squares. - The 6 filled squares will be in a single edge connected set (a hexomino). - The topmost row and leftmost column will never be empty (the hexomino will be as far up and left a... (more) |
— | 10 months ago |
Edit | Post #292171 |
Post edited: Further specify input |
— | 10 months ago |
Edit | Post #292171 |
Post edited: Move attribution to footnotes |
— | 10 months ago |
Edit | Post #292171 |
Post edited: Add explanation of hexomino |
— | 10 months ago |
Edit | Post #292171 | Initial revision | — | 10 months ago |
Article | — |
Net or not? [FINALIZED] Now posted: Net or not? Given a [hexomino], indicate whether it is a net of a cube. Input - A 6 by 6 grid containing exactly 6 filled squares. - The 6 filled squares will be in a single edge connected set (a hexomino). - The topmost row and leftmost column will never be empty (the he... (more) |
— | 10 months ago |
Comment | Post #292168 |
As for editing the `undefined` score answer, I haven't made any edit myself because it's not just a different format - the answer is labelled as "not a golfing answer". I don't know whether higher Meta traffic in future might bring a consensus on whether non-competing answers are to be allowed, and w... (more) |
— | 10 months ago |
Comment | Post #292168 |
Thanks for spotting the new evidence - hopefully that helps someone understand the underlying cause(s).
I think that this is rare, as most challenges do not have invalid format answers. However, there may be a problem even when all answers are formatted correctly:
I tried ticking and unticking ... (more) |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Include example image with too much inaccuracy |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Add 32 bit floating point comparison output for final test case |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Clarify wordings |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Remove negative zero from test case inputs |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Add back in animation section now that there is more space |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Make test case images links to full size |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Add test case outputs |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Reduce example implementations to one test case |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Add test cases |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Use consistent variable names between Python and Rust |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Make Python implementation avoid horizontal scroll bars |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Make Rust test cases avoid horizontal scroll bars |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Make Rust implementation avoid horizontal scroll bars |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Add example implementations |
— | 10 months ago |
Edit | Post #292000 |
Post edited: Clarify orthographic |
— | 11 months ago |
Edit | Post #292000 |
Post edited: Make formula more explicit |
— | 11 months ago |
Edit | Post #292103 |
Post edited: Add alternative scoring tag |
— | 11 months ago |
Comment | Post #290328 |
[An upvoted answer on the defaults for I/O Meta post](https://codegolf.codidact.com/posts/282784/282842#answer-282842) suggests general truthy and falsy outputs can be used where the challenge does not explicitly require exactly 2 distinct values. You could suggest a more general default that allows ... (more) |
— | 11 months ago |
Edit | Post #292000 |
Post edited: Link to Wikipedia article on orthographic projection |
— | 11 months ago |
Edit | Post #292000 |
Post edited: Various improvements |
— | 11 months ago |
Edit | Post #292000 |
Post edited: Clarify input variable type requirement |
— | 11 months ago |
Edit | Post #292000 |
Post edited: Explain animation section not necessary to compete |
— | 11 months ago |