Hot answers tagged

51

Try It Online Try It Online has been created by Dennis and currently supports the following practical and recreational programming languages. (the snippet loads the current list) <h3>Practical</h3><div id="practical"><ul></ul></div><h3>Recreational</h3><div id="recreational"><ul></ul></...


39

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. ...


34

See also Stack Exchange Glossary - Dictionary of Commonly-Used Terms. Abbreviations marked with a star (*) are chat specific. Catalog: A type of simple on-topic challenge where the challenge's aim not so much to find a winner as it is to create a catalog of solutions in many languages. CG: Code Golf; a challenge to solve a particular problem with the ...


31

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 ...


25

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

Comments requiring reputation is an unfortunate situation, but it is (sadly) necessary to prevent comment spam. There is no manual override; the only way to post comments is to earn the 50 reputation points it requires. There are a few ways to achieve this. You might already be familiar with them, but I'll list them anyway. Post answers. You might not be ...


20

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 ...


18

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 ...


17

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 ...


17

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,...


17

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 ...


16

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 ...


16

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


15

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 ...


15

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.


15

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 ...


15

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

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

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 ...


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

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.


12

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 ...


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

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 ...


11

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 ...


11

No, as long as the winning criterion is already clear from the tags Most challenges on PPCG are code-golf. A lot of distraction, duplication, and possibly inconsistency is caused by having to re-explain in each of them what code-golf means. On the other hand, the probability and the cost of a new user mistakenly using the tag are small, as that is usually ...


11

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

Asking Asking good, high quality challenges is a key aspect of the site. Some users almost exclusively post challenges, and some prefer instead to only answer. However, asking is very different on this site than most forums or Stack Exchange sites. How do I post a challenge? It's very easy to post a challenge. Simply click the Ask Question button, choose a ...


11

Answering Unlike most Stack Exchange sites, answers here are typically easier to write than questions. However, there are a few things that every answer needs to include, and a couple of criteria they should meet. What should my answer look like? We have a standard format for answers, which you can get hold of in 2 main ways. If your language is on Try it ...


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