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‭

104 posts
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 7mo ago by trichoplax‭  ·  edited 7mo 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 7mo ago by trichoplax‭  ·  edited 7mo ago by trichoplax‭

Answer
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 7mo ago by trichoplax‭  ·  edited 7mo ago by trichoplax‭

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

posted 7mo ago by trichoplax‭  ·  edited 7mo 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 6mo ago by trichoplax‭  ·  last activity 6mo ago by trichoplax‭

Question discussion
50%
+0 −0
Sandbox Single character Roman numeral [FINALIZED]

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

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 7mo 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 7mo ago by trichoplax‭  ·  edited 7mo ago by C. K. Young‭

Question default-rules discussion
50%
+0 −0
Sandbox How many odd digits? [FINALIZED]

posted 7mo ago by trichoplax‭  ·  edited 7mo 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 7mo ago by trichoplax‭  ·  edited 7mo ago by trichoplax‭

Answer
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 8mo ago by trichoplax‭

Question code-golf math
50%
+0 −0
Sandbox Substring factor [FINALIZED]

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

50%
+0 −0
Sandbox Hex ​​​detector [FINALIZED]

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

50%
+0 −0
Sandbox Round trip stones [FINALIZED]

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

50%
+0 −0
Sandbox Just the vowels please [FINALIZED]

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

50%
+0 −0
Sandbox A word suggester [FINALIZED]

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

50%
+1 −1
Meta How should we handle incorrect answers?

Respect both sides We should consider how an approach would affect the poster of the incorrect answer, and how it would affect the posters of correct answers. Correct answers In general, allowin...

posted 2y ago by trichoplax‭

Answer
50%
+0 −0
Sandbox Sort letters by height [FINALIZED]

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

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
Meta Thoughts on hiding challenge sections with expandable details tags

Since the examples I've given in the question are deliberately brief, they don't demonstrate the benefit of hiding a large block of text. I'm giving an example in this answer of one of my own chall...

posted 2y ago by trichoplax‭

Answer
50%
+0 −0
Sandbox Pinwheel ​words [FINALIZED]

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

50%
+0 −0
50%
+0 −0
Sandbox Mediocre pop count [FINALIZED]

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