Questions tagged [policy]

This tag indicates that your question is about site policies. Usually, new proposals for policies or questions about existing ones will have this tag

Filter by
Sorted by
Tagged with
17
votes
3answers
1k views

Do programs have to terminate?

This is related to Sp3000's question earlier, but probably a separate issue: Are programs required to terminate, provided they print the desired output before entering an endless loop and can be ...
16
votes
1answer
952 views

Keep your golfing in your code, not in inputs and outputs

I am becoming more and more annoyed at the ever-increasing number of rules about what is deemed acceptable as inputs and outputs to programs Here is a compilation of such rules that I found: ...
16
votes
4answers
598 views

What are the policies for threads relating to Facebook Puzzles, Project Euler, UVa, SPOJ, etc.?

Related question. Questions from Facebook Puzzles, Project Euler, UVa, SPOJ, and the like do not expire, unlike Google Code Jam or TopCoder. Therefore, in order to be able to discuss such problems ...
16
votes
4answers
880 views

Can serious contenders do more than the challenge asks for?

As our help center likes to put it: All solutions to challenges should: Correctly implement the required specification. Be a serious contender for the winning criteria in use. For example, an entry ...
16
votes
2answers
1k views

Can numeric input/output be in the form of byte values?

This answer just prompted a question, which I've wondered about a few times when answering challenges in esoteric languages: For some esoteric languages, the only means of input/output is reading and ...
16
votes
1answer
189 views

Are bots allowed in The Nineteenth Byte?

People seem to know that active chat bots are prohibited in TNB, but I don't see that written anywhere. Is this indeed so? And if so, are pure listening bots that never speak also prohibited? These ...
16
votes
1answer
403 views

What are the standard requirements for answering a [random] challenge?

There are lots of of challenges involving randomness. However, not all languages have a built-in method for randomness. Some languages, like python or most golfing languages make it really easy. You ...
15
votes
7answers
774 views

What should our policy on insults, vulgarity, profanity, and other possibly offensive material be?

A very popular challenge was recently deleted due to attracting material that could possibly be considered hate speech or offensive to some people. We probably need an official policy on how much ...
15
votes
1answer
352 views

Can we make use of abandoned sandbox posts?

Over the years a lot of challenges have accumulated in the sandbox(es) which never made it to being posted on main. Some of these were probably abandoned because they were duplicates or had unfixable ...
15
votes
3answers
542 views

Is the empty string an acceptable decimal representation of 0?

In a recent question for which the correct output for 1 is zero, an answer output ; i.e, nothing. Is this an acceptable base-10 ...
15
votes
2answers
2k views

Clarifying “serious contender” in the help center

The help center says: All solutions to challenges should: Correctly implement the required specification. Be a serious contender for the winning criteria in use. For example, an entry to ...
15
votes
3answers
276 views

Temporary files and code golf

In shell scripts, one can oftentimes save a few bytes by creating temporary files instead of storing information in variables. Given that the lion share of the work is usually done by invoking ...
15
votes
3answers
136 views

Should we standardise how percentage bonuses combine?

Some questions have a number of bonuses stated as percentages. For code golf (where the majority of these bonuses are seen) these will be percentage reductions of the score. If an answer achieves ...
15
votes
1answer
344 views

What to do about widely disliked questions that don't technically break any rules?

