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
22
votes
1answer
2k views

What does “taking no input” mean for a program?

Fixed output challenges usually state that the program "must take no input". I usually interpret this as "The standard input is empty", but after thinking about this, there are actually several valid ...
20
votes
4answers
617 views

Are control characters and ANSI escape codes allowed in output?

Recently, I had people go crazy with escape codes on one of my ASCII art challenges. This x86 machine code answer was able to save some bytes by throwing a few colour codes at the console. At some ...
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 ...
13
votes
4answers
403 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 ...
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 ...
29
votes
1answer
978 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 ...
28
votes
1answer
504 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?
18
votes
1answer
361 views

Is an answer allowed to use undefined, but consistent behaviour?

A lot of languages have behaviour that is not defined in the official spec, or might lack a spec in the first place. If the behaviour is consistent and even well known, can such behaviour be used ...
15
votes
7answers
773 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 ...
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 ...
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 ...
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 ...
23
votes
3answers
945 views

On scoring builtin functions

Suppose there's a challenge which can be solved completely by a builtin function, and functions are allowed. Note that as of writing the standard loophole for builtins is heavily disputed, but let's ...
21
votes
1answer
963 views

Are languages like sed exempt from “no input” rules?

Some types of challenges require submission that produce constant output and, as such, forbid the solutions from taking input of any kind. That presents a problem for languages like sed, which ...
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 ...
20
votes
3answers
547 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 ...
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 ...
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
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 ...
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 ...
3
votes
1answer
210 views

Are “one line” problems distinct from code golf, and if so what rules apply?

How to write a single-line password generator asks for a solution in "one line". It seems to me that this is potentially a different class of challenge from code-golf, and for the nonce I've tagged ...
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
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 ...
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 ...
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
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 (...
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
4answers
805 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
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: ...
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 ...
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
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 ...
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
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 ...
5
votes
1answer
368 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 ...
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 ...
4
votes
1answer
334 views

How do we count compiler/interpreter flags? [duplicate]

It's accepted practice to include non-standard compiler or interpreter flags in a program's byte count (most often used with Perl and Ruby, to run the program in an implicit I/O loop - but there are ...
3
votes
2answers
230 views

Is using external decompression legitimate golfing?

The 12 Days of Christmas Lyrics challenge has several solutions of the form "Use an external decompression utility on this file to create a solution.language file, then execute the decompressed file." ...
2
votes
3answers
480 views

FAQ update ideas

I'm trying to solicit ideas on a couple of items where I think a FAQ update is appropriate: Amend FAQ to state that language-agnostic is the default Is using external decompression legitimate golfing ...
2
votes
2answers
146 views

What's our policy on tags?

There are a lot of questions now that could be tagged: "sudoku", "sorting", "maze" etc. Should we tag them? What is the current policy on tagging? Tag everything that appears thrice or more? Tag at-...
-9
votes
3answers
200 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 ...
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 ...
24
votes
3answers
619 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 ...
14
votes
1answer
394 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'...
13
votes
1answer
419 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
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 ...
4
votes
1answer
269 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 ...
24
votes
2answers
459 views

Is it permitted for a submission to terminate merely with probability 1?

The question is in the title. I'm interested in submissions that terminate with probability 1 but have unbounded worst case running times. This is related to the question Do programs have to ...
13
votes
2answers
461 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 ...
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 ...