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
66%
+2 −0
Meta Short ​​​titles

The title of a Codidact question has a minimum length of 15 characters. For a question this is generally fine, as the title will be a summary of the question in the form of a single sentence. Howe...

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

Question feature-request discussion
66%
+2 −0
Challenges Substring factor

Does a positive integer have a substring as a factor? Input A positive integer. Output One of 2 distinct values to indicate whether the input has a factor that is a strict substring of it...

3 answers  ·  posted 9mo ago by trichoplax‭  ·  last activity 8mo ago by Shaggy‭

Question code-golf math number string
66%
+2 −0
Challenges Round trip stones

$N$ vessels initially contain $3$ stones each. What is the probability of having at least $3$ stones in the first vessel after moving a uniformly random selection from the first vessel to the secon...

1 answer  ·  posted 12mo ago by trichoplax‭  ·  last activity 11mo ago by Arpad Horvath‭

Question code-golf math number probability
66%
+2 −0
Meta Leaderboard sorting bug

The leaderboard that shows below a code golf challenge can either sort the answers to show the winner for each language separately (if "Group by language" is ticked) or it can show all the answers ...

1 answer  ·  posted 1y ago by trichoplax‭  ·  last activity 8mo ago by Monica Cellio‭

Question bug leaderboard
66%
+2 −0
Challenges 55 fruit salad: choose your own Kolmogorov complexity

Python 3, 319 318 bytes print('riBfig,barBbilBdewBmulBtayBabiu,bael,date,lime,lulo,neem,noni,pear,pili,plum,rimu,sloe,sorb,yuzu,bearBblueBcranBcrowBemu BhackBjuneBlimeBpineBraspBwineBwolfByew Back...

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

Answer
66%
+2 −0
Challenges Pinwheel ​words

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

Question code-golf alphabet
66%
+2 −0
Challenges 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 ...

1 answer  ·  posted 2y ago by trichoplax‭  ·  last activity 2y ago by WheatWizard‭

Question code-golf
66%
+2 −0
Challenges Digit antitranspose

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 2y ago by trichoplax‭  ·  last activity 2y ago by torres‭

Question code-golf number
66%
+2 −0
Meta Is there a problem with the edit queues?

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

Question discussion editing
66%
+2 −0
66%
+2 −0
Challenges Expected value of highest dice rolled

You roll $N$ six-sided dice simultaneously. Your score is the highest number rolled. If you play this game many times, what is the expected value (mean) of your score? Input A positive integer ...

2 answers  ·  posted 1y ago by trichoplax‭  ·  last activity 1y ago by RubenVerg‭

Question code-golf math dice
66%
+2 −0
Meta A random button for ordering Code Golf post lists

On most Codidact communities the posts list has a "Random" button among the sorting buttons: The only exceptions are the Codidact Proposals community, and Code Golf: This suggests that it is ...

1 answer  ·  posted 1y ago by trichoplax‭  ·  edited 1y ago by Monica Cellio‭

Question discussion status-completed
60%
+1 −0
Sandbox Label the hinged tetrominoes - [FINALIZED]

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

60%
+1 −0
Challenges Shortest representation in generalised Roman numerals

Find the shortest representation of an integer in generalised Roman numerals. Since there is more than one way to generalise, only the following definition applies to this challenge. Definition T...

1 answer  ·  posted 1y ago by trichoplax‭  ·  last activity 1y ago by NikNakk‭

Question code-golf number
60%
+1 −0
Challenges Word suggesting

Suggest a word from a word list, given a string. Motivation Imagine typing a word one letter at a time, and seeing a suggested word after each letter is typed. At first the suggested word is simp...

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

Question code-golf string list
60%
+1 −0
60%
+1 −0
Meta Thoughts on hiding challenge sections with expandable details tags

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

3 answers  ·  posted 2y ago by trichoplax‭  ·  last activity 2y ago by celtschk‭

Question discussion challenges
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 What would this community like to see in a Codidact API?

I've now posted on Codidact Meta How should a Codidact public API work? I'll still be taking into account any discussion here if you have Code Golf specific thoughts, but for general API discussio...

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

Question discussion
60%
+1 −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 10mo ago by trichoplax‭

Question code-golf math string parsing binary
60%
+1 −0
Challenges Hex ​​​detector

Given an integer from 1 to 1000, indicate whether it is a centered hexagonal number[1] (also known as a hex number). What is a hex number? The hex numbers can be visualised as follows: On a he...

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

Question code-golf math number
60%
+1 −0
Sandbox Plain ​​spheres

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

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

Question code-golf number
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 6mo ago by trichoplax‭

Answer