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
48
votes
1answer
3k views

When can APL characters be counted as 1 byte each?

Prompted by this. The question of APL's encoding often comes up, and many times a helpful soul links to Wikipedia's article on the APL EBCDIC codepage. However, each implementation of APL has its own ...
2
votes
1answer
136 views

Is it OK for an answer to not work from time to time if the language it's written in is probabilistic? [duplicate]

If an answer is written in a language that deliberately prevents the programs written with it from doing the same output/calculations/etc. every time by introducing randomness, should it be deleted ...
15
votes
3answers
355 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 ...
2
votes
1answer
241 views

Adding multiple answers to “Tips for golfing in [Language]” questions

I've been lurking in this community for quite a while and finally want to start participating and golfing. I'm mostly an iOS developer so I expect to golf in Swift and Objective-C. I recently added ...
13
votes
2answers
459 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 ...
1
vote
2answers
81 views

Answer validility after edits

We all agree that using language features implemented after the question was asked makes the answer non-competing. But what about after an edit to the question? Say Bob posts a question challenge. I ...
23
votes
12answers
2k views

Default acceptable image I/O methods for image related challenges

I do not feel that the default general acceptable I/O methods sufficiently cover image-processing and graphical-output challenges. So I would like to poll. What are the default acceptable I/O methods ...
4
votes
1answer
134 views

Behaviour on different computers

Whilst answering questions, is it Ok to use functions/bits of code where the output will be different for some computers? For example I was thinking about adding a new time type to PYKE where the ...
23
votes
3answers
1k views

Should Booleans be allowed where a number is required?

This is a rather common inquiry in contests that require computing elements of a sequence. For example, consider the following recursive implementation of the factorial function (Python): ...
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 ...
4
votes
2answers
144 views

Does drag+paste count as a valid form of input in Excel?

I recently answered in Excel, where my input was based on the user copying a cell's contents via drag and past over multiple cells, where the input n was the final ...
13
votes
4answers
402 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 ...
4
votes
1answer
268 views

Choosing outputs for challenges

When the program you write for a challenge writes/outputs to multiple of the default outputs, are you, the answerer allowed to state which one is counted for the purposes for the challenge? For ...
14
votes
3answers
425 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 ...
9
votes
1answer
365 views

Scoring Java lambdas with imports [duplicate]

In this answer, I used a java.util.List as a parameter to an anonymous function (lambda) answer. So, my question is, Should this import be counted to the byte ...
11
votes
7answers
774 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 ...
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 ...
11
votes
4answers
576 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" ...
2
votes
1answer
85 views

How to date languages

Some challenges refer to the year a language was released. If a release is dated on 31 December or 1 January, it may depend on locale. Should Github date be used as the official date (whatever locale ...
-9
votes
3answers
199 views

When can challenges be reused?

I have noticed that some new sandbox posts are being shutdown as duplicates of other much older posts. There is nothing wrong with that. But I think there should be a time limit after which ...
11
votes
2answers
267 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 ...
12
votes
2answers
410 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 ...
4
votes
3answers
210 views

Do I need to count the newline for Vitsy methods?

Background: Methods in Vitsy are defined by specific indices of lines of code. For example, if I wanted to call the second line of a program, I would call 1m to ...
24
votes
3answers
616 views

Is this an acceptable way to shave a byte in ES6?

Say there's a challenge with two inputs. Can we submit a function signature like this? a=>b=>... Instead of ...
15
votes
3answers
541 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 ...
7
votes
1answer
205 views

Should we require that programming languages be able to run locally?

In a recent meta thread the issue of "running locally" was brought up. The main issue is, as best I can put it, "Should we allow submissions in a language that cannot be run locally?" To be more ...
6
votes
1answer
191 views

“Good” Questions that are Incomplete

Edit I was mistaken about the links being bad in the mp3 challenge. It wasn't playing well with Centos but seems to be fine on Windows. As such, there are no grounds for closing that challenge. The ...
13
votes
1answer
417 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 ...
7
votes
1answer
217 views

Duplicates with different restrictions or no restrictions

Long ago, this challenge was posted, with the restriction that no numbers may be used in the source code. Recently, another challenge was posted, this time without any restrictions on the source code....
5
votes
3answers
169 views

Accepting numeric inputs in mixed decimal and unary bases

There seems to be agreement that numeric input is by default accepted in either decimal or unary bases. The linked meta-question doesn't address the issue of whether separate inputs of the same ...
11
votes
1answer
146 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 ...
12
votes
2answers
448 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, ...
18
votes
5answers
816 views

Guidelines for posting and closing popularity contests

In light of the controversy sparked by this question, I think we need to create a general "rule of thumb" policy on how objective a popularity-contest needs to be in order to be on-topic. The main ...
89
votes
45answers
21k views

Things to avoid when writing challenges

If there is something that you find annoying / counterproductive / unfair / detrimental / no longer funny in challenges (question posts), describe it in an answer here, and propose a recommended ...
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 ...
3
votes
2answers
159 views

Should we consider the starting mechanism for Minecraft programs?

Time to add to the list of Minecraft Meta Questions! So, my question is fairly basic. When we run programs in other langs through the command line, we don't count anything but their flags. For ...
34
votes
5answers
3k views

Definitive policy about answers not meeting the challenge specification

This question has been asked so often, I have no idea what our actual policy is: Almost-correct answers Should answers that break the rules be deleted? Should we flag and delete Not an Answer posts? ...
27
votes
5answers
1k views

What constitutes a “free” language for cops and robbers?

Recently Isaac proposed that using non-free, i.e. pay-to-use, languages for cops and robbers challenges should be considered a standard loophole. As Dennis stated in a comment, there is some ambiguity ...
19
votes
5answers
593 views

When should rule changes count?

Related: When is it allowable to change the rules? As noted in the linked meta post above, it's typically particularly frowned upon to significantly change the rules of a challenge after posting it. ...
10
votes
2answers
313 views

Is a single Zalgo character considered a single character?

I saw this question recently, and I was wondering the title of my question. Essentially is stuff like this: H̠̹͖ A single character in reference to questions that ...
6
votes
1answer
236 views

How strict is our list of admissible languages?

If a challenge gives a set of languages to choose from, how freely can I choose a version? Concrete example: I found a solution for a challenge in JavaScript. The challenge just lists a number of ...
7
votes
2answers
245 views

On the subject of testing code

Somewhat related In my Bernoulli Numbers challenge, I've been seeing a lot of invalid answers that fail to compute certain values to the required accuracy/precision, or that take substantially longer ...
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
1answer
696 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 ...
2
votes
1answer
170 views

When do I have to include things like Java's public static void main

Can someone tell me why sometimes people are including class C{public static void main(String[]a){...}} and sometimes that seems to be not necessary?(https://...
8
votes
4answers
536 views

Minecraft I/O Methods

Seeing as how we've discussed a size measurement for Minecraft redstone creations, I thought I'd follow that up with establishing standard output and input methods. Minecraft, obviously, does not ...
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 ...
6
votes
1answer
364 views

Machine code Input/Output defaults

We already have a question about default I/O for general code-golf submissions. However, entries in machine code have different built-in I/O capabilities from entries in high-level languages. Should ...
12
votes
2answers
437 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): ...
2
votes
5answers
310 views

Programming languages that do not match our default posting criteria

In the What are programming languages? meta post we seem to have come to the consensus put forth by Peter Taylor that: A purported programming language should be accepted as such if and only if ...