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
11
votes
5answers
454 views

How to count languages?

A common problem for rosetta-stone and polyglot challenges (and some code-challenges) is to decide when two different languages/dialects are different enough to be counted separately. Common ...
11
votes
2answers
649 views

Are questions from Google Code Jam, TopCoder, etc. on-topic?

The original proposal is for "Code Golf and Programming Puzzles". I think this suggests that discussion of questions from programming contests should indeed be on-topic---as long as they're not ...
11
votes
0answers
273 views

If we can require a particular domain, can we require a particular path?

Background Following on from this question where it was decided that, as we define languages by their implementation, JavaScript solutions could include a requirement that they be run under a specific ...
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 ...
10
votes
2answers
278 views

Should there be defaults for tiebreakers in tag wikis?

In the code-golf tag wiki, there are defaults for scoring if not specified (in bytes). Recently I have seen some questions what to do in case of a tie. My proposal is to make this a default in the tag ...
10
votes
4answers
806 views

Is the current time or date with modulo random enough?

Several questions have recently been asking about random. I see a lot of answers in those questions using the date not as a seed but as the random number that is then modulo'ed. Seen in Java: ...
10
votes
1answer
257 views

What to do about mathematical concepts with different definitions?

You must be wondering, why is this a so important subject? Well, take the example where a challenge asks you to take a "natural number" as input. What's a natural number? A non-negative integer, or a ...
10
votes
3answers
350 views

What assumptions about the file system layout can be made?

At times, it may be advantageous for a solution to a challenge to make certain assumptions about, for example, the directory from which it is run. For example, a bash script that compiles and runs a ...
10
votes
3answers
638 views

Should non-standard compiler flags be included in character counts? [duplicate]

In some languages using a compiler flag might significantly shorten the source file, by making the compilation command longer. Should we make inclusion of the character count of the flag in the total ...
10
votes
1answer
206 views

Post other people's code?

Some people are very good code golfers but for their own reasons do not want to join PPCG. Is it acceptable to post their solutions as answers to challenges? If at all acceptable, I would personally ...
10
votes
1answer
297 views

Is a transliteration tool enough to grant count as SBCS?

Prompted by this. I'll speak about Dyalog APL here, but this could really apply to any language. Background Dyalog APL has its own SBCS called ⎕AV. For backwards ...
10
votes
1answer
206 views

How do we post solutions from external sources?

Sometimes a problem is already solved elsewhere on the internet in an impressive fashion. Quite often people post these answers as well (with attribution to the original author). Of course, there is ...
10
votes
1answer
288 views

Truthiness in Brain-Flak and similar stack-based languages

Stack-based languages don't necessarily fit in the pseudo-code model that constitutes our definition of truthy and falsy: ...
10
votes
2answers
215 views

Is presenting a challenge with the intent of using the best answer in an open-source project okay?

First and foremost: I understand that all answers posted on Stack Exchange sites are required to be licensed under CC BY-SA 3.0 and that attribution is required. This is less of a licensing question ...
9
votes
4answers
503 views

Should obfuscated JavaScript be allowed?

I had posted an "obfuscated rickroll in Greasemonkey" challenge, which I have deleted in response to Mike Bethany's comment that answers to the question would be of primary use to "spammers." In ...
9
votes
7answers
238 views

Default policy for ouput in decision problems

Challenges tagged as decision-problem involve "deciding whether the input meets certain criteria". Although some challenges with this tag involve more than two categories, most involve only ...
9
votes
2answers
350 views

So what happens now?

Martin Ender is stepping down as moderator. We had a moderator election only about half a year ago. There were three candidates, of which two were elected. The last candidate was PhiNotPi. Do we ...
9
votes
1answer
203 views

The StackEgg tag

As many of you know by now, Stack Exchange added a minigame that looks like an advertisement at first glance to the right hand panel of all Stack Exchange sites. The game is called StackEgg and it's ...
9
votes
2answers
283 views

Omitting trailing closing parentheses in Excel

When golfing in Excel, it is often possible to omit closing parentheses at the end of an expression. Excel will detect this, add the missing closing parentheses and ask if this is what was meant. ...
9
votes
2answers
334 views

Dumping the output as an answer

Sometimes, on kolmogorov-complexity challenges with a constant output, we get extremely boring answers that make absolutely no effort to compress the output whatsoever, and instead just literally dump ...
9
votes
1answer
189 views

What should the policy be on partial answers? [duplicate]

What should our rules be regarding partial answers? For example, answers to code-golf questions that are not yet golfed answers that almost work, but not quite (answers that require a simple bugfix) ...
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 ...
9
votes
1answer
151 views

Posting a challenge framework?

I'm a big fan of king-of-the-hill, and I'd like to see more of them. One of the problems is that they take a bit of work to set up and run. More than your average code-golf question, for instance. ...
8
votes
3answers
294 views

