Activity for trichoplax
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Article | — |
Holeyest base representation [FINALIZED] Now posted: The holeyest base Given a positive integer as input, indicate which base from 2 to 16 gives the most holes in the representation of the input in that base. The digits used are 0123456789ABCDEF. Note that these include upper case letters (the number of holes would be different fo... (more) |
— | over 1 year ago |
Edit | Post #287090 |
Post edited: Explicitly rule in hardcoding |
— | over 1 year ago |
Edit | Post #287090 |
Post edited: Make output spec more watertight |
— | over 1 year ago |
Edit | Post #287090 | Initial revision | — | over 1 year ago |
Article | — |
8 coexisting queens [FINALIZED] Now posted: 8 coexisting queens This is a fixed output challenge. Output a textual representation of a chessboard hosting 8 queens, none of which are attacking each other. There are 92 ways of arranging them, 12 if rotations and reflections are discounted. You may choose any 1 of these arra... (more) |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Mark as finalized |
— | over 1 year ago |
Edit | Post #287088 | Initial revision | — | over 1 year ago |
Question | — |
55 fruit salad: choose your own Kolmogorov complexity This is a fixed output challenge. It is similar to a standard Kolmogorov complexity challenge, except you get to choose your own fixed output. Given no input, output 55 fruits. You may choose any 55 distinct fruits from the following list: ```text abiu açaí acerola achacha ackee afghan cherr... (more) |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Clarify intro |
— | over 1 year ago |
Edit | Post #287040 |
Post edited: Mark as finalized |
— | over 1 year ago |
Edit | Post #287087 |
Post edited: Fix integer output test cases |
— | over 1 year ago |
Edit | Post #287087 | Initial revision | — | over 1 year ago |
Question | — |
Rationalise recurring binary Given a potentially recurring binary string, output the number it represents, as a fraction in lowest terms. The notation used in this challenge for recurring digits is non-standard. An `r` is used to indicate that the remaining digits recur. For example, `0.000r10` means the last 2 digits recur, ... (more) |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Give example of regional spelling variation |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Break intro into smaller sentences for ease of reading |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Suggest including helper code if used |
— | over 1 year ago |
Edit | Post #287086 | Initial revision | — | over 1 year ago |
Question | — |
Is there a problem with the edit queues? I'm raising this on our local Meta first, rather than the main Codidact Meta, because I don't yet have the Edit Posts ability so I can't tell what problems may exist. Hopefully some of you who have this ability will be able to confirm whether there are any bugs / feature requests that should be raise... (more) |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Fix diacritic rule |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Make title fit on one line |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Consider a larger salad |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Change title |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Hide fruit provenance |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Add links to Wikipedia |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Add fruit provenance |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Tidying |
— | over 1 year ago |
Edit | Post #287082 | Initial revision | — | over 1 year ago |
Article | — |
3D compass point from 3D coordinates Given 3 dimensional (3D) Cartesian coordinates (x, y, z), output the 3D compass point that comes nearest to describing the direction from the origin. Definitions Directions In reality, the direction of North changes as you move across the surface of the globe. This challenge is based in a simpli... (more) |
— | over 1 year ago |
Edit | Post #287040 |
Post edited: Consistency for interpretation section |
— | over 1 year ago |
Edit | Post #287040 |
Post edited: Add sandbox question |
— | over 1 year ago |
Comment | Post #287055 |
Good catch - thank you! They were indeed shorter than intended - now fixed. (more) |
— | over 1 year ago |
Edit | Post #287055 |
Post edited: Fix incorrect test cases |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Update title to no longer be dependent on the choice of salad size |
— | over 1 year ago |
Comment | Post #287054 |
Also, instead of
> **Current** voting seems to suggest that anonymous functions are acceptable
I should have said
> Voting seems to suggest that anonymous functions are **currently** acceptable
Meta is always open to further discussion, new answers, and new votes. Anything you disagree wi... (more) |
— | over 1 year ago |
Comment | Post #287054 |
@#56533 if it affects your perspective, some languages allow passing an anonymous function as a function argument, or returning an anonymous function as a return value. This allows another part of the program to call the anonymous function without ever having to name it.
This is common with lambda... (more) |
— | over 1 year ago |
Edit | Post #287059 |
Post edited: Add hope for explanations |
— | over 1 year ago |
Edit | Post #287059 | Initial revision | — | over 1 year ago |
Article | — |
55 fruit salad: choose your own Kolmogorov complexity [FINALIZED] Now posted: 55 fruit salad: choose your own Kolmogorov complexity This is a fixed output challenge. It is similar to a standard Kolmogorov complexity challenge, except you get to choose your own fixed output. Given no input, output 55 fruits. You may choose any 55 distinct fruits from the foll... (more) |
— | over 1 year ago |
Comment | Post #286989 |
I've just realised that the new clearer output specification, and example, invalidate the [existing answer](https://codegolf.codidact.com/posts/286989/286993#answer-286993) (it gives the output shown in my previous comment, which you have now explained is not valid). Just mentioning in case this affe... (more) |
— | over 1 year ago |
Comment | Post #287054 |
This has been mentioned previously on Meta in [Rules for function submissions](https://codegolf.codidact.com/posts/286366/286367#answer-286367) if either of you want to vote/comment/answer in that discussion.
Current voting seems to suggest that anonymous functions are acceptable. (more) |
— | over 1 year ago |
Comment | Post #286602 |
>
> * Assuming that things like memory allocation are handled by the caller might give contributions an unfair advantage
>
I'm not sure how to interpret this. If a fixed size input argument (such as a 32 bit integer) is modified, there is no need for memory allocation as it already exists. If ... (more) |
— | over 1 year ago |
Comment | Post #286602 |
> Some languages separate subroutines (do not return a value) from functions (returns a value)
In such a language I would see a subroutine that modifies an input argument as a valid submission, unless the challenge explicitly requires a function. I agree that a challenge that requires a function r... (more) |
— | over 1 year ago |
Comment | Post #286602 |
> Not all languages support pass by reference
I don't see this as a reason to prevent its use by languages that do support it. There are many ways that languages differ and restricting the particular advantages that each language has seems to remove the benefit of allowing submissions in different... (more) |
— | over 1 year ago |
Comment | Post #286602 |
I don't know which way to vote on this one.
> Therefore, interpreting a challenge asking for a return value as "return through parameter" is creating a local code golf dialect of the language
I see this Meta discussion as establishing defaults. Any challenge is free to override the defaults and... (more) |
— | over 1 year ago |
Edit | Post #287054 |
Post edited: Typo |
— | over 1 year ago |
Edit | Post #287005 |
Post edited: Remove accidentally saved markdown link testing |
— | over 1 year ago |
Edit | Post #287005 |
Post edited: Add missing colon |
— | over 1 year ago |
Edit | Post #287005 |
Post edited: Mark as finalized |
— | over 1 year ago |
Edit | Post #287055 |
Post edited: Explain that the diagram is not part of the challenge |
— | over 1 year ago |
Edit | Post #287055 | Initial revision | — | over 1 year ago |