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 »

Activity for trichoplax‭

Type On... Excerpt Status Date
Edit Post #292835 Post edited:
Improve sentence flow
5 months ago
Comment Post #292756 The idea is not that the input would come into the program through function parameters, but that the function would be called from within a larger program, and the program would call it using arguments as input. This allows competing to find the shortest function that solves a problem, rather than to...
(more)
5 months ago
Comment Post #292756 > This is under the assumption that in a function solution, input has to be passed as parameter and output through the return value I would be interested to hear any alternatives you considered, and whether you think they would make good defaults for input and output for function solutions. Eve...
(more)
5 months ago
Edit Post #292835 Post edited:
Add extra detail
6 months ago
Edit Post #292835 Initial revision 6 months ago
Answer A: 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 The comments during sandbox development are not relevant to the final challenge, and would be a dist...
(more)
6 months ago
Edit Post #292376 Post edited:
Add finalized tag to allow filtering out
6 months ago
Comment Post #292830 One thing I forgot to ask about in the Sandbox: > The program need not do anything meaningful but must compile cleanly (no language syntax or constraint violations etc) I assume from this that warnings that do not prevent compilation/interpretation are acceptable. Either way, it might be helpfu...
(more)
6 months ago
Edit Post #292834 Initial revision 6 months ago
Answer A: Category migration and the sandbox
Sandbox votes should give no reputation I believe this is already the case, but for completeness: I agree that neither upvotes nor downvotes on Sandbox posts should affect reputation. Although I would encourage everyone to sandbox every challenge idea, I think the benefits of rewarding sandbox...
(more)
6 months ago
Comment Post #292831 Since there are a few separate questions here, I can see a benefit to posting one idea per answer. This way, I can post an idea about whether sandbox votes should count and an idea about whether to reset votes, and one can be upvoted and the other downvoted. If they were posted in a single answer, th...
(more)
6 months ago
Edit Post #289782 Post edited:
Fix typo
6 months ago
Comment Post #287082 Good point. It would be useful to list each direction. I've edited to add a TODO so I don't forget to do this before posting.
(more)
6 months ago
Edit Post #287082 Post edited:
Add TODO for direction of each compass point
6 months ago
Edit Post #292000 Post edited:
Add TODO for checking choice of sphere makes little difference
6 months ago
Comment Post #292000 Since all of the surface patterns in the test cases are formed by overlapping spheres to take advantage of this effect, I will double check before posting that either choice of which sphere's colour to display gives sufficiently similar output images.
(more)
6 months ago
Comment Post #292000 When 2 spheres A and B overlap, there are 3 types of overlapping points: - The surface of A is inside the surface of B (so the nearest intersection will be B). - The surface of B is inside the surface of A (so the nearest intersection will be A). - The 2 surfaces meet along a circle (infinitely th...
(more)
6 months ago
Comment Post #292000 I've now edited the Output section to mention this - thank you. The test cases will be adjusted to match the newly specified z range before posting.
(more)
6 months ago
Edit Post #292000 Post edited:
Specify z range
6 months ago
Edit Post #292000 Post edited:
Specify what happens when 2 or more intersections are nearest
6 months ago
Comment Post #292000 Good question. Short answer: I should make explicit that the code can choose either. I will edit accordingly. Waffle: The only case where I'd expect this to make a noticeable difference to the resulting image is when two spheres are identical in both centre and radius, which could cause o...
(more)
6 months ago
Comment Post #291542 Since this uses the same regex as your JavaScript answer, the same bug applies as described in [Peter Taylor's comment there](https://codegolf.codidact.com/comments/thread/9801#comment-24662).
(more)
6 months ago
Edit Post #291048 Post edited:
Fix wording of lower case test cases introduction
6 months ago
Comment Post #291048 I hadn't thought of that. I see no reason why not. I've now edited to explicitly allow lower case, provided that your output is in the same case as your input (apart from the indication that an input is valid, which can be any consistent value), and I've added the same test cases in lower case.
(more)
6 months ago
Edit Post #291048 Post edited:
Fine tune lower case requirements
6 months ago
Edit Post #291048 Post edited:
Allow lower case input and add lower case test cases
6 months ago
Comment Post #292741 Yes there is more than 1 way to get the correct answer. I'm interested to see which way will turn out to be shortest in different languages.
(more)
6 months ago
Edit Post #292696 Post edited:
Mark as finalized
6 months ago
Edit Post #292741 Initial revision 6 months ago
Question 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 Sequences as the Multiplicatively perfect numbers. Input - A positive integer N. Output - An indica...
(more)
6 months ago
Comment Post #292696 Thanks for the feedback. I should have noticed that when I found the OEIS entry. I've replaced all occurrences now.
(more)
6 months ago
Edit Post #292696 Post edited:
Improve terminology following Sandbox feedback, and put examples in a table
6 months ago
Edit Post #292696 Post edited:
Wording refinement
6 months ago
Edit Post #292696 Initial revision 6 months ago
Article Multiplicative perfection [FINALIZED]
Now posts: 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 Sequences as the Multiplicatively perfect numbers. Input - ...
(more)
6 months ago
Edit Post #292658 Initial revision 6 months ago
Answer A: 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 different categories. Challenges I sometimes find the current 30,000 character limit restrictive,...
(more)
6 months ago
Edit Post #292657 Initial revision 6 months ago
Question 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 Configurable length limits for content. If this configuration option is implemented, what limit would you l...
(more)
6 months ago
Comment Post #292376 Good point about combining with a library. That seems to make this inclusive of more languages.
(more)
7 months ago
Comment Post #292376 Personally, I expected that "constants" would be referring to the names of built in constants, such as `PI` or `SQRT3`. However, since the names of such constants also count as "identifiers", it might help to have an explanation of each term to remove ambiguity.
(more)
7 months ago
Comment Post #292376 Another possible wording: > The English alphabet (in alphabetical order) is a subsequence of the source code.
(more)
7 months ago
Comment Post #292376 > the source itself contains and iterates through the whole English alphabet Here "iterates through" sounds like the code when running has to process the alphabet, which does not appear to be the case from the example code. My best guess at the intended meaning is: > the source itself contains ...
(more)
7 months ago
Comment Post #292376 I don't know if there are languages for which not every letter is included in a language keyword, function name, constant, or identifier. If there are, then it sounds like these languages would be unable to compete. I have 2 thoughts on this: 1. Not every challenge has to be open to every language. ...
(more)
7 months ago
Comment Post #292356 In response to a comment on the challenge, I've decided to make the input format more flexible. This leaves your current answer just as valid as before, but I'm letting you know because it is likely you can use the added flexibility to reduce your score.
(more)
7 months ago
Comment Post #292354 I've now edited to make the input format more flexible. Specifically, yes you can take input as an array of digits.
(more)
7 months ago
Edit Post #292354 Post edited:
Make input format more flexible
7 months ago
Comment Post #292354 Allowing an array of digits (as integers rather than characters) would bring the python answer down to 27 bytes. I did intend this as a very quick challenge, so I'm now considering allowing input as any of: - a number (such as integer or floating point number) - a string - an array of character...
(more)
7 months ago
Comment Post #292354 Actually allowing input as a string would only take the python answer from 37 bytes to 32, so I was probably overstating "bulk of the challenge".
(more)
7 months ago
Comment Post #292354 Oh good point. I hadn't thought of that. Usually I like input formats to be flexible as long as the input format doesn't constitute preprocessing. In this case I feel like separating the input into digits is the bulk of the challenge. I've currently specified input as an integer, so the existing p...
(more)
7 months ago