Questions tagged [discussion]

The question you're asking is designed to solicit opinions or best-practices on a particular topic, with the goal of reaching community consensus.

Filter by
Sorted by
Tagged with
1
vote
2answers
49 views

Can I change the version of the language in my answer (Python 3 to 2), or do I post a new answer?

I wrote a Python 3 answer. I called it Python 3 in the title; however, it works equally well in Python 2. I discovered that I am able to remove several bytes from the answer, but only if I use Python ...
11
votes
2answers
322 views

What should this site be called now that it has a name?

This post says: This site is now "Code Golf & Coding Challenges" Indeed, this is what it says in our banner too: CODE GOLF & coding challenges But our tour page says: Welcome ...
1
vote
2answers
77 views

`sort` alias for Powershell

Source answer Intro Powershell introduced by Microsoft in 2006 for Windows OS. Since earlier versions, Powershell provides predefined aliases for commands. For example, alias ...
2
votes
1answer
59 views

Is it all right to edit challenge to recognize the winner?

I know that the best answer in a code golf challenge should be the accepted one. Is it a good idea to add a "final positions table" to the end of the post once a winner is found? Something like this: ...
2
votes
1answer
88 views

Does [code-golf] count in bytes or character length

In the code-golf challenges, does it count in bytes or character length. Because one character can 1 byte ranging from charcode 0 to 255, 2 bytes ranging from 0 to 65535, etc.
8
votes
1answer
159 views

Adding a link to Try It Online to existing answers

If I find an old answer whose code I verified works using, say, Try It Online, can I edit that answer and add the link?
107
votes
15answers
2k views

Congratulations! Your site design is now live!

You may have noticed that the site got a bit less blue today! Thank you so much for your input over the last few weeks. This has been a great process and I really hope you like your new theme. We ...
1
vote
1answer
87 views

Can a question be closed for being too complex (but not necessarily hard)?

This question is sort of a follow-up to this other one I found, which I found quite useful but not fully elaborating on what I wanted to know. So, my question is this: I am working on a KoTH puzzle ...
11
votes
1answer
92 views

Updating the [sequence] tag info: suggestions

The current tag info of the sequence is doesn't contain any additional information and I'd like to improve that. Currently it is almost exclusively used for integer sequences (many times from OEIS) ...
2
votes
1answer
152 views

Would this be on topic for this site?

Disprove that this code generate valid n^2 x n^2 Sudoku Grids I'm complete with my Sudoku Project and others have been skeptical that I can generate pre-filled valid Sudoku grids in poly-time. Now, ...
35
votes
13answers
1k views

Here's your site design preview!

Three great discussions and 6-8 weeks later, I'm here to introduce you to your new site design! Thank you to everyone who contributed ideas to the discussion -- there were many great points of ...
0
votes
1answer
183 views

Can we still ban built-ins for \$\pi\$?

I recently posed a challenge about computing a function of \$\pi\$. It was closed for being unclear and received a number of criticisms. One of the main ones I think was that banning built-ins for \$\...
5
votes
1answer
157 views

what did I do wrong and how can I improve

why did they put this challenge on hold? How could I have made it clearer? Benjamin has N boxes in his garden with dimension xiyizi each. Because he does not want to let them out and get wet, he ...
2
votes
1answer
88 views

Who wins code golf if there is a tie?

On my code golf challenge, there are two tie 24 Bytes answers. The first one (Excel) is great because of the creativity put into it and the second one (MATL) is just skill I think and each one should ...
25
votes
16answers
870 views

A subtitle for our site name

UPDATE: New site name chosen! This site is now "Code Golf & Coding Challenges" Thank you all so much for participating in this discussion! Following Catija's comment on the site name meta ...
0
votes
1answer
61 views

In bash, can I use non-coreutil programs

Since bash scripts (or any other Linux shell scripts) are accepted as a programming language, I wonder what (Linux) programs are accepted as callable from the command line. It seems that it is ...
4
votes
2answers
69 views

Is there support to approach 3rd parties to build a performance tool?

