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
479
votes
2872answers
258k views

Sandbox for Proposed Challenges

What is the Sandbox? This "Sandbox" is a place where Code Golf users can get feedback on prospective challenges they wish to post to the main page. This is useful because writing a clear and ...
2
votes
2answers
135 views

Is “A solution wins if there's no strictly better solution in multiple measures” a valid winning criterion?

To cite a recently sandboxed challenge by l4m2: Solution win if there's no strictly better solution, aka. no solution that take less or same amount of items in mapping table, less or same amount of ...
75
votes
50answers
12k views

List of bounties with no deadline

This is a list of unofficial, deadline-less (hence not searchable) bounties offered by users on various challenges on the main site. Disclaimer: There is no guarantee that the user will award the ...
31
votes
2answers
864 views

Golfing Class of a language

I feel like we may have enough data on this site to meaningfully break programming languages into classes. What I mean by classes is akin to Go's ranking system: If a player can win 90% of even ...
8
votes
0answers
156 views

Goodbye PPCG, everybody stay healthy!

I just wanted to say goodbye, I have very little time for code golf lately and I'm losing interest, I don't know if I'll come back soon (if at all). What follows is just my random thoughts in no ...
-2
votes
0answers
25 views

Leetcode124 variant, output the no-repeating path list when path sum is maximum [closed]

Introduction 124. Binary Tree Maximum Path Sum 's variant. But what difference is to output the non-repeating path list when the path sum is maximum. It is an interview code problem I have met before ...
11
votes
5answers
342 views

Why are some users so quick to jump on a bandwagon?

I've been lurking on this site long before I made my account, and I've seen many cases where people are downvoted simply because they post an answer in the same language as someone else and it happens ...
6
votes
3answers
260 views

Duplicate between the main site and a Sandbox entry

The community has encouraged users to post a proposed challenge to the Sandbox for a few days before posting to the main site, to get feedback in the interest of improving the question and and to iron ...
9
votes
1answer
187 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. ...
12
votes
22answers
437 views

When it is and is not acceptable to edit someone else's post

TL;DR: In what circumstances is it ok (by CGCC and politeness standards) to edit directly a post (be it challenge, answer, sandbox question, etc), assuming the edit is done in good faith? I know ...
96
votes
85answers
26k views

Default for Code Golf: Input/Output methods

It looks like we have a consensus that we want certain defaults for the format which answers are expected in for code-golf. On that poll, the question arose twice, which input/output formats should be ...
2
votes
1answer
94 views

Where do good questions go? [closed]

It seems now few questions show enough serious sense, and lots are just random requirements. Where do good ones go, are they dilutioned, deleted or just posted less?
2
votes
1answer
50 views

How to ask for a parser

Refer to this challenge in Sandbox. My major language is Haskell. In Haskell, a parser (type ReadS) is a function that inputs a ...
1
vote
0answers
97 views

How can hash be allowed in a input-testing challenge?

Immagine to have a group of elements \$G\$, and a challenge that requires to output truthy if the input is in \$G\$. I suppose that in traditional programming ...
1
vote
0answers
70 views

May, I ask a question about inputs that give a false positive for my Exact Cover Solution? [closed]

I've been hoping that people on StackExchange can give me ideas on how to come up with an input that would lead to a false positive. I do have a repl link So, may I continue to post my question? I ...
49
votes
35answers
3k views

Where to find an online testing environment for specific programming languages?

Here is my scenario. I pose a programming puzzle. It might be golf, or might be something else, but I don't specify the language. Some posts a answer that looks really good, but I don't have a ...
11
votes
10answers
218 views

Community Promotion Ads — 2020

2020 has come! But… oops, where did the time go? It’s already March! Belated as it is, it’s time for a refresh of Community Promotion Ads! What are Community Promotion Ads? Community Promotion Ads ...
17
votes
10answers
732 views

Community Promotion Ads — 2019 [duplicate]

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 ...
12
votes
16answers
427 views

Best of PPCG 2019 – Now Accepting Nominations!

You have chosen the categories for PPCG's "Best of 2019". We're going with 16 categories this year. Since all you amazing people have offered up a collective total of 16,000 rep in bounties, we can ...
0
votes
0answers
56 views

Is this REST API question way too practical for the site?

I recently had one of the senior developers on my team code up a simple REST API server and client, using SSL, basic authentication, and .NET Core. I was a little shocked to see how much code it took ...
18
votes
4answers
849 views

Do any of you golf for a living?

I'm just curious about whether any of you have a real-world use for your golfing skills. I'd also be interested to hear if you know of golf-related jobs even if you aren't involved in them, or if you ...
1
vote
3answers
95 views

Are we allowed to submit an answer which executes a shell command?

Many programming languages support a function which executes a shell command. C has system(), Python has os.system(), and there ...
3
votes
2answers
242 views

How should the length of a Commodore 64 BASIC program be measured?

