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
1answer
119 views

Code golf involving GPS?

I planned to ask a code golf involving GPS: What's the current zodiac? Objective: Display the emoji of the zodiac of current time, according to your location. Rules: 1. There's no input....
11
votes
3answers
294 views

When can challenges be reused? If never, then why can't I answer?

According to this meta post we can never recreate old challenges. Of course not, its a duplicate. Makes sense to me. No problems. Except this challenge can no longer be answered with a language newer ...
85
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 ...
233
votes
2answers
8k views

I'm stepping down

It's been an honor to serve as your moderator for the past four years. I would like to continue to do so, but after witnessing how Stack Exchange treats their volunteers, I decided that I'm no longer ...
12
votes
2answers
225 views

Acceptable answer for a code golf

The Code Golf stackexchange tour gives a detailed explanation on, how to ask a Code Golf question. But what about how to answer? I have multiple questions about: How to give an answer?. Neither the ...
16
votes
1answer
369 views

Questions that ask for artifacts or witnesses

(Sorry this is long. I tried to gather many examples, and honestly I would have liked to include more.) Background The code-challenge tag captures many different kinds of creative challenges that ...
11
votes
1answer
286 views

What should I do with this question?

I recently posted this challenge on codegolf. The idea was simple : reproduce an hexagonal logo, graphically or in ASCII art. At first i thought it would be good enouth to be interessing, but the lack ...
0
votes
1answer
124 views

Graphical-output - trivial solutions [closed]

I found question where author ask about reproduce logo (reproduction do not need to be identical). In one of answer we see solution with low resolution logo picture made by hand This solution indeed ...
3
votes
0answers
69 views

What's a number? [duplicate]

Similar to What's a string? If a challenge says that the input will be “a number”, what data types are acceptable? Obviously, types like int and ...
29
votes
0answers
254 views

Sandbox instructions for new users

We now have a nifty new info-box to point new users to the Sandbox. Hooray! But when a new user does go to the Sandbox for the first time, the instructions there don't give them much to work from to ...
15
votes
4answers
400 views

Should we close old KoTH challenges as off-topic?

Recently, a number of old king-of-the-hill challenges have popped up in the Close Votes review queue, with users voting to close them as off-topic as their deadline for submissions has passed. ...
1
vote
2answers
119 views

Please explain why this page was not sensibly migrated to Meta

I am new to codegolf, but not new to the Stack Exchange Network, so I am puzzled (pun intended). I recently joined this community and immediately searched for tips about how to post good php answers ...
-2
votes
1answer
100 views

Self promotion in submissions?

The self promotion problem. It has been solved in the chat (making a boundary between irritating self promotion and honest hope), but have we gotten to consensus about submissions? I've posted a ...
1
vote
2answers
123 views

Ethics of Golfing in Assembly or other extremely uncommon languages

My understanding of code-golf in general is that you're to provide the shortest solution in a given language. However, for most challenges, you could safely pick a language no one really is familiar ...
23
votes
5answers
396 views

An info box to point new users to The Sandbox

So along with site graduation, one new option we have is an info box on the sidebar. For example, you can see what these look like on Law or Judaism Stack Exchange (directly above the "featured on ...
8
votes
3answers
242 views

What to do with a challenge that is a dupe of a sandboxed one?

Currently it seems it is not so clear what happens if person B posts a challenge that is a duplicate of another challenge person A had already sandboxed. While any user contributions on SE are ...
14
votes
1answer
296 views

Using **kwargs in Python

I am not sure if this question has been asked before, but I was unable to find the answer. My question focuses primarily on Python, but it might be applicable to other languages too. Consider the ...
5
votes
2answers
150 views

Why are there still a lot of issues for a Sandboxed post Sandboxed for a long time?

When I posted this to the Sandbox, I have waited for 21 days before I posted the challenge to main. However, there are still a lot of issues in that post, and someone had found a duplicate. Why are ...
7
votes
1answer
156 views

Would this bit-fiddling question be on topic?

I have a non-challenge, bitwise-gymnastics question that I am looking for a home for. Would this be on topic here? Per some requirements, I am trying to pack three data points into 16-bits for the ...
1
vote
1answer
79 views

How should we handle random number generation in languages without it built in? [duplicate]

A number of programming languages have no built-in way to generate random numbers. How are we able to include these languages in a challenge requiring random output?
11
votes
0answers
186 views

May I return more results than specified?

I'm golfing in Lua, which does support such thing as multiple return values like this: ...
8
votes
1answer
259 views

Existing answers in KoTH invalidated by teaming; should it be allowed?

I posted this challenge about a week ago, and it has since become fairly popular with nearly 40 answers. In the chatroom, a user asked whether teaming was allowed. I said it was, if someone could ...
14
votes
1answer
314 views

Closing a more general challenge as a duplicate

Recently there has been a bit of debate as to whether this question is a duplicate of this question. So I though I would bring it to meta where we can have a constructive conversation, not only about ...
2
votes
2answers
69 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
375 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 ...
2
votes
2answers
88 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 ...
3
votes
1answer
66 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: ...
3
votes
1answer
109 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.
9
votes
1answer
168 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?
106
votes
14answers
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 ...
2
votes
1answer
98 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 ...
12
votes
1answer
106 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) ...
3
votes
1answer
174 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, ...
36
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 ...
-1
votes
1answer
198 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 \$\...
6
votes
1answer
171 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 ...
3
votes
1answer
101 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 ...
26
votes
16answers
885 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 ...
1
vote
1answer
73 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 ...
5
votes
2answers
73 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 ...
41
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 ...
-1
votes
1answer
51 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 ...
0
votes
0answers
63 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 ...
20
votes
2answers
297 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 ...
3
votes
1answer
78 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....
3
votes
1answer
114 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 ...
3
votes
1answer
186 views

How can I encourage voting for non-golf languages? [duplicate]

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 ...
4
votes
2answers
154 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 ...
4
votes
1answer
110 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
2
3 4 5
35