For code-golf questions, TIO has been a superb resource. However, for fastest-code challenges there is no equivalent tool available. I believe we could explore working with one or more 3rd parties ...
40
votes
13answers
2k views

What should this site be called now that it's getting a design?

UPDATE: New site name chosen! This site is now "Code Golf & Coding Challenges" Thank you all so much for participating in this discussion! As we're designing the site, we are considering the ...
0
votes
1answer
48 views

Not halt to prevent display from disappearing

According to Can Halting be considered output? and maybe some other links, programs should halt. However in some cases making program halt is easier(save the infinite loop in code-golf, etc.) but ...
1
vote
0answers
58 views

New PPCG Leaderboard Widget - Update 1.1 [duplicate]

You may have seen my previous post, in which I introduced a new leaderboard widget over the old system. Well, turns out there were a few major bugs with the program. I've gone through and fixed all of ...
19
votes
2answers
258 views

Introducing the New PPCG Leaderboard Widget!

Updates: Update 1.1: Released on April 26th, 2019 If you are just here to get the code for the widget, you can skip down to the bottom of this post. Hello! Over the past week, I have been working ...
2
votes
1answer
69 views

Which 'repeated substring' challenge should be closed?

Right now, there are two challenges, Newer challenge: Check if a string is entirely made of the same substring by ouflak Older challenge: String.prototype....
2
votes
1answer
95 views

How do we score colors in Desmos?

How would we score changing the colors of graphs in Desmos in [graphical-output] challenges with color-sensitive output? Currently, selecting the color in the menu costs no bytes as no characters are ...
2
votes
0answers
93 views

How can I encourage voting for non-golf languages?

I don't like golf languages, and I vote on solutions using them only if the solution has some extraordinary feature (like abusing a bug in the interpreter). How can I encourage people to vote this ...
3
votes
2answers
139 views

Are non-uniform random distributions allowed?

I posted a challenge that requires programs to generate a random number in a range, and one answer used the rgeom function from R. This function uses a geometric ...
64
votes
13answers
2k views

The PPCG Site design is on its way - help us make it awesome!

The long wait is almost over! You have been eminently patient while we've gotten other site designs finished and then completely redesigned the layout of the network. Now that all of that heavy ...
3
votes
1answer
103 views

Challenge (Solve subset sum quickly if P = NP) incorrectly closed as duplicate [duplicate]

My challenge Solve Subset-Sum in polynomial time (...if P = NP) was closed as a duplicate of Golf the Subset-Sum Problem. But the restricted-complexity aspect of my challenge makes it very different. ...
1
vote
0answers
42 views

Should I accept an answer? [duplicate]

I couldn't find anything related to this on meta, so here goes: I've noticed that we've decided that competitions should be within each language for a code-golf competition to avoid golfing languages ...
1
vote
1answer
50 views

Where timing between outputs matters, does the solution need to account for buffering?

In certain languages (i.e. C), writes to streams like stdout can be buffered by default - what this means is that when one calls functions like ...
0
votes
2answers
91 views

Can I see a list of removed questions?

I see the bottom of vote list good and some good questions removed cuz of low votes. Is there way to see the removed or I have to go through all possible question id?
10
votes
3answers
182 views

Do different ImageMagick tools count as their own languages?

Here is an answer that I made recently: https://codegolf.stackexchange.com/a/181416/70328 A commenter suggested that I could remove convert from my code, and use <...
1
vote
1answer
97 views

“Voidhawk's well-explained answer was the first one here in APL”?

The phrase "Voidhawk's well-explained answer was the first one here in APL" appears in 3 featured questions on PPCG with an active bounty. It seems out of place and I'm not sure what it means. Does ...
0
votes
0answers
34 views

Can we pass properties of the input as parameters? [duplicate]

