@Anush Making a challenge on this site is really hard, mostly because people find all the ways to post a borderline invalid answer.
Although it's sometimes because people don't understand the specification and vote to close anyway
It would be interesting to see an answer in a static language (those without eval) to this question, but otherwise, different ways to do it in dynamic languages are okay too.
My phone number (which I will not be sharing here) has a neat property where there is a two digit number, which when iteratively removed from my phone number will eventually remove all the digits. For example if my phone number were
abaababbab
Then by repeatedly removing ab we would eventually ...
Dedekind, cut!
Objective
Given a Dedekind cut and a nonnegative integer \$n\$, print the real number represented by the Dedekind cut up to \$n\$ precisions, rounded.
Dedekind cut
A Dedekind cut representing a real number \$x\$ is a boolean-valued function on \$\mathbb{Q}\$ that gives a falsy valu...
500 rep to the shortest Dyalog APL submission to Is it almost-prime? that is less than 8 bytes
Once I see such an answer less than 8 bytes, I'll start a bounty lasting several days, following which I will award it to the shortest Dyalog APL solution at the end of the bounty.
Dyalog APL refers to ...
@10k+ users: The deletion mod tools have had the same few posts sat there for around a month now. It'd be good to get the last couple of VTDs necessary to clear it up a bit
Let \$\sigma(n)\$ represent the divisor sum of \$n\$ and \$\sigma^m(n)\$ represent the repeated application of the divisor function \$m\$ times.
Perfect numbers are numbers whose divisor sum equals their double or \$\sigma(n) = 2n\$. For example, \$\sigma(6) = 12 = 2\times6\$
Superperfect numbers...
First sequence with no square differences
Consider the sequence \$(a_n)\$ defined in the following way.
\$a_0=0\$
For all \$n\geq1\$, \$a_n\$ is the smallest positive integer such that \$a_n-a_i\$ is not a square number, for any \$0\leq i<n\$
In other words, this is the lexicographically first ...
First sequence with no square differences
Consider the sequence \$(a_n)\$ defined in the following way.
\$a_0=0\$
For all \$n\geq1\$, \$a_n\$ is the smallest positive integer such that \$a_n-a_i\$ is not a square number, for any \$0\leq i<n\$
In other words, this is the lexicographically first ...
Gemtext is a very simple markup format used by the alternative web protocol Gemini. Write a Gemtext to HTML converter.
From the Wiki:
A line of text is a paragraph, to be wrapped by the client. It is is
independent from the lines coming before or after it.
A list item starts with an asterisk an...
I think maybe one thing worth adding might be that the "Our automated system checked for ways to improve your question and found none." thing isn't just a missed opportunity for helping new challenge authors, but something that they might read as an implicit endorsement
hi, quick question: if I add a comment to my own solution, or edit it, will the person that initially downvoted see that/get notified? I don't mind a downvote once in a while, but it is sad I don't have any feedback as to why, since the submission is correct.
Posted at Convert Gemtext to HTML but moved here to discuss
Gemtext is a very simple markup format used by the alternative web protocol Gemini. Write a Gemtext to HTML converter.
From the Wiki:
A line of text is a paragraph, to be wrapped by the client. It is is
independent from the lines comin...
Close reason Closed % of total Edited % of closed Reopened % of closed Edited and Reopened % of edited
Opinion-based 1 1.59 % 1 100.00 % 1 100.00 % 0 0.00 %
Because that's hard to read: In the last 90 days, we had 1 question closed as Opinion-based. It got edited, and also reopened, but not edited and reopened
Hovering over it doesn't give any more information :/
I actually remember the post, lemme find it
I’m voting to close this as primarily opinion-based due to “similar languages (at my discretion) are disallowed” — caird coinheringaahingFeb 3 at 21:17
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...
All stats given here are correct at the time of writing. I can't promise that they'll stay exactly correct for a significant amount of time (and they most likely won't), but I'd be surprised if the pattern challenges significantly
Of the last 50 questions that were posted to main (and that are st...
My 2 cents are that we can't, new users are not only too unfamiliar with the site but also will probably not put in the effort to make a good challenge. Things like that combined with this sites very liberal IO and other rules means IMO that most people won't be able to turn their idea into something this site views as a good challenge.
I can't help but feel like new users should take the time to post a few solutions and get a feel for how we do things before trying to write challenges
sorta feel like you have to be a golfer to know what makes for good golf
@rak1507 I don't think we can 100% avoid off-topic/VLQ challenges from new users. But we can aim to minimise it as much as possible, and right now, we aren't
@UnrelatedString Honestly, I wouldn't be opposed to requiring 10 rep to ask
From the most recent question. This is a user who clearly wants to make an effort, and, if they knew about it and could, likely would have used the Sandbox
@RedwolfPrograms I support a low requirement (5/10) because it takes 1 answer upvote, or a few edits to get there, which shows some familiarity with the site
where I'd assume a vast majority of new users are there to ask a question, and that's great because they need help with something and the experts are there for that
But I don't support it enough to make an actual push for it, at least not until we start getting waves of VLQ questions
@user Calvin, the third user IIRC to reach 80k, the user with the second most gold badges and the inventor of answer-chaining has 26 answers and 278 questions
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"
We could fly to SE's headquarters, then in the dead of night we break in. We pick the lock on the server room and inject a custom payload. The site goes down for a little while. Then, we sneak out through the air ducts. We fly back to our homes, and the next morning the site's magically updated. A few people wonder how, but the meta posts magically vanish. Nobody will ever know.
On SO, at least, far too many questions have comments about just providing a more detailed error message and stuff, and a sandbox could help newbies significantly.
@user I have stats! By my previous definition of "inexperienced challenge author", there are 18 inexperienced authors in the last 50 questions. 12 don't have the Informed badge, 6 do
@mods (@JoKing @HyperNeutrino @WheatWizard), can the featured be removed from the Whispers LotM post and the Best of 2020 Votes and added to the Factor LotM?
In accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout March 2021, our Language of the Month, nominated by myself (Bubbler) will be:
Factor
What's a Language of the Month?
See the meta post for nominations. In ...