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‭

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

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

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

Question discussion
50%
+0 −0
50%
+0 −0
Challenges Multiplicative perfection

Given a positive integer, indicate whether it is the product of its proper divisors. Integers equal to the product of their proper divisors can be found on the Online Encyclopedia of Integer Seque...

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

Question code-golf math number decision-problem
50%
+0 −0
Sandbox Expand a greyscale/colour hex code [FINALIZED]

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

50%
+0 −0
Challenges Digit balanced numbers

Does a number have balanced numbers of distinct digits? That is, do the number's digits appear with equal frequency? Input A positive integer N. N will have no leading zeroes. Output An ...

3 answers  ·  posted 18d ago by trichoplax‭  ·  last activity 17d ago by m90‭

Question code-golf number
50%
+0 −0
Q&A Rust golfing tips

Avoid assignment & semicolon of unnamed closure Closure (15 bytes) If you need to call a closure using it's name (such as if it is recursive) then you need the bytes required to assign it to ...

posted 11d ago by trichoplax‭  ·  edited 11d ago by trichoplax‭

Answer
50%
+0 −0
Q&A Rust golfing tips

Replace reduce with fold Unlike some languages, Rust's reduce returns an Option, requiring additional bytes to unwrap the output. However, Rust's fold does not. If you can find a suitable neutral...

posted 11d ago by trichoplax‭

Answer
50%
+0 −0
Sandbox Awkward Ordinals [FINALIZED]

posted 6d ago by trichoplax‭  ·  edited 3d ago by trichoplax‭

50%
+0 −0
Challenges Awkward Ordinals

Write code that takes a positive integer and outputs the awkward ordinal name from the test cases. Notice that these are not the conventional ordinal names, although there is significant overlap. ...

0 answers  ·  posted 3d ago by trichoplax‭

Question code-golf number string