Activity for trichoplax
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #287153 |
Post edited: Test code block width to settle on max input size |
— | about 2 years ago |
Edit | Post #287161 |
Post edited: Mark as finalized |
— | about 2 years ago |
Edit | Post #287182 | Initial revision | — | about 2 years ago |
Question | — |
Just the vowels please Given a sequence of letters, output only the vowels. Input - A sequence of letters - This may be a string or any ordered data structure of characters (provided it is consistent between inputs) - The letters may contain a mixture of upper and lower case - The characters that count as letters fo... (more) |
— | about 2 years ago |
Edit | Post #287161 |
Post edited: Golf the explanation request |
— | about 2 years ago |
Edit | Post #287161 |
Post edited: Simplify output section |
— | about 2 years ago |
Edit | Post #287180 |
Post edited: Add subheadings for examples |
— | about 2 years ago |
Edit | Post #287180 | Initial revision | — | about 2 years ago |
Article | — |
Lowercase, but not just the letters [FINALIZED] Now posted: Lowercase, but not just the letters Given a string of printable ASCII characters, convert them all to lowercase, except not just the letters. ASCII characters that are letters have a bit in their binary representation that is `0` for uppercase, and `1` for lower[]()case. Setting... (more) |
— | about 2 years ago |
Edit | Post #287154 |
Post edited: Invite explanations |
— | about 2 years ago |
Edit | Post #287154 |
Post edited: Trim redundant example text |
— | about 2 years ago |
Edit | Post #287154 |
Post edited: Add examples and explain flexibility |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Mark as finalized |
— | about 2 years ago |
Edit | Post #287173 |
Post edited: Fix test case formatting |
— | about 2 years ago |
Edit | Post #287173 |
Post edited: Add test cases |
— | about 2 years ago |
Edit | Post #287173 | Initial revision | — | about 2 years ago |
Question | — |
Balanced quinary quasiquine Given an integer $N$ in balanced quinary, output the first $N$ characters of your source code if $N$ is positive, or the last $-N$ characters of your source code if $N$ is negative. Terminology Quinary Standard quinary (base $5$) has digits $0, 1, 2, 3, 4$. In a quinary number a digit $n$ plac... (more) |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Tidying |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Permit an optional trailing newline |
— | about 2 years ago |
Comment | Post #287153 |
I've updated to show a `.` instead of a space for the background. It makes the boundary of the rectangle much clearer - thanks. I'm now half considering using a character that is more central so it aligns better with the `#` but I haven't settled on one yet. (more) |
— | about 2 years ago |
Edit | Post #287153 |
Post edited: Add visible background character for clarity |
— | about 2 years ago |
Edit | Post #287166 |
Post edited: Typo |
— | about 2 years ago |
Suggested Edit | Post #287166 |
Suggested edit: Typo (more) |
helpful | about 2 years ago |
Edit | Post #287162 |
Post edited: Make formatting of binary digits consistent |
— | about 2 years ago |
Edit | Post #287162 | Initial revision | — | about 2 years ago |
Article | — |
Mediocre pop count [FINALIZED] Now posted: Mediocre pop count Given a sequence of letters, omit those with the highest or lowest pop count. Terminology The pop count or [population count] of a binary string is the number of `1`s in it. For this challenge, the pop count of a letter is the number of `1`s in its ASCII c... (more) |
— | about 2 years ago |
Edit | Post #287161 |
Post edited: Improve wording of input section |
— | about 2 years ago |
Edit | Post #287161 | Initial revision | — | about 2 years ago |
Article | — |
Just the vowels please [FINALIZED] Now posted: Just the vowels please Given a sequence of letters, output only the vowels. Input - A sequence of letters - This may be a string or any ordered data structure of characters - The letters may contain a mixture of upper and lower case - The characters that count as letters for... (more) |
— | about 2 years ago |
Edit | Post #287156 | Initial revision | — | about 2 years ago |
Answer | — |
A: Tips for [fastest-code] in Python If you're not required to use the standard cpython implementation of python, you can usually get a significant speed increase by running your code with PyPy. (more) |
— | about 2 years ago |
Edit | Post #287153 |
Post edited: Add some more example cases for 3, 3 |
— | about 2 years ago |
Edit | Post #287154 |
Post edited: Add a thought until I have time to look into it |
— | about 2 years ago |
Edit | Post #287154 | Initial revision | — | about 2 years ago |
Article | — |
Circle of text characters [FINALIZED] Now posted: Circle of text characters Given a radius R, output a text representation of a circle. Input - A positive integer R (strictly greater than zero) - You do not need to handle values of R greater than 32 Output - A square grid of characters of side length 2R + 1 - You may cho... (more) |
— | about 2 years ago |
Edit | Post #287153 |
Post edited: Add examples and work on output spec |
— | about 2 years ago |
Edit | Post #287153 | Initial revision | — | about 2 years ago |
Article | — |
Connect the corners without 4 in a row [FINALIZED] Now posted: Connect the corners without 4 in a row Connect opposite corners of a rectangle of characters without putting 4 characters in a row. Input - Two numbers, W and H, representing the width and height of the rectangle - Each number will be in the range 2 to 70 Output - A rectan... (more) |
— | about 2 years ago |
Comment | Post #287133 |
Apart from the choice of outputs it's identical, but the same applies to Kolmogorov complexity challenges in general. That's not to say this new challenge is worth posting, but I wanted to get some feedback to see how different a challenge would need to be to be well received.
No plans to post thi... (more) |
— | about 2 years ago |
Comment | Post #287088 |
As for the temptation to downvote, if you decide to then it will be part of the result of the experiment, so I don't want to discourage you from doing so. A failed experiment is still useful... (more) |
— | about 2 years ago |
Comment | Post #287088 |
Thanks for the feedback - it's useful whether in the sandbox or here. I understand the sandbox can't catch everything.
I share your concerns, and thought carefully about how to choose the numbers to avoid a simple built-in solution or a brute force testing of all permutations. I estimated that the... (more) |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Clarify magnitude |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Use "fewer" for consistency |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Remove word "still" that depends on previous optional section |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Hide supplementary terminology section |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Hide detailed justification for trivial case threshold |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Make lengths explicitly characters in excluded cases section |
— | about 2 years ago |
Edit | Post #287135 |
Post edited: Remove ambiguity in code length in input section |
— | about 2 years ago |
Edit | Post #287139 | Initial revision | — | about 2 years ago |
Answer | — |
A: 55 fruit salad: choose your own Kolmogorov complexity [Python 3], 319 318 bytes ```python print('riBfig,barBbilBdewBmulBtayBabiu,bael,date,lime,lulo,neem,noni,pear,pili,plum,rimu,sloe,sorb,yuzu,bearBblueBcranBcrowBemu BhackBjuneBlimeBpineBraspBwineBwolfByew Backee,akebi,apple,araza,cacao,caqui,carob,etrog,gấc,grape,guava,ilama,jagua,kokum,kubal,lemo... (more) |
— | about 2 years ago |