### Communities

tag:snake search within a tag
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
created:<1w created < 1 week ago
post_type:xxxx type of post

# Posts by trichoplax‭

75%
+4 −0

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) Th...

9 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 3mo ago by taoh‭

Question code-golf alphabet
71%
+3 −0
Sandbox Chequer checker [FINALIZED]

posted 5mo ago by trichoplax‭  ·  edited 5mo ago by trichoplax‭

71%
+3 −0

Given a string, convert all of its letters using ROT13, and all of its digits using ROT5. This is sometimes referred to as ROT13.5. Input A sequence of printable ASCII characters (character cod...

4 answers  ·  posted 3mo ago by trichoplax‭  ·  last activity 2mo ago by Razetime‭

71%
+3 −0

Take an input string representing a number and convert it to decimal (base 10). However, the base of the input is not specified. Assume the input is in the smallest base for which its digits are va...

5 answers  ·  posted 5mo ago by trichoplax‭  ·  last activity 5mo ago by Shaggy‭

71%
+3 −0

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 1s in it. For this challenge, the ...

6 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 2mo ago by A username‭

71%
+3 −0

Given a chess board with some knights on it, say how many squares are neither attacked by a knight nor containing a knight. Input An 8 by 8 grid where each square is either a knight or empty T...

2 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 3mo ago by trichoplax‭

Question code-golf
71%
+3 −0

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 incl...

6 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 4mo ago by Razetime‭

Question code-golf base
66%
+2 −0

Convert a matrix or grid of digits to its antitranspose. For a square matrix , this is its reflection in its antidiagonal. More generally, for a rectangular matrix, this is its reflection in its sk...

4 answers  ·  posted 3mo ago by trichoplax‭  ·  last activity 3mo ago by torres‭

Question code-golf number
66%
+2 −0

Given a word that can be rotated by 180 degrees (a half turn) about at least one of its 3 axes and continue to be composed of English alphabet letters, output one of its rotated forms. The 3 rotat...

0 answers  ·  posted 4mo ago by trichoplax‭

Question code-golf alphabet
66%
+2 −0

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 ...

7 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 2mo ago by Shaggy‭

66%
+2 −0

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...

5 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 4mo ago by Shaggy‭

66%
+2 −0

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...

1 answer  ·  posted 4mo ago by trichoplax‭  ·  edited 4mo ago by trichoplax‭

Question discussion editing
66%
+2 −0

I see the Sandbox as a vital part of challenge design. When I visit the Sandbox I'd like to be able to show only proposals that are not finalized, so I can focus feedback where it is needed. In th...

3 answers  ·  posted 5mo ago by trichoplax‭  ·  last activity 3mo ago by Monica Cellio‭

Question discussion sandbox
66%
+2 −0

posted 5mo ago by trichoplax‭  ·  edited 5mo ago by trichoplax‭

60%
+1 −0

I'd like to post king-of-the-hill contests that read code directly from answers Essentials This is the only feature I would need in order to start posting contests. The answer content for each...

posted 4mo ago by trichoplax‭

60%
+1 −0

(Note that I'm not a Codidact dev - I don't know Ruby or C# - and I'm not involved in any work or decision making - I'd just like to hear what you'd be interested in) I posted previously on Codi...

1 answer  ·  posted 4mo ago by trichoplax‭  ·  last activity 4mo ago by trichoplax‭

Question discussion
60%
+1 −0

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 ...

1 answer  ·  posted 4mo ago by trichoplax‭  ·  edited 4mo ago by trichoplax‭

Question code-golf quine base
60%
+1 −0

A chequer board (also spelt "checker board" in some places) is an 8 by 8 grid of squares alternating between 2 colours. Check whether a provided pattern could be a region of a chequer board. The c...

1 answer  ·  posted 5mo ago by trichoplax‭  ·  edited 4mo ago by trichoplax‭

60%
+1 −0

posted 5mo ago by trichoplax‭  ·  edited 4mo ago by trichoplax‭

60%
+1 −0

posted 4mo ago by trichoplax‭  ·  edited 3mo ago by trichoplax‭

60%
+1 −0

I've recently started experimenting with hiding some of the sections in a challenge, using an expandable &lt;details&gt; tag. This seems to have some advantages, but I'm interested to hear how peop...

3 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 4mo ago by celtschk‭

60%
+1 −0

I'm leaving this answer here for any votes and discussion, but I no longer hold this opinion. I've posted a longer answer to explain why I've changed my mind After hearing about the filter devel...

posted 5mo ago by trichoplax‭  ·  edited 5mo ago by trichoplax‭

60%
+1 −0

Given a sequence of lower case letters, sort them into order of height. Heights The heights of letters are dependent on font, so for this challenge the height order to be used is as defined below...

4 answers  ·  posted 3mo ago by trichoplax‭  ·  last activity 3mo ago by steffan153‭

60%
+1 −0

Rust, 236 184 166 142 bytes |i:u64|{let s=0x101010101010101;let(a,b,c,d)=(i&amp;252*s,i&amp;254*s,i&amp;127*s,i&amp;63*s);(i|a&lt;&lt;6|b&lt;&lt;15|c&lt;&lt;17|d&lt;&lt;10|d&gt;&gt;6|c&gt;&gt;15|b...

posted 3mo ago by trichoplax‭  ·  edited 3mo ago by trichoplax‭

60%
+1 −0

posted 3mo ago by trichoplax‭  ·  edited 3mo ago by trichoplax‭

Featured
Hot Posts

This community is part of the Codidact network. We have other communities too — take a look!