Sometimes a question is posted that widely disliked (often due to being too easy, or being excessively arbitrary, or playing around in a space that's been mostly comprehensively covered without ...
15
votes
3answers
357 views

PopCons and Graphical Output

Previously: How do we close questions without an objective validity criterion? Guidelines for posting and closing popularity contests Would "render the Mona Lisa in 1000 bytes" be on topic ...
14
votes
4answers
1k views

On GolfScript and language bigotry

I'd like to receive people's opinions on languages "designed for golfing", such as GolfScript and FlogScript. However, since there are no FlogScript submissions on the site as of current writing, this ...
14
votes
2answers
273 views

Defaults for reading several pieces of input

When reading several pieces of input as command-line arguments, it is common practice to read each piece as a different argument. The command-line arguments now provide an array of the input pieces. ...
14
votes
3answers
426 views

Should language-specific code golf challenges be explicitly disallowed?

In light of a recent code golf challenge in which the specification restricts participation to JavaScript, I think it's time we revisited making a hard rule about language-specific golfs. We may ...
14
votes
1answer
685 views

Is HTML/CSS a programming language?

CSS can simulate rule 110 and thus is turing complete. Thus HTML + CSS is considered a programming language for our definition. However, as user @TimmyD mentioned appropriately HTML+CSS is Turing-...
14
votes
4answers
313 views

How should we handle answers that predate standard loopholes?

There was a time—a dark, dark time—in which there were no standard loopholes. Since we began classifying certain things as loopholes and banning their use, the overall quality of the content on this ...
14
votes
1answer
634 views

The smallest Android app in the world

I am interested in understanding what is the smallest Android app possible that the OS will allow to be installed. It need not have any function or interface (or even any executable code) - it just ...
14
votes
1answer
237 views

Should [tips] also be tagged with the challenge type?

We've got 93 tips questions. 61 of those also have the code-golf tag. I suspect that actually all 93 of them (or at least 90) are actually tips for code golfing. So this seems like fairly inconsistent ...
14
votes
1answer
446 views

Are challenges that may not be solvable on-topic for PPCG?

Consider the following example challenge: Given a set of integers, output a truthy value if there is a non-empty subset whose sum equals 0, or a falsey value if no such subset exists. Solutions ...
14
votes
1answer
395 views

On using multiple languages for a singular code golf submission

I was wondering if it were possible to use multiple languages in the same submission. Not a polyglot, but using each of the languages. I have two thoughts on this. One language invokes the other. Let'...
14
votes
3answers
563 views

Closing old question as duplicate of a new one

What is our policy regarding closing an old challenge as a duplicate of a new one? I know this happens on other sites (at least SO), if the newer question is generally better or usually if it gathers ...
14
votes
1answer
442 views

What should count as “not an answer” here? [duplicate]

Lately, I've seen a bunch of poor answers flagged as "not an answer" (NAA) in the flag review list. Such flags seem to be controversial, even among reviewers. For example, at the moment: this ...
14
votes
1answer
231 views

What should be the process for updating an established consensus?

There's many cases in which someone has a question about what site policy should be, people come up with suggestions, and one of them becomes highly popular and thus is treated as a rule. So far, ...
14
votes
1answer
326 views

Closing a more general challenge as a duplicate

Recently there has been a bit of debate as to whether this question is a duplicate of this question. So I though I would bring it to meta where we can have a constructive conversation, not only about ...
13
votes
2answers
709 views

String input with or without “”?

When challenges require to read a string via STDIN/Console I have seen people interpreting that in mainly two ways. The first one was that you actually just have to type the string as ...
13
votes
2answers
463 views

Is a language with an extension a valid golfing language?

In a current challenge, Falsify brief truths, @Lynn proposed an edit to my Haskell answer that requires the ...
13
votes
4answers
404 views

What qualifies as malicious code?

We've decided by community consensus that challenges asking for malicious code are off topic. But the question remains: At what point do we consider code to be malicious? Most of the time it's ...
13
votes
1answer
698 views

What are our rules about additional code accompanying function submissions?

This is an extension of this meta question. I've always assumed that function submissions were allowed under the premise that the code would be evaluated once and would in the process either: Define ...
13
votes
3answers
1k views

Counting bytes for multi-file programs

So far, submissions consisting of multiple files have simply been counted by summing up the scores of the individual files. Also file names aren't counted as long as they are arbitrary. (We do count ...
13
votes
2answers
251 views

Tagging: are we doing it wrong?

I wanted to post this for a while... First off, I think that we're not tagging enough. Currently, we have an average of 2.1 tags per question. I've checked some (thematically) comparable sites, and ...
13
votes
2answers
266 views

Is function returned by first invoke of a currying function submission required to be reusable?

As per past discussion, function submissions should be reusable. And, currying function may be a valid submission. Consider a challenge which require 2 inputs x, ...
13
votes
1answer
420 views

We Built a Programming Language… right?

Recently, Mego, quartata, CᴏɴᴏʀO'Bʀɪᴇɴ and I (VoteToClose) (building upon the work of ProgramFOX et al.) built a chat bot named Data that can run code for several different esoteric languages (and ...
13
votes
2answers
380 views

How to count programs in Folders?

Folders is an esoteric programming language without any files at all. Instead, the program is represented by the directory structure instead, so our normal rules for counting the file size of the ...
12
votes
2answers
450 views

On downvoting questions of users not in the know

Recently, I encountered this question where a user had posted a challenge to make an ArrayList and manipulate it in certain ways, very basically. This poster obviously did not understand the site, ...
12
votes
1answer
801 views

Can Coderbyte challenges be posted here?

Recently the challenge Word with greatest repeat of letters was posted. The OP said that it was inspired by a question on Stack Overflow, in which the user sought assistance with a solution to a ...
12
votes
2answers
412 views

Does using SMBF count as a cheating quine?

There has been some debate about whether or not using Self-Modifying Brainfuck counts as a "cheating quine": Write a Metaquine Golf you a quine for great good! About SMBF: The program's source ...
12
votes
2answers
439 views

How do we treat default output formats such as “ans = …” etc.?

In MATLAB and Octave, the default output looks like this (I guess this is relevant for other languages as well): ...
12
votes
1answer
168 views

Amend FAQ to state that language-agnostic is the default

In the meta question Is [language-agnostic] an appropriate tag the top-voted answer is in favour of eliminating the language-agnostic tag provided that we make it clear that our intent is that all ...
11
votes
7answers
775 views

The state of chat

I was recently alerted to our increasing noise-to-signal ratio we have in chat, something I can definitely see looking back. While discussing it in chat, people mentioned that they still enjoy the ...
11
votes
4answers
1k views

Should we combine answers where the same code works in many different languages?

Take this recent challenge for example. There are many languages where the shortest solution is simply *. Likewise, for other trivial challenges, the same 1-byte ...
11
votes
1answer
330 views

Multiple answers in a single post

Is is acceptable to bunch together multiple answers in a CW post just because the challenge is trivial? See e.g. https://codegolf.stackexchange.com/a/151280/43319.
11
votes
3answers
377 views

Can JS answers require the code to be run at a certain domain?

In challenges that require loading remote data - e.g. "What's my PPCG ID?" - some JavaScript (or other languages that may be run in the browser) answers may rely on being run at a certain domain (...
11
votes
1answer
268 views

Should we have a new, improved matrix determinant challenge?

There is currently a challenge to compute the determinant of a matrix. However, it was written 5 years ago, before our current quality standards were established. It falls short of those standards in ...
11
votes
2answers
270 views

What do we consider an “unfair advantage”?

In this standard loophole, we forbid gaining an unfair advantage by creating new language features or implementing a new language specifically to be competitive for a particular challenge that's ...
11
votes
4answers
578 views

What even is a “function” by our standards?

On a recent question, the following was brought up by @Sp3000: In fact, I'm almost starting to wonder what a "function" is, since it seems like every language with goto could define a "function" ...
11
votes
1answer
147 views

Guidelines for integrating unrelated code written by others?

Are there any guidelines on using code written by others for other challenges as a part of an answer to a completely different challenge? It's a bit of a special case, but I'll explain. I'm currently ...