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
Comment Post #289782 Similarly if an answer gives 2 rules for string length, they cannot be separately voted on. For example, if someone says "string inputs only have to be supported up to N characters" but also says "for language X it's M characters" then someone may agree with the general rule but not with the exceptio...
(more)
over 1 year ago
Comment Post #289782 I was commenting as a hint to answerers. I don't see a problem with several related rules being discussed under one question - that's similar to how the other "default-rules" questions work. The concepts you have listed in the question are all very closely related, so I like them being in one ques...
(more)
over 1 year ago
Comment Post #289782 It might be easier to see community consensus if each proposed rule is posted in its own answer to allow separate voting. This will then be similar to the other Meta questions tagged "default-rules".
(more)
over 1 year ago
Edit Post #289782 Post edited:
Make title clearer and add default rules tag
over 1 year ago
Suggested Edit Post #289782 Suggested edit:
Make title clearer and add default rules tag
(more)
helpful over 1 year ago
Comment Post #289679 That's a good point. Currently the only restriction I can find is against non-free languages, and that only applies to one challenge type (so not to code golf): - [How free is "free" for cops and robbers?](https://codegolf.codidact.com/posts/282856) This doesn't change my opinion (I would still...
(more)
over 1 year ago
Suggested Edit Post #284894 Suggested edit:
Typo in title
(more)
helpful over 1 year ago
Comment Post #289679 It's tempting to think that multiplying by 4 would always be enough, but in general the duration on one computer will not scale linearly to the duration on another computer. For different code the scaling factor will be different (even for different solutions to the same challenge). I agree it cou...
(more)
over 1 year ago
Comment Post #289679 The time limit is a big part of my concern. Everyone can agree on how many bytes there are, but different computers will have different speeds and therefore different outputs if based on run duration.
(more)
over 1 year ago
Edit Post #287082 Post edited:
Tidy up intro wording
over 1 year ago
Edit Post #287082 Post edited:
Remove accomplished requirement to have all 66 compass points in the test outputs
over 1 year ago
Edit Post #287082 Post edited:
Remove ambiguity by not using the word "set" in the overview.
over 1 year ago
Edit Post #287082 Post edited:
Clarify secondary compass points
over 1 year ago
Edit Post #287082 Post edited:
More test cases
over 1 year ago
Edit Post #289678 Post edited:
Add finalized tag so it can be excluded by the filter in the question list
over 1 year ago
Suggested Edit Post #289678 Suggested edit:
Add finalized tag so it can be excluded by the filter in the question list
(more)
helpful over 1 year ago
Comment Post #289678 Finding test cases that work under several different types of rounding sounds like a good compromise - I hadn't considered that. This might allow you to write just one set of test cases that works for all approaches, which sounds much easier to work with.
(more)
over 1 year ago
Edit Post #287082 Post edited:
Mention possible Voronoi map diagram
over 1 year ago
Comment Post #289679 Generally I prefer a challenge to be specified in terms of its output, rather than its internal workings. So "the output must meet these criteria" rather than "you must use this algorithm". It is easy to verify that the output is correct, whereas it is difficult to prove that a particular algorithm i...
(more)
over 1 year ago
Edit Post #289678 Post edited:
Replace "a" with "an" before vowels
over 1 year ago
Comment Post #289678 The other problem with having many permitted approaches is that it becomes more difficult to write test cases. I recommend adding test cases to make it easier for people to check their own and each other's answers, particularly if unexpected edge cases appear. It is still possible to write test cases...
(more)
over 1 year ago
Comment Post #289678 I never know how much flexibility to include in a challenge. I want the challenge to be flexible enough to allow as many people and languages as possible to enter. I also don't want too much flexibility as this puts a burden on the people solving the challenge. For example, if there are 2 permitte...
(more)
over 1 year ago
Suggested Edit Post #289678 Suggested edit:
Replace "a" with "an" before vowels
(more)
helpful over 1 year ago
Comment Post #287082 I wanted a unique name for each compass point, in the same way that real compass points have NW but not WN. I'll think about whether that requirement could be dropped, and I'll also think about how it could be better explained if I keep it.
(more)
over 1 year ago
Edit Post #287082 Post edited:
Specification golfing
over 1 year ago
Edit Post #287082 Post edited:
Subdivide definitions section
over 1 year ago
Edit Post #287082 Post edited:
Adjust test case format to allow for multiple valid outputs
over 1 year ago
Edit Post #287082 Post edited:
Add heading to isolate brief intro
over 1 year ago
Edit Post #287082 Post edited:
Use integer inputs to be inclusive of more languages and approaches
over 1 year ago
Comment Post #289604 For anyone else testing this, note that `bit_count` requires Python 3.10 or higher.
(more)
over 1 year ago
Comment Post #289604 ```text Input: 17609903308800 Expected: 36 Actual: 36 Input: 18441077155848519679 Expected: 1 Actual: 0 MISMATCH Input: 18440988645153550335 Expected: 2 Actual: 1 MISMATCH Input: 9214294468855857151 Expected: 1 Actual: 1 Input: 18300371588261871615 Expected: 1 Actual: 1 Input:...
(more)
over 1 year ago
Comment Post #289604 ```text Input: 0 Expected: 64 Actual: 64 Input: 18446744073709551615 Expected: 0 Actual: 0 Input: 12273903644374837845 Expected: 0 Actual: 14 MISMATCH Input: 9819010546270478865 Expected: 16 Actual: 9 MISMATCH Input: 9223372036854775808 Expected: 61 Actual: 61 Input:...
(more)
over 1 year ago
Comment Post #289604 (Note that the test case failures are not related to the suggested change - they are already failing.) In case it's helpful (or in case I've made a mistake), the code I used for testing is [available as a GitHub gist](https://gist.github.com/trichoplax/bc5dcc53c6bdd111a3a51c294fc86df9). It gives t...
(more)
over 1 year ago
Comment Post #289604 The good news is you can save a byte by not putting the `return` on its own line. The bad news is some of the test cases fail.
(more)
over 1 year ago
Edit Post #288755 Post edited:
Mark as finalized
over 1 year ago
Edit Post #289542 Initial revision over 1 year ago
Question 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 simply the first word in the word list that matches, but once a word has been suggested it is assumed that...
(more)
over 1 year ago
Edit Post #288755 Post edited:
Clearer example headings
over 1 year ago
Edit Post #288755 Post edited:
Make input section more precise
over 1 year ago
Edit Post #288755 Post edited:
Make example wordings more precise
over 1 year ago
Edit Post #288755 Post edited:
Add description of test case format and quotes around outputs
over 1 year ago
Edit Post #288755 Post edited:
Add test cases
over 1 year ago
Edit Post #288755 Post edited:
Unordered list formatting fix
over 1 year ago
Edit Post #288755 Post edited:
Add edge case to algorithm and add extra examples
over 1 year ago
Edit Post #287110 Post edited:
Link to main Meta discussion
over 1 year ago
Edit Post #287207 Post edited:
Make rule explicitly reference the test cases
over 1 year ago
Comment Post #287207 I'm sorry for overlooking the other question. I have now edited the challenge to state that a maximum input length of 16 characters must be supported. This is based on the previously existing rule > Provided your output is correct for each input, your code is valid combined with the longest ...
(more)
over 1 year ago
Edit Post #287207 Post edited:
Be explicit about maximum input length
over 1 year ago
Comment Post #287207 In hindsight, it might have been better to make the input a single character, so that there is only one challenge (the conversion), separate from processing a string or other sequence type. I will bear this in mind when designing future challenges, but I'm going to keep this challenge as it is (re...
(more)
over 1 year ago
Comment Post #287207 Interesting question. I see that as a separate, slightly smaller, challenge. If you write code that works for a single character, then to be a valid answer here it would need to also include the code to call that for each character in the input.
(more)
over 1 year ago