Some challenges require, for instance, lists as input. A list has a property being its size. Several languages have builtins to get properties such as the size for a list (all golfing language, ...
1
vote
0answers
107 views

Scratch 2.0 is no longer considered a “free” language. Does this retroactively make cops-and-robbers cop answers in Scratch 2.0 non-competitive?

As per this question's answers, Scratch 2.0 is no longer considered a "free" language. As per this question's accepted answer, non-free languages are allowed if marked as non-competing. Scratch 2.0 ...
2
votes
1answer
78 views

Can I repost a challenge with different rules? [duplicate]

Recently, I posted a code-golf question about number sequences. However, as I was looking through the question later, I thought to myself, "Wouldn't this be good as a fastest-algorithm question?" It's ...
4
votes
0answers
83 views

Non-standard command line calls

Note this isn't about command line flags, which already have a consensus here. There was a recent PHP answer involving multiple PHP files. Normally, programs with multiple files are either using one ...
6
votes
3answers
194 views

Is a regex answer valid if it gives the reciprocal of the required output? [duplicate]

This answer gives the reciprocal of the required output, rather than the required output itself. In a simpler challenge this might cut out a significant part of the work, but for this particular ...
2
votes
1answer
109 views

Existance of known score but unknown exact code

Consider the following the challenge: Write a program that accomplishes X task while maximizing the number of distinct characters in your source code. Removing any set of characters from the ...
1
vote
1answer
89 views

What is the community stance on posting a codegolf question just to answer it yourself?

Assuming the question would be considered a good question by the community, what is the community stance on creating a question with the sole purpose of eventually supplying a golfed solution? To ...
4
votes
1answer
132 views

Are esolang design questions on topic?

Say I'm designing a new language for golf or some other esoteric purpose, and I'd like feedback on some design concepts. I feel posting this on SO, Programmers, CS, or pretty much any other site on SE ...
3
votes
0answers
68 views

Should “A Multipurpose Quine” be reopened?

A Multipurpose Quine This challenge was closed for the reason that it was unclear what the challenge was asking. The main reason was that the challenge required all outputted quines to not be ...
-1
votes
4answers
211 views

If there is “a winner for every language” in a code golf challenge, does competitiveness matter?

The consistent attitude with regard to the golf language situation is that for every challenge, each language is a category, and subsequently there is a 'winner' for each language. This is also a very ...
0
votes
0answers
121 views

How does the community work? [duplicate]

How does this Programming Puzzles & Code Golf work? Just curious because I don't really know what this is and I want to fined out...
19
votes
16answers
505 views

Best of PPCG 2018 — Call for Categories [duplicate]

Last year we voted for the best posts of 2017 and rewarded them with bounties and challenges. I think it's a great way to reward and draw attention to some of the best content the community has ...
14
votes
11answers
486 views

Community Promotion Ads — 2019

2019 is here! And with the new year, as usual, comes a new iteration of Community Promotion Ads! Let’s refresh these for the coming year :) What are Community Promotion Ads? Community Promotion Ads ...
-6
votes
1answer
202 views

You have reached your question limit

What? Have a question similar to Home on the Range of Lists. Why cannot this user ask the question? Does that mean that even if the question is posted at Sandbox and well-received that the question ...
12
votes
0answers
224 views

2018: a year in moderation

It's New Year's Day in Stack Exchange land... A distinguishing characteristic of these sites is how they are moderated: We designed the Stack Exchange network engine to be mostly self-regulating, ...
-7
votes
1answer
81 views

Change the use of the “Game” tag?

I was scrolling through the posts tagged with "Game" and noticed that it involved quite a few code golf competitions. Just for the sake of clarity and ease while searching, I believe that the ...
4
votes
1answer
252 views

Does linter golf require a specific interpreter to be a valid answer for golf?

If someone answers a code-golf challenge in, for example, JavaScript, and as an additional challenge restricts to only code that is approved by http://www.jslint.com/ that answer is valid if an ...
0
votes
2answers
196 views

If we find a programming language in the Library of Babel, can we use it?

The Library of Babel is a huge library with many books. For example, the book titled ",fkwpival.vbfz" defines code golf on page 29 code golf is a type of recreational computer programming ...