Idea for a challenge, worth posting? This is a list of classes of natural numbers. Take a natural number n as input. Output one or more of m distinct consistent values that indicates which of those classes n is part of. You may choose m (i.e. how many classes you handle) but highest m wins
Let me change it slightly: that's a list of classes. That challenge, but where I removed classes that overlap/are too similar to trivialise. Worth posting?
Also, I think I saw a similar challenge before, where you're supposed to implement multiple number classes with very little similarity. IIRC the reaction was not very great
Donāt get me wrong, thereās some answers that have solid insight that win a challenge, but Iāve never seen a stack based language win because itās stack based, but I have seen tacit languages win because their tacit structure allows them to win
@Lyxal Typically, stack based languages treat functions the same way they treat anything else. Tacit languages fully change their parsing depending on āquicksā
@Lyxal Aside from being a mod, there is nothing that can give me more power on the site, so I no longer care about rep (aside from the rep count badges) :P
@RedwolfPrograms Something about being cursed whenever they get to 8k
@Bubbler 05AB1E and Husk having single byte builtins for power set and permutations, while Jelly has a whole byte dedicated to āPrint the Jelly representation of the argumentā never fails to annoy me :/
@JoKing Just one thing: it got marked status-review in the recent events to deal with outstanding bug reports. I tried to talk to a CM about how important it is here, but didnāt get a response. Iād recommend suggesting/emphasising just how important it is here
Itās more than just a bug; itās actively making the site quality worse
I've been able to reproduce this with a sock puppet account. I agree this shouldn't be happening and we should see what checks are in place and causing the inconsistent behavior. This issue has been added to our backlog and once we address it, will have the team update here. Adding status-deferre...
Go annoy that CM, see if we can get an important bug fixed
I can't imagine it taking too much effort to fix, although I'm sure they'd gladly kill of a few small sites if it means they can use dev time for the profitable sites
I can understand not doing much if it only affects one site; however, when it affects 2 of the most active sites (judging by HNQ posts) on the network, and itās about new users, which SE has made priority #1, I donāt get how this is still a bug
Since a rep requirement to ask would require major changes from SE anyway, I'd suggest making the sandbox special in some way so that upvotes in the sandbox count for something like +2 or +5 rep, then add the rep minimum and replace the "ask question" button with "visit sandbox"
I was just imagining how funny it would be if the "ask question" button is replaced with "visit sandbox" but new users are not allowed to write a sandbox post until they get 5 rep
I don't know if deadlines are a thing with these coding challenges, but...
Deadline: March 31, 2021
In this coding challenge you need to make the fastest multi-dimensional array sorting algorithm.
I will choose the fastest one on March 31, so get yours in before then!
Here are the rules:
You...
I was asked by OEIS contributor Andrew Howroyd to post a Code Golf Challenge to extend OEIS sequence A049021.
Would be super great to get a couple more terms for [...] A049021. Kind of thing [...] team golf would excel at.
Besides wanting more terms in the sequence, I think it's a positively lo...
this one's fine, they're interpreting unclear as "something for which I am too dumb to click on links, read and understand" rather than "something that's poorly specified and unexplained"
I really want to prove that any homeomorphism is a sequence of "obvious" transformations + rotation and reflection, but the homeomorphism is so abstract.
All non-square corners are adjacent to at least 3 and at most 4 edges. And the number doesn't change after the transformation.
For today's task, we have two programs, P and Q, both in the same language. Each of them receives a single-character input.
If P receives character K, P says how many times K appeared in Q. (You can use any output format for P or Q; they need not be the same, the only requirement is that your for...
Given this pseudocode quicksort (taken from here, modified):
algorithm quicksort(A, lo, hi) is
if compare(lo, hi) then
p := partition(A, lo, hi)
quicksort(A, lo, p)
quicksort(A, p + 1, hi)
algorithm partition(A, lo, hi) is
pivot := A[ floor((hi + lo) / 2) ]
i ...
Draw the parabolic trajectory of a thrown ball.
The input is the ball's initial upward velocity, a positive integer v. Every second, the ball moves 1 space right and v spaces vertically, and then v decreases by 1 to due to gravity. So, the upward velocity eventually steps down from v to 0 and d...
Your friend has been caught sleeping in class again! As punishment, his computer science teacher has assigned him homework, knowing that he will not be able to solve it due to not having paid any attention.
The assignment seems deceiving simple at first; all that is required is to output the stri...
Your friend has been caught sleeping in class again! As punishment, his computer science teacher has assigned him homework, knowing that he will not be able to solve it due to not having paid any attention.
The assignment seems deceiving simple at first; all that is required is to output the stri...
yeah lmao the best part is it's not even an overall system setting, you have to do it for the individual device based on multiple id numbers you have to dredge out from driver update logs