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
5
votes
2answers
180 views

Should we repost a challenge because of a changed consensus?

Golf you a quine for great good! is a great example, since it was posted before the quine consensus was made. That means it's cluttered with answers not following it. Should we repost challenges ...
7
votes
4answers
304 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. ...
1
vote
1answer
175 views

Is it permitted to upvote only to test submissions?

In order to properly test the submissions to Martin vs Dennis - Round 1, one would need to upvote the current lesserso their reps become equal, and then continue upvoting so the former lesser becomes ...
14
votes
1answer
233 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, ...
0
votes
2answers
87 views

What happens if I get upvoted but have already reached the daily limit?

The title says it all. I reached my daily limit today and noticed that one of my questions was upvoted after I reached the daily limit. What happens to the reputation? Do I get it tomorrow or is it ...
59
votes
7answers
935 views

A proposal to combat Meta Bloat™: The Big Consensus Freeze

I believe it's a widely acknowledged problem in this community that the number of meta posts a new user needs to know to figure out all the rules has long got out of hand. We require certain answer ...
1
vote
0answers
72 views

Can a language's True/False be used in place of their values in a sequence? [duplicate]

I'm asking this to find a consensus on whether it's okay for an answer to use True or False in place of the language's ...
0
votes
0answers
64 views

Can lambda parameter types be left off if potentially inferable from context? [duplicate]

This Java answer (and this one) uses a lambda that does not explicitly declare its parameter type, but this Scala answer includes a parameter type. in both cases, the type could be inferred when it is ...
2
votes
1answer
88 views

Is Ctrl-C one keystroke or two?

Preliminary question: is it valid to score Excel in keystrokes? I guess it is, but I'm not sure what our policy is. Assuming it is (or, in general, for languages that are scored in keystrokes), does ...
0
votes
1answer
260 views

“Windows” as a programming language?

I was going to give the green tick mark to the winning submission of this challenge, but I am unsure what to do. The shortest submission is this, which claims to use "Windows language", but I doubt ...
1
vote
1answer
116 views

Should stdout be ignored when the program is a function?

My understanding is that, when stdout is used for output, stderr is ignored. Similarly, it would seem that, when a function's return value is used for output, stdout and stderr should be ignored. ...
2
votes
1answer
137 views

PPCG equivalent to http://stackoverflow.com/jobs

Dyalog's APL team is looking to hire, and we are more interested in golfers than regular programmers, as the former are more likely to have the right mindset. Since codegolf.stackexchange.com/jobs ...
2
votes
2answers
134 views

How do we treat old answers in “languages” that aren't real languages?

This is a followup of this meta post about Wolfram|Alpha, but it is probably relevant for other "languages" as well. There seems to be a consensus that Wolfram|Alpha is not a programming language +19/-...
2
votes
1answer
232 views

Introducing FunKiller

I've invented a new language called FunKiller, which is designed to make radiation-hardening challenges trivial and boring. This is the JavaScript interpreter: ...
2
votes
1answer
121 views

Why is this answer considered non-competitive?

A few weeks ago I posted this answer on a challenge. Yesterday it was deleted because "it isn't a serious contender for the winning criteria" despite getting the second best score in the challenge. ...
1
vote
1answer
41 views

Should “Operations with lists” be broken up into individual challenges?

As it stands, Operations on lists is in a bit of a weird place. It could be considered a multi-part challenge with minimal interaction between the subchallenges, which aren't allowed, but is pointed ...
1
vote
1answer
121 views

Is it OK to delete old answers?

Since this is not a QA site as such, I don't think there's a whole lot of value in keeping old solutions around for future reference. And for new users to the site, it's a bit like discovering an ...
6
votes
3answers
220 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 ...
2
votes
3answers
192 views

Trailing Newlines, Spaces, Limited Precision and Language Limitations

I think we should gather a list of all languages that are, by default, allowed to to do things differently on challenges that do not explicitly disallow it. Every question I write it seems that ...
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 ...
18
votes
3answers
634 views

Should we disallow non-observable requirements?

One of the more recent things to avoid that's coming up a lot is the use of non-observable requirements. The most common incarnations of this are things like "no hardcoding", "implement this algorithm"...
2
votes
1answer
69 views

To what extent the answer is allowed to change the description in the challenge?

PS: Honestly I just proposed my first challenge on PPCG hours ago, so feel free to criticize me. I just had my very first challenge published here and I ran into a problem that some answers are based ...
1
vote
0answers
44 views