Should character counts be mandatory?

In code golfing questions it is tedious to copy-paste everyone's solution to see how long it is. Should having character counts for each submission be mandatory? There are various examples of this ...
8
votes
4answers
542 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 ...
8
votes
3answers
264 views

What should the policy on improving or incorporating other people's solutions be?

Sometimes, when looking at other people's golfing attempts, you see a trick that will improve your own one, or you might see a glaring improvement that is not entirely obvious to OP. For instance, in ...
8
votes
1answer
247 views

Strike-through previous character counts

I often notice posts which contain strike-through versions of previous character counts, like this: Perl (123 111 chars) I don't see this practice mentioned anywhere in the FAQs, nor here on meta. ...
8
votes
1answer
177 views

Should question proposers be expected to have a coded answer before they propose?

All too often I look at questions proposed here and I think: "The proposer clearly doesn't have a running solution to this question." Should we make it an expectation that before posting a question, ...
8
votes
1answer
225 views

What are string literals?

Some questions like Significant Whitespace disallowed string literals. But what are string literals exactly? If I interpret this literally, almost everything in Bash or Tcl are string literals. For ...
8
votes
2answers
208 views

Policy on answering challenges with cumbersome I/O

We've probably all seen new users ask questions with cumbersome I/O rules, like mandatory taking the input by reading separated lines of STDIN and outputting to STDOUT to give an example. In those ...
7
votes
3answers
515 views

1 on 1 language mappings “legal”?

Basically, what the title says. Is creating a new language specifically for Golfing, with some predefined names and imported methods (I'm talking about my PYG language, but there are possibly others ...
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 ...
7
votes
1answer
239 views

Null Bytes disqualifying submissons

If a program prints out null bytes and those null bytes are not part of the specification, does this disqualify the program although these bytes are unreadable?
7
votes
1answer
269 views

Should you answer a competitive question if your answer is not competing / is not competitive?

I'm curious, because some answers seem to be posted regardless of the winning answer. Should non-competitive answers be posted when better answers exist for entries of the same language?
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 ...
7
votes
2answers
294 views

Is a popularity contest a duplicate of a code golf (and vice versa)?

I've noticed this happening a few times: A challenge that is very similar to an existing code golf challenge is posted as a popularity contest, or the other way around. There seems to be very little ...
7
votes
4answers
295 views

How do we define “deterministic”, and is it required by default?

We seem to have implied restrictions that code submissions should be deterministic, but this doesn't seem to be well-defined or explicitly restricted as a loophole. The closest loophole is this one. ...
7
votes
1answer
105 views

Handling old, popular, creative, but non-competitive answers

Take a look at this answer: Produce the number 2014 without any numbers in your source code. This is the most upvoted answer on our site right now. However, as many have pointed out, by modern ...
7
votes
2answers
224 views

Definition of a Function in Concatenative Languages

Concatenative languages are languages where juxtaposition of functions represents composition. Programs consist of the primitives in the language combining to form a large function which takes program ...
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....
7
votes
2answers
395 views

What mouse interactions are allowed by default as part of Input/Output?

Essentially, a user's answer in Excel (now deleted) uses the drag-down formula feature of Excel, as described in the linked related meta question. I thought that from the highest voted answer to that ...
7
votes
1answer
228 views

Golfing Inform 7

Inform 7 is a language for creating interactive fiction whose syntax approximates natural language. It is so verbose that it will almost never be a good choice for golfing, but its verbosity is its ...
7
votes
2answers
2k views

Brainfuck challenges?

EDIT: Clarified my point after seeing dmckee's answer. I just discovered brainfuck and find it really amusing. It seems to me that it is a perfect material for programming puzzles (especially code-...
7
votes
0answers
172 views

Should we systematically treat code that crashes compilers/interpreters as malicious? [duplicate]

Despite having What qualifies as malicious code?, the consensus seems really unclear on that point, because this question seems to be valid, and that one isn’t. In the current case, please note the ...
6
votes
3answers
219 views

Command Line Arguments in Polyglots

It occurs to me that there isn't really a general consensus on how command line arguments should be treated in polyglots. So... What should the consensus on command line arguments in polyglots be? I ...
6
votes
2answers
438 views

Is outputting a Maybe acceptable in Haskell? [duplicate]

The vote on this output option has moved here. Haskell has a very strong type system, so there is a type called Maybe to work around some restrictions. The ...
6
votes
5answers
372 views

New contest type proposal.

I'd like to suggest that to date we have missed a class (or maybe two) of programming puzzles. ai-player would indicate a game played against a defined (but initially unknown) input or against a ...
6
votes
1answer
237 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 ...
6
votes
1answer
367 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 ...
6
votes
1answer
156 views

Questions based on a puzzle book

(A few related meta questions) I know of a couple logic puzzles that I think would make good questions for this site. However, they are not original to me. I got them from this puzzle book. With ...