Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Posts by trichoplax‭

100 posts
60%
+1 −0
Meta Category migration and the sandbox

Start afresh but keep history When migrating to the Challenges category, there are several aspects of the post that could be included or discarded: Comments Edit history Votes Comments Th...

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

Answer
60%
+1 −0
Challenges How many odd digits?

Given a positive integer, count its odd digits. Input An integer from 1 to 999,999,999, inclusive, in any of the following formats: A number (such as an integer or floating point number), li...

6 answers  ·  posted 3mo ago by trichoplax‭  ·  last activity 1mo ago by Shaggy‭

Question code-golf number
60%
+1 −0
Challenges Chequer checker

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 2y ago by trichoplax‭  ·  edited 2y ago by trichoplax‭

60%
+1 −0
Sandbox Label the hinged tetrominoes - [FINALIZED]

posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

60%
+1 −0
Sandbox Digit antitranspose [FINALIZED]

posted 2y ago by trichoplax‭  ·  edited 2y ago by trichoplax‭

60%
+1 −0
Sandbox Encode with ROT13.5 [FINALIZED]

posted 2y ago by trichoplax‭  ·  edited 2y ago by trichoplax‭

60%
+1 −0
Challenges Knight safe squares

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

posted 2y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Answer
60%
+1 −0
Sandbox Arbitrary angle wrapping wordsearch

posted 2y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

60%
+1 −0
Meta What would this community like to see in a Codidact API?

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 2y ago by trichoplax‭

Answer
60%
+1 −0
Meta Preferred length limit for Code Golf posts

65,535 The database field can already handle up to 65,535 (216 - 1) characters. Same for all post types and categories I don't see a need for different limits for questions and answers, or for d...

posted 2mo ago by trichoplax‭

Answer
57%
+2 −1
Challenges Fibonacci without consecutive digits

Output the Nth number in the list of Fibonacci numbers that have no consecutive digits. Input A non-negative integer (if you treat the Fibonacci numbers as zero-indexed) or a positive integer (...

4 answers  ·  posted 9mo ago by trichoplax‭  ·  last activity 2mo ago by Andrew Ray‭

50%
+0 −0
Sandbox Digits with subsets of unique probability

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

50%
+0 −0
Meta Preferred length limit for Code Golf posts

Currently the maximum number of characters for a Codidact post is 30,000. However, at some point this may be configurable per community (or perhaps per category). There is a GitHub issue for Config...

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

Question discussion
50%
+0 −0
Challenges 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). Th...

0 answers  ·  posted 4mo ago by trichoplax‭

Question code-golf math
50%
+0 −0
Meta Default Rules: Code Golf Answer Types

A snippet is not a valid answer A code golf answer must in general be able to take input[1] and give output. A snippet of code that is not contained in a function or program cannot take input[2], ...

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

Answer
50%
+0 −0
Meta Default Rules: Code Golf Answer Types

Anonymous function A code golf answer can be an anonymous function[1]. That is, a function that can be defined without giving it a name (in programming languages that allow this). If an anonymous...

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

Answer
50%
+0 −0
Meta Default Rules: Code Golf Answer Types

Function Score is the bytes of the function A code golf answer can be a function. Only the bytes required to define the function are included in the score. Score includes imports and definitions...

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

Answer
50%
+0 −0
Meta 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.

posted 3mo ago by trichoplax‭

Answer
50%
+0 −0
Meta 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...

4 answers  ·  posted 3mo ago by trichoplax‭  ·  edited 3mo ago by C. K. Young‭

50%
+0 −0
Sandbox How many odd digits? [FINALIZED]

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

50%
+0 −0
Challenges Hex ​​​detector

Rust, 35 bytes |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 o...

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

Answer
50%
+0 −0
Challenges 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 ...

0 answers  ·  posted 2y ago by trichoplax‭  ·  edited 2y ago by trichoplax‭

Question code-golf string
50%
+0 −0
50%
+0 −0
Challenges 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 ...

0 answers  ·  posted 2y ago by trichoplax‭  ·  edited 5mo ago by trichoplax‭