Hot answers tagged

36

You can follow this format: Introduction Briefly describe the challenge. Provide a short background for your challenge. Briefly answer the following questions for your readers. Why is this challenge interesting? Did you create the challenge? Give credit and provide links to your sources. A short paragraph will work just fine here. We do not need a book. ...


28

Where is the sandbox? The sandbox is located on this meta post. Sandboxed challenges are posted as answers to this question. Why should I use the sandbox? You might be thinking, perhaps, why would you stage questions on the sandbox instead of posting them directly? To answer this, let's see what could happen if you post it directly: If your question is ...


23

How long should I leave a question in the sandbox? In general you should leave a question at least 72 hours to ensure that the people who check it fairly regularly will have a chance to see it and comment.


21

The accepted answer is the answer that wins the challenge As defined by the objective scoring criterion the challenge writer gave the challenge when it was created. That's it really. If there are unforeseen circumstances that cause ambiguity on what the winning answer is (say a challenge is tied with no tiebreaker specified) then the challenge writer should ...


19

There are two different usages of "code golf" here: The tag code-golf is applied to challenges which involve competing to produce the shortest valid source code. More details and a list of challenges can be found by clicking on the tag name. This website, "codegolf.stackexchange.com", has the full name Programming Puzzles & Code Golf. This site has ...


19

I have not had any suspensions over 30 minutes in the past month. This isn't true. There was completely no warning about it. You were reminded of our rules and guidelines on multiple occasions, and occasionally kicked. Several messages of yours were moved to trash. You chose to ignore those warnings. I do not think I posted anything too controversial,...


18

Regarding that message You must have no idea what the Nazis were/are or what they have done if you think calling someone a Nazi for deleting chat messages or handing out 30-minute suspensions is even remotely acceptable. Other parts of the internet may tolerate these insults, but this is not one of those parts. Stack Exchange's prime directive is to Be ...


18

Yes, the winning criterion needs to be specified in the challenge First, tags like code-golf where the winning criterion is obvious in theory. You're right that it's probably not entirely necessary, but especially with newer users it's often not clear whether they just picked a suggested tag without even being aware of the concept of winning criteria. To ...


18

Answered in order Yes They are different versions. Maybe It would depend upon the challenge in question. Some specify that major versions (e.g., Python 2 vs Python 3) are considered the same language, some have them different. No Just like how Perl and other languages get certain flags "default" for free, the same would be for this. If it's required ...


17

So I guess senpai noticed us. See below for a special note from Grace Note. Congratulations, you're graduating!


17

Workman or no Workman, you littered TNB with gibberish. One of your posts got flag-deleted, which results in an automatic 30 minute suspension. The suspension will wear off in 10 minutes.


16

Nothing is wrong with your question. There are questions with a lot more upvotes which haven't received answers in months or years. Your challenge has only been up for a few days, and due to the requirement for optimality it's moderately difficult. Sometimes it can take a while for answers to come in, and sometimes you'll only get one or two. Just keep ...


16

Technically speaking, you can, as one of the official reasons to edit an answer is to ▶ add related resources or links That being said, here at Code Golf Stack Exchange, we're quite conservative about editing others' posts, and instead prefer leaving comments so the post author can decide what to do about it. Note that in any case, until you reach 2000 ...


15

Template for Challenge Proposals Every proposal should contain several fixed pieces of information, including a title, the tags you intend to use and body of the challenge as you intend to post it on main. For a more uniform look of the sandbox (and easier orientation of reviewers), it is recommended that you use the following markdown template: # My ...


15

We've been over this before. Long-term suspensions are rarely handed out because of a single message. However, you constantly succeed in lowering the signal-to-noise ratio. You have been told several times that this isn't acceptable in The Nineteenth Byte. We've failed to see any improvements in your behavior since your last suspension. The large amount of ...


15

Don't worry about clogging the sandbox In fact, thank you for using it — I wish every new contributor did so! Every once in a while, we have created a new sandbox because the old one simply got too full. You'll find that many experienced users have several unfinished ideas lingering there too. When you post your challenge to the main site: Edit the sandbox ...


14

A quick glance at your reputation history reveals that your answer was unaccepted (-15) and got an upvote (+10). The sum is the -5 you saw in the notification area.


13

I don't think it should be necessary to check your questions - a new answer will give you a notification anyway, and the front page doesn't turn over fast enough for an edit to be easily missed. But I do think the accepted answer should generally be updated when a new winner is posted. Firstly, most questions don't state a time limit for answers, and unlike ...


13

Hooray, automatic CW has been completely removed network-wide! This is no longer a problem. status-completed!


13

I don't think that's a good idea. Why would you post the question already if no one can actually answer it at that point (since the rules aren't even decided yet)? This is exactly what the sandbox is for. You post the challenge spec there and include a couple of notes at the bottom about which things still need to be decided and what the options are. This ...


13

The code-golf tag wiki excerpt says: Code-golf is a competition to solve a particular problem in the fewest bytes of source code. If you want to score by characters instead of bytes, state this explicitly in the challenge. If source code length is not the primary scoring criterion, consider using another tag instead. While byte count is a part of your ...


12

All languages (which support input via an arbitrary stream of bytes) technically support images. An image file (PNG, JPG, GIF, etc.) can simply be processed without builtin image manipulation functions or image libraries. However, clearly it is impractical to expect code-golf answers to rewrite an implementation of PNG for every challenge. A popular image ...


12

Err... no. You should work on improving your challenge first. Your question is quite unclear, and fairly poorly formatted. By marking it as "On Hold", we signify to future users that challenges which aren't clear will be put on hold, and to further encourage the use of the Sandbox. You were suggested to use the Sandbox six minutes after the challenge was ...


12

Please Don't Correct me if I'm wrong, but how often do really old posts show up on the front page? Unless you keep editing them, not very often. So, now that the new decree has been set in place, let's just ignore the old posts and apply the policy to the new ones. I'm not saying that you're not allowed to edit a single post, but don't go looking through ...


11

Whenever submissions are required to be full programs, Java's standard boilerplate code (i.e. class and main, etc.) is required. When submissions are allowed to be functions, this boilerplate is not required.


11

Tips for golfing in Perl? does not belong on Meta. This is because Meta is for questions about the site Programming Puzzles & Code Golf, not for questions about Perl. Furthermore, our help center says that Non-challenge questions that are are related to solving programming puzzles or a particular type of challenge are also on topic. which means ...


11

You received a 7-day suspension because one of the mods saw your behavior and thought it was rude/inappropriate for respectful discourse. I say one of the mods, because us regular users don't know which one it was, and that is definitely a good thing. IIRC, being suspended multiple times automatically increases the length of the suspension, which is why it ...


11

Different people find different things offensive. While I personally don't mind some mild swearing, others might. Remember that it takes only six users (or less, if one is a mod) out of all SE users who see the first flag to get you a 30 minute suspension. Now, while I wouldn't have flagged the first message, I'm not so sure about the second one. You ...


10

Bear in mind that some questions don't belong on either the main site or the meta site. Some of these questions can still be asked on our main chat room. Examples of questions which should only be asked in chat: what do you think of my golfing language? If your question is about PPCG.SE specifically, post it on meta. Examples that should be on meta: ...


10

If a candidate is at a negative score, the score will display as your vote. So, if you didn't vote, it will display as 0; if you downvoted, -1, and if you upvoted, 1. The same question was asked on Mother Meta—twice—presumably the reasoning is provided in the linked duplicate of the first question and the answer of the second question.


Only top voted, non community-wiki answers of a minimum length are eligible