Are automata or state machines a valid choice of language? [duplicate]

I've noticed that some challenges could be solved using automata. For example, this challenge in closing XML tags could be solved using a pushdown automaton. Would such an answer be acceptable? If ...
1
vote
2answers
115 views

Bytecount for code solution

I know I'm probably on thin ice, but I tried an answer in the print "Hello, World!" challenge. I consider it to be 5 bytes total, but the user ais523 pointed out that I had to count the ...
5
votes
1answer
372 views

What if an interpreter update invalidates an existing answer?

I noticed earlier today that the Befunge interpreter on TIO no longer functioned in quite the same way as the old version (I guess this was caused by the nexus update). As a result, one of my old ...
15
votes
1answer
455 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 ...
16
votes
4answers
889 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 ...
20
votes
2answers
910 views

What additional information should be allowed in a submission?

Unlike traditional coding competition sites, submissions (answers) on PPCG are free form; the only hard requirement is that all submissions must contain the scoring header and the code that solves the ...
28
votes
2answers
1k views

Definite policy about duplicate answers

Every now and then, we get an answer flag the declares an answer a duplicate of another. So far, I haven't really acted on them – except for leaving a comment if the flagger hadn't done so already – ...
4
votes
1answer
317 views

Answers written in “joke” languages [duplicate]

As an answer to this question, I wrote an answer in the "programming language" 2014 (screenshot). The answer was deleted, accompanied with this note: I'm temporarily removing this post in ...
3
votes
2answers
77 views

Should challenges that give unfair advantages to certain users be off-topic?

Consider the following two challenges: This Sandboxed challenge gives an unfair advantage to users who have been around longer and contributed more towards collaborative golfing efforts. The original ...
1
vote
0answers
51 views

What's the Java policy with REPL existing? [duplicate]

An extension of When do I have to include things like Java's public static void main. Unless you've (probably) been living under a rock, you (probably) know that Java 9 is (probably) going to ...
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: ...
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 ...
28
votes
1answer
511 views

Is it OK to promote my own posts in chat?

Occasionally I see other users posting links to their own answers or challenges in The Nineteenth Byte. Is this OK? Can I promote my own posts as well?
20
votes
3answers
552 views

Are physical analogs of programming legitimate?

By physical analogs, I mean solutions written via objects in the physical world. Specifically, I am referring to a couple solutions to this challenge (including my own and a couple others). Should ...
14
votes
1answer
412 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
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 ...
3
votes
2answers
162 views

Is “assembled” golflang code acceptable? [duplicate]

Recently, I have been thinking about creating golflang assemblers. Like assemblers, they just substitute a mnemonic(or a word) with the actual symbol. Since many golflangs aren't much more ...
19
votes
1answer
229 views

May `dc` take negative input as it's designed to?

In the language dc, the - character is reserved strictly for subtraction, so it cannot be used to enter a negative number. An ...
3
votes
1answer
126 views

What are the guidelines for formulating a Cops and Robbers style challenge?

I've been slowly forming in my head a question for a Cops and Robbers style code challenge, and it occurred to me that I actually don't really know the general details of how they're set out... Is ...
1
vote
1answer
90 views

Necessity of Wrapping Solution into Method/Function

I've noticed that sometimes people using exotic languages like Brainfuck don't ever explicitly wrap a solution into a method/function. While sometimes I see solutions in Java and such where they are ...
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 ...
13
votes
1answer
688 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-...
7
votes
0answers
173 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 ...
-5
votes
2answers
246 views

Is Brainfuck considered a serious contender

Brainf*** is far from a terse language. A (partially) golfed solution may be 1000's of bytes long. Similar to JSF***, these submissions are often autogenerated and will require significant work to ...
0
votes
0answers
54 views

Is “Most Elegant” objective [duplicate]

This comes up in popularity contests all the time. Most elegant as a scoring criteria (or similar). Is a popularity contest objective in and of itself by saying that most votes wins? It is very ...
29
votes
1answer
1k views

How should Community Wikis be used?

Community Wikis (CWs) seem to be an often misunderstood feature on Stack Exchange in general. For instance, I'm often seeing them used to avoid gaining reputation when the author feels they don't ...
16
votes
1answer
954 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: ...
2
votes
1answer
116 views

Should administrative content hosted on external sites ever be binding?

Should PPCG rules or guidelines or other administrative content be considered "official" when it is not hosted on meta or main? (Note that "PPCG" refers to the entirety of the Programming Puzzles &...