Commodore 64 BASIC has abbreviated forms for most of its keywords, ranging from ? being short for PRINT (common across many ...
1
vote
0answers
54 views

How do I count C64 BASIC score? [duplicate]

So I recently posted 2 answers on C64 BASIC. I first counted it in characters, but after reading more about how the Commodore 64 works, I decided to start counting it in bytes. But there were ...
9
votes
0answers
123 views

CGCC Data Analysis #1: Tags

A few months ago I posted a few interesting bits of research on data from SEDE. It was fairly well-received, so I figured I'd do some more analysis. I might make this a weekly thing. I decided to ...
-3
votes
5answers
98 views

How do I get upvotes for my answers? [closed]

There seems to be a lot of implicit and undocumented tips for getting reputation here. Let's start with answers: how do I get upvotes for my answers? Feel free to post more tips here.
0
votes
0answers
84 views

Are Rubik's Cube fewest move type challenges allowed? [duplicate]

We have atomic-code-golf which lets us have challenges involving things other than byte count. So I wonder if Rubik's Cube fewest move challenge (FMC) type challenges are allowed. I see no objections ...
380
votes
47answers
176k views

Loopholes that are forbidden by default

There are a number of standard loopholes which experienced question-setters seek to explicitly close. However, inexperienced question-setters may unintentionally leave them open, or respondents may ...
28
votes
2answers
687 views

How does this site work?

Hello, I have spent time looking at the StackExchange sites and especially this has seemed quite interesting to me. But I would like you to explain how it works and what it is about. I know how to ...
6
votes
0answers
152 views

Any tips for running a low-maintenance KotH?

I'm working on a King of the Hill challenge for some point in the next couple of months. (Sneak Peek) The problem I have is that last time I ran one it was pretty ambitious, and it became a heavy ...
2
votes
1answer
69 views

Would randomness-based languages be allowed? [duplicate]

I've been thinking about creating a language where it's impossible to create a constant with a known value. Thus, it's impossible to guarantee a program will work 100% of the time (though you'd be ...
4
votes
1answer
194 views

How to deal with an accidental chameleon challenge

What happened I was about to post Does base n have any Rotate-Left-Double numbers?. Kevin Cruijssen told me in the sandbox comment that he got a proof that significantly simplifies the problem. I ...
2
votes
0answers
97 views

Why did I just get a 3 year old review?

I just did this low quality post review. However I noticed that this answer has had no activity for about 3 years. This is rather odd. The post certainly has not been sitting in the queue for the ...
35
votes
14answers
2k views

New users' guides to golfing rules in specific languages

What are the most important rules a first-time golfer in a given language should know? For instance, how do golfed programs usually take input and output? Each language should have a single CW answer ...
123
votes
15answers
7k views

How can we help users who are put off by the use of golfing languages?

Every other month someone expresses their (negative) feelings about golfing languages. Here is how this usually goes: they complain that they don't enjoy golfing in the languages they know because ...
22
votes
7answers
284 views

Challenge post-mortems

While to-be-posted challenges get feedback in the Sandbox (ideally), we don't usually reflect on challenges after they have run. And while issues and ambiguities in challenges do get pointed out, we ...
29
votes
8answers
4k views

Standard definitions of terms within specifications

Quite often I find that I am repeating myself when creating a challenge. For example, usually I have to retype the definition of "random" in all of my posts, or I have to specify the same thing about ...
10
votes
5answers
730 views

Ruleset for RGS's Golfing Showdown - competition is over!

RGS RGS stands for RGS's Golfing Showdown, a golfing competition. The competition has ended, final leaderboard at the end of this post! 1 - The format The RGS will be a virtual golfing competition ...
10
votes
2answers
318 views

Why are all the answers here being downvoted?

I noticed that most, if not all of the answers on Vowels up, consonants down are being downvoted. I raised a mod-flag but there's only one mod and I'm guessing they're already stressed with the load ...
6
votes
0answers
119 views

For fastest-code questions are new compiler optimisations as non-competing allowed?

I looked around and it seems that the language is defined by the compiler not operational semantics. In normal code golf new languages are banned because of the loophole of implementing the answer as ...
6
votes
2answers
244 views

Do golfing languages support arbitrary-length integers?

During a conversation in my proposed challenge in sandbox, there had been some objections about requirements in the challenge. I want to entirely ban a usage of floating-point numbers in the ...
19
votes
17answers
643 views

Best of PPCG 2019 — Call for Categories [duplicate]

Last year we voted for the best posts of 2018 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 ...
10
votes
2answers
234 views

On “golf this for me” tips questions

Sometimes we get tips questions from a first-time contributor asking for help golfing a particular piece of code that they wrote. Often these question don't fare so well. Can we do anything here? ...
3
votes
1answer
93 views

Is it acceptable to rerun an old coding challenge as a new thread?

I ran this challenge a year and a half ago. It was a good time, and I want to run it again, with some additional statistical analysis on my end and some tweaks to the rules to clean up the format a ...
9
votes
2answers
194 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 ...
3
votes
1answer
93 views

Why hasn't this question been reopened yet?

I asked this question, and it was closed because I did not clarify what I meant by the word "randomly". Now I've clarified it but it is not reopened. What is wrong with it now?
86
votes
5answers
2k views

Should we consider planning a move off StackExchange?

Should we consider planning to move Code Golf to our own site outside the Stack Exchange network? Reasons to consider leaving This post was spurred by recent events, but it's been in my mind for a ...
12
votes
2answers
255 views

Is it acceptable to ask for Github Pull Requests for a King of the Hill challenge?

Background: I ran into numerous issues when presenting and running this King of the Hill challenge back in October: Write a bot to play Grid Game - I'm cooking up a new, similar challenge, but taking ...
33
votes
8answers
884 views

What's the Future of CGCC?

As of recently, we've lost 3 of our 4 moderators. This means we only have 1 moderator left. Also, several people are expressing their concerns that things are dying around here. With the recent mess ...
18
votes
6answers
859 views

Things to consider when creating a challenge

There's a lot to remember to include when writing a challenge for this site. What are some things that are easy to forget? Return to FAQ index

1
2 3 